Giter Club home page Giter Club logo

rc-light-controller's Introduction

Light controller for Radio Controlled cars

The objective is to achieve realistic lighting of RC model cars using a standard 3-channel radio control system.

The following functions have been implemented:

  • Parking, Low-beam, High-beam etc can be switched on/off manually using the AUX (CH3) channel

  • Brake and Reversing lights are automatically controlled by monitoring the throttle channel. Brake lights automatically turn on for a short, random time when the throttle goes to neutral.

  • It is possible to have combined tail and brake light function using a single LED through controlling the brightness of the LED.

  • Indicators only come on when you want to. You have to stay in neutral for one seconds, then hold the steering left/right for one second before they engage. This way normal driving does not trigger the indicators.

  • Flashing hazard lights can be switched on/off using AUX/CH3

  • Programmable servo output designed to drive a steering wheel or a figures head, or a 2-speed, 3-speed gearbox

  • Automatic centre and end-point adjustment for all channels

  • 16 LEDs can be driven by one light controller. Two controllers can be daisy-chained for a maximum of 32 LEDs (master-slave system).

A detailed introduction and videos can be found at our blog:

You may also want to read the users guide for a "generic" firmware that suits many vehicles.

Hardware

Firmware and schematics in Eagle format for the different variants are included in this project, please consult the sub-folders of the respective variant.

Through the time the light controller went through several iterations. A detailed pro- and con- description of each variant can be found in the hardware overview document.

Below is a brief overview of the current light controller variants:

MK4 TLC5940 LPC812

MK4 light controller in various state of assembly

The MK4 variant can drive 16 LEDs with a constant current. It utilises an inexpensive NXP ARM Cortex-M0 32-bit microcontroller. The main advantage of this new design is that it can be fully configured through a web-based user interface. Firmware and configuration can be downloaded with a standard USB-to-serial converter, no proprietary tools required.

MK3 WS2812 PIC12F1840

The MK3 light controller on the left (MK3 on the left, MK2 on the right)

This variant drives the popular shift-register programmable LEDs WS2812 are used, requiring only an inexpensive PIC12F1840 microcontroller to drive. Very quick to build the hardware; supports colored lights; but mounting and wiring the LEDs may be tricky.

MK2 TLC5940 PIC16F1825

Light controller on prototyping board and PCB

The PIC16F1825 variant uses the TI TLC5940 LED driver and a a PIC16F1825 microcontroller. This system has been deployed in more than 20 vehicles and can be considered very robust. It has also been built by several fellow RC enthusiasts all over the world on simple prototyping boards.

MK1 TLC5916 PIC628a

The first light controller we ever built

The project also includes information on the original design using a PIC16F628A and TLC5916. I do not recommend this design for new projects as the components are outdated, functionality is limited and the parts are more expensive than the other variants.

Related articles

rc-light-controller's People

Contributors

laneboysrc avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.