Skip to the content
4 layers54.1 × 43.7 mmProgrammer, the printed circuit board in 3D

Table of contents: 1. Design Overview 2. Software 3. Electrical 4. Bill of Materials ## Design Overview The three main components in building this car are the software, electrical, and the mechanical aspect of the car…

Size
54.1 × 43.7 mm
Copper layers
4
Thickness
1.6 mm
Parts
18
Nets
23
Pads
62
Tracks, vias
35, 0
Pours
2
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
28 Apr 2025
Updated
5 Jan 2026

Overview

Programmer is an open-source printed circuit board by finnhittson, from the finnhittson/RC-Car-Build-Workshop repository on GitHub. It is a 4-layer board of 54.1 × 43.7 mm with 18 parts on 23 nets, routed with 35 tracks and 0 vias.

It is built around the 214-3339-00-0602J. Its parts include 5 resistors, 2 capacitors, 2 diodes, 2 connectors and 1 IC. It belongs with the interfaces and adapters boards of this library.

Main components

1

README

README.md

9V Battery Power RC Car

This repo documents how to make an RC car and transmitter using 3D printted parts, a PIC16LF18325 microcontroller, nRF24L01 RF modules, a 9V battery to power the car and the transmitter, and other basic hardware components.

RC_Car

Table of contents:

  1. Design Overview
  2. Software
  3. Electrical
  4. Bill of Materials

Design Overview

The three main components in building this car are the software, electrical, and the mechanical aspect of the car and controller. The following sections talks about each of these parts in detail.

Software

Using the PIC16LF18326 as the microcontroller, the driver code was written exclusively in C. The driver code was programmed onto the PIC16 using the MPLAB SNAP and the MPLABX IDE. The software components are broken into the following three files:

  1. main.c: runs main finite state machine responsible for executing high level transmitter/receiver instructions for controlling motors and servos for the receiver and reading analog control inputs for the trasmitter.
  2. spi.c: helper SPI functions for transmitting and receiving messages to and from the nRF24L01 radio module.
  3. nRF24L01.c: helper functions for configuring the nRF24L01 radio module using the spi.c functons.

Because this project is intended to be a workshop only one version of code or main.c file is written for simplicity. Therefore, for the main.c to differentiate between running transmitter code and receiver, a GPIO pin on the micro is dedicated for this indication. The pin under questions is RA5 (pin 2) from the tables below which descripe the pinout for the PIC16 in both the receiver and transmitter. If RA5 is pulled high, then the main.c executes transmitter code only. Similarly if RA5 is pulled low, then the main.c only executes receiver code.

Transmitter Pin DescriptionReceiver Pin Description
Pin NumberPortNet NameNotesPin NumberPortNet NameNotes
1$V_{DD}$3.3Vpower supply1$V_{DD}$3.3Vpower supply
2RA53.3Vtype select2RA5GNDtype select
3RA4CSNSPI bus3RA4CSNSPI bus
4RA3MCLRprogram/NC4RA3MCLRprogram/NC
5RC5MOSISPI bus5RC5CEradio enable
6RC4SPEEDpot input6RC4PWM5.1motor PWM
7RC3STEERpot input7RC3PWM6servo PWM
8RC2IRQradio interrupt8RC2PWM5motor PWM
9RC1MISOSPI bus9RC1MISOSPI bus
10RC0SCKSPI bus10RC0SCKSPI bus
11RA2CEradio enable11RA2MOSISPI bus
12RA1STEER_TRIMpot input12RA1IRQradio interrupt
13RA0LEDstatus13RA0LIGHTSstatus
14$V_{SS}$GNDpower supply14$V_{SS}$GNDpower supply

The following image shows the state machine executed on the transmitter PIC16. When the PIC16 detects its a transmitter then it starts the state machine with the inital state of COLLECT_ADC_DATA. In the COLLECT_ADC_DATA state, the PIC16 cycles through the three ADC ports to collect their value. Once complete, it transitions to the TRANSMIT_ADC_DATA state where it packages up this information into a packet and sents this information over the SPI bus to the nRF24L01 radio module. Once this is complete it then transitions to the CLEAR_INTERRUPT state. In this state the PIC16 is waiting for the interrupt line to go low which indicates a successful transmission to the receiver. From here the state machine then transitions to a DONE state where the hardware to read the analog pins is reinitialized and the process repeates itself after DONE transitions to COLLECT_ADC_DATA.

