This page provides information and photos to aid in the construction of the Pinewood Derby Car Scale. The focus for this page is on the hardware and circuits. Refer to the Software page for details on how to load the scale sketch (software) onto the microcontroller.
The following subjects are covered on this page:
The table below list the components required to build the car scale. Refer to the schematic for the layout of the circuit. Where applicable, the ID in the table below corresponds to the component designations shown on the schematics.
The following components are needed to build the scale circuit.
Microcontrollers are defined by a variety of parameters: architecture, voltage, CPU speed, number of IO, communication protocols, memory, etc. Since it would be impossible to implement the scale with every microcontroller available, only the following microcontrollers will be supported (answer questions, provide schematics, offer PCBs, etc.):
- Teensy 4.0
- Arduino Due
NOTE: At this time there are no plans to expand this list.
Displays are defined by a variety of parameters: size, controller, resolution, voltage, communication protocol and they require a specific library for each microcontroller based on the controller and communication protocol. Since it's not practical to support the enormous number of possible combinations only the following displays will be supported (answer questions, supported in sketch, etc.):
- PJRC 2.8" color 320x240 TFT (ILI9341) display
Although optional, the scale PCB simplifies the construction of the car scale by providing mounting and wiring points for the various components including the microcontroller, the three load cell amplifiers and the TFT display. This allows the larger components to be mounted directly against the PCB reducing the overall size of the scale electronics. Most of the instructions below refer to the use of the PCB - if this is not the case for your build simply refer to the schematic for the appropriate connections between each component.
PCB Color and Orientation
The color of the PCB may vary from the pictures on this page. The instructions below refer to the top and bottom of the PCB, here is how to tell which side is the top and which is the bottom:
- TOP - mostly blank, has labels for the TFT display, function switches, and three resistors.
- BOTTOM - numerous labels, has copyright and website information.
Components with Headers
Standard 0.1" (2.54 mm) male headers are used to mount the microcontroller, TFT display and three load cell amplifiers to the scale PCB. If needed, the header strips can be cut to length using a utility knife or wire cutters. Two 14-pin headers are needed for the microcontroller and three 5-pin headers are needed for the load cell amplifiers. The TFT display comes with a 14-pin header already attached.
Typically, the header is soldered to the component and then the component (with header attached) is soldered to the PCB. When mounted correctly the header 'body' (usually black but can be other colors) is sandwiched between the component and the PCB as shown in the picture below.
Microcontroller and Load Cell Amplifiers
The picture below shows the microcontroller and load cell amplifiers mounted on the bottom of the scale PCB. Note the orientation of each component in relation to the scale PCB.
The amps have connections on both ends, make sure the end with the Vcc and Gnd connections are attached to the PCB. Some amps only have one voltage connection and thus only 4 pins on the end connected to the PCB. In this case make sure to use the 4 left-most mounting holes on the PCB (the Gnd pin on the amp would go all the way to the left on the PCB connection).
The microcontroller (Teensy 4.0) has 5 pin holes on the end of its board (opposite of the USB connector), a header does not need to be added on that end.
Power Jack, Switch and Resistors
The DC power jack and 100 Ohm display resistor are mounted in the designated locations on the bottom of the scale PCB as shown in the picture below. If a power switch is desired - when putting the scale in an enclosure, for example - it can be wired to the Switch connections on the bottom of PCB near the DC power jack. If a power switch will NOT be used simply jump the Switch connecters together with a short piece of wire.
The three 10K Ohm resistors are mounted in the designated locations on the top of the scale PCB as shown in the picture below.
The function switches are mounted in the designated location on the top of the scale PCB as shown in the picture below. Note that the PCB may vary from the one shown in the picture - mount a switch in the "Units" and "Tare" position on the PCB that you have.
The TFT display is mounted on the top of scale PCB utilizing the preinstalled 14-pin header. The display will not sit square on the scale PCB because of the SD card receptacle on the back of the display. Because of this use four 5mm board spacers to support the display as shown in the first picture below. The spacers will raise the display so that the 14-pin header does not touch the scale PCB - see the second picture - this is normal.BACK TO TOP
The load cells come with 4 wires pre-attached. These wires will be used to connect the load cells to the amplifiers as shown in the picture below. The wires are thin and somewhat fragile so take care when stripping them and soldering them to the amplifier. Match each colored wire to the corresponding labeled connection on the amplifier - note there is no yellow wire to connect.
COMING SOON! Details and plans for building an enclosure for the car scale.BACK TO TOP
Created: 1 Nov 2020Last updated: 8 Apr 2021