Article
Lighting and Gearbox Control
for remote-control model lorries
The circuit described here uses a PIC microcontroller to take over the complete control of the lighting and gearbox in a model lorry. It can also be used with a fork-lift truck, excavator or similar type of vehicle.The problem with these kinds of remotely controlled vehicles is that they have a large number of functions, which normally means that an expensive remote-control unit must be used. The project presented here consists of a small printed circuit board, featuring a microcontroller from the popular Microchip PIC family, which looks after the extended functions. This involves a combination of automatic function control and the decoding of supplementary functions.
Materials
Gerber file
CAM/CAD data for the PCB referred to in this article is available as a Gerber file. Elektor GREEN and GOLD members can exclusively download these files for free as part of their membership. Gerber files allow a PCB to be produced on an appropriate device available locally, or through an online PCB manufacturing service.
Elektor recommends the Elektor PCB Service service from its business partner Eurocircuits or AISLER as the best services for its own prototypes and volume production.
The use of our Gerber files is provided under a modified Creative Commons license. Creative Commons offers authors, scientists, educators and other creatives the freedom to handle their copyright in a more free way without losing their ownership.
PCB
Component list
Resistors:
R1-R9,R20,R34,R35 = 2kOhm 2
R10,R12,R21,R32,R33 = 100Ohm
R11,R13-R19,R22 = 10kOhm
R23-R31 = 1kOhm 2
P1 = 10-turn preset, horizontal mounting
Capacitors:
C1,C2 = 22pF
C3,C5 = 100nF
C4 = 10µ F 16V radial
Semiconductors:
D1-D9,D11,D12 = LED, 3mm, red, high efficiency (low current)
D10 = LED, 3mm, green, high efficiency (low current)
T1-T9 = BC817
IC1 = 4051 SMD
IC2 = PIC16C57, programmed, order code 010204-41
Miscellaneous:
JP1 = 2-way pinheader with jumper
K2,K4-K7,K9,K11 = servo connection cable
K1,K3,K8,K10 = 3-way pinheader
K12,K13,K14 = 5-way pinheader
X1 = 16MHz quartz crystal
PCB, order code 010204-1
Disk, project source code files, order code 010204-11
R1-R9,R20,R34,R35 = 2kOhm 2
R10,R12,R21,R32,R33 = 100Ohm
R11,R13-R19,R22 = 10kOhm
R23-R31 = 1kOhm 2
P1 = 10-turn preset, horizontal mounting
Capacitors:
C1,C2 = 22pF
C3,C5 = 100nF
C4 = 10µ F 16V radial
Semiconductors:
D1-D9,D11,D12 = LED, 3mm, red, high efficiency (low current)
D10 = LED, 3mm, green, high efficiency (low current)
T1-T9 = BC817
IC1 = 4051 SMD
IC2 = PIC16C57, programmed, order code 010204-41
Miscellaneous:
JP1 = 2-way pinheader with jumper
K2,K4-K7,K9,K11 = servo connection cable
K1,K3,K8,K10 = 3-way pinheader
K12,K13,K14 = 5-way pinheader
X1 = 16MHz quartz crystal
PCB, order code 010204-1
Disk, project source code files, order code 010204-11
Discussion (0 comments)