Transmit_state_machine

The transmission packet is 8 bytes long and has the following breakdown.

  1. Byte 1 is the radio ID and is chosen by the user as an extra indentification method so that in the instance when the radio receives a packet from another RC car on the same channel, it will only execute the instructions if the packet come from a transmitter with the same ID.
  2. Byte 2 is the high byte of the ADC conversion value for RC4. The PIC16 has a 10 bit ADC so it takes two bytes to store its value. It stores the eight LSB of the conversion in the first byte and the remaining two bits in the first two bits of the second byte.
  3. Byte 3 is the low byte of the ADC conversion value for RC4.
  4. Byte 4 is the high byte of the ADC conversion value for RC3.
  5. Byte 5 is the low byte of the ADC conversion value for RC3.
  6. Byte 6 is the high byte of the ADC conversion value for RA1.
  7. Byte 7 is the low byte of the ADC conversion value for RA2.
  8. Byte 8 is a checksum of all the bytes transmitted. The checksum is computed by summing all the bytes and subtracting the result from 0xFF. The result is transmitted and the receiver checks the checksum by summing every byte of the packet and if the result is 0xFF then no bits were corrupted or lost.

Packet_structure

When the PIC16 detects is a receiver it starts the state machine in the READ_RX. In this state it waits until the interrupt line from the nRF24L01 radio module goes low which indicates that a packet has been received. From here it transitions to the UPDATE_CONTROLS state. In this state the PIC16 collects the packet from the nRF24L01 radio module, unpacks it, and updates the PWM signals for the servo and motor. Once complete it transitions back to the READ_RX state where it waits until the next packet is ready.

Receive_state_diagram

Electrical

The receiver schematic is shown below. For the receiver, the PIC16LF18325 communicates with the nRF24L01 radio module through a SPI bus for receiving commands that are then decoded into a PWM signals for motor and servo control. The PIC16 also controls the motors and servo respectivly and was chosen for its small size, GPIO pin count, and packaging style. The L9110 h-bridge controls the motor and is a very basic h-bridge for driving small motors which make it perfect for this application. The LM2937 linear voltage regulator creates the 3.3V supply for the PIC16, nRF24L01 radio module, lights, and servo power. The lights part of the schematic act as the headlights of the car and are controlled by the PIC16 toggeling the 2N7000 mosfets. Receiver_schematic

The transmitter schematic is shown below. In this instance the PIC16 commuicates with the nRF24L01 radio module to send commands for the receiver. The PIC16 also controls the status LED which indicates power and pairing status. The two modes of control are the two potentiometers which act as the cars accelerator and steering control. There is also one trim pot for the driver to tune the front steering axel so that the car does not drift left or right when driving straight.

Transmitter_schematic

Mechanical

Bill of Materials

Transmitter Bill of Materials
ComponentQuantitySourcePart Number
9V battery1DigiKey547-A1604BK210J-ND
0.1uF2DigiKeyBC1084TR-ND
220uF1DigiKey399-6122-ND
10uF1DigiKey399-15738-ND
LED2DigiKey732-5016-ND
2N70001DigiKey4878-2N7000CT-ND
4702DigiKeyCF14JT470RTR-ND
10k2DigiKeyCF14JT10K0TR-ND
5k Control Pot2DigiKey2223-PT01-D115D-B502-ND
5k Trim Pot1DigiKey3386P-103LF-ND
Power Switch1DigiKeyEG1903-ND
PIC16LF183261DigiKeyPIC16LF18326-I/P-ND
nRF24L01 Radio Module1AliExpressnRF24L01
LM29371DigiKeyLM2937ET-3.3/NOPB-ND
Receiver Bill of Materials
ComponentQuantitySourcePart Number
9V battery connector1DigiKey547-A1604BK210J-ND
0.1uF2DigiKeyBC1084TR-ND
220uF1DigiKey399-6122-ND
10uF1DigiKey399-15738-ND
LED2DigiKey732-5016-ND
9g Servo2DigiKey732-5016-ND
2N70001DigiKey4878-2N7000CT-ND
4702DigiKeyCF14JT470RTR-ND
10k2DigiKeyCF14JT10K0TR-ND
Power Switch1DigiKeyEG1903-ND
PIC16LF183261DigiKeyPIC16LF18326-I/P-ND
nRF24L01 Radio Module1AliExpressnRF24L01
LM29371DigiKeyLM2937ET-3.3/NOPB-ND
L9110H1DigiKey1528-4489-ND

Parts

18
QtyValueFootprintReferences
310kResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR3, R4, R5
3MountingHole_PadMountingHole:MountingHole_2.5mm_Pad_TopBottomH1, H2, H3
2470Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR1, R2
2LEDLED_THT:LED_D5.0mmD1, D2
10.1uCapacitor_THT:CP_Radial_D5.0mm_P2.50mmC1
110uCapacitor_THT:CP_Radial_D5.0mm_P2.50mmC2
1214-3339-00-0602Jprogrammer footprints:3M_214-3339-00-0602JX1
12N7000Package_TO_SOT_THT:TO-92_Inline_WideQ1
1Barrel_JackConnector_BarrelJack:BarrelJack_HorizontalJ2
1Conn_01x03_PinConnector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_VerticalJ1
1LM2937xTPackage_TO_SOT_THT:TO-220-3_Horizontal_TabDownU1
1MPLAB_SnapConnector_PinSocket_2.54mm:PinSocket_1x08_P2.54mm_VerticalPRG1

More from finnhittson/RC-Car-Build-Workshop

2
  • 4 layers30.6 × 67.9 mmReceiver, the printed circuit board in 3D

    Receiver

    finnhittson/RC-Car-Build-Workshop

    Table of contents: 1. Design Overview 2. Software 3. Electrical 4. Bill of Materials ## Design Overview The three main components in building this car are the software, electrical, and the mechanical aspect of the car…

    46 parts
  • 4 layers38 × 72.6 mmTransmitter, the printed circuit board in 3D

    Transmitter

    finnhittson/RC-Car-Build-Workshop

    Table of contents: 1. Design Overview 2. Software 3. Electrical 4. Bill of Materials ## Design Overview The three main components in building this car are the software, electrical, and the mechanical aspect of the car…

    30 parts

Similar boards

  • 4 layers18.6 × 34.4 mmNfc sense ntag BME, the printed circuit board in 3D

    Nfc sense ntag BME

    unsurv/NFC_temp

    passive temperature NFC tag

    18 parts49
  • 4 layers42.4 × 40.8 mmView screen, the printed circuit board in 3D

    View screen

    SeedLabs-it/smartknob-hardware

    PCB and CAD files for smartknob devkit

    18 parts47
  • 4 layers97.8 × 22.2 mmGvpsimm, the printed circuit board in 3D

    Gvpsimm

    schlae/gvpsimm

    GVP-Compatible 64-pin 4MB SIMM

    18 parts31CERN-OHL-P-2.0
  • 4 layers100 × 60 mmPicocart64 v1, the printed circuit board in 3D

    Picocart64 v1

    khill25/Dreamdrive

    Open source Retro Rom Carts and ODEs by Dreamcraft Industries

    18 parts26
  • 4 layers76 × 31 mmVm006-mixbus, the printed circuit board in 3D

    Vm006-mixbus

    mirdej/vmix

    Multichannel modular analog PAL video mixer based on the SYNKIE project

    18 parts21
  • 4 layers85 × 56 mmProbe shield, the printed circuit board in 3D

    Probe shield

    probe-rs/hive

    A Raspberry PI shield for testing probe-rs against many chips & probes.

    18 parts15

Questions

How big is the Programmer PCB?

It measures 54.1 × 43.7 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Programmer use?

18 parts, built around the 214-3339-00-0602J. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Programmer KiCad files?

From the finnhittson/RC-Car-Build-Workshop repository on GitHub, at the commit this page was made from: the board is schematics/programmer/programmer.kicad_pcb and its schematic schematics/programmer/programmer.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Programmer design in my own project?

Its repository states no licence, so its author keeps all rights: ask finnhittson before reusing the design.