t0pToner - LED Two Tone Effect
NOTE: This is NOT one of those 'secret' projects i was talking about, This was something spurgurgle came up with and i just coded it and then we decided to brand it and release for other members.
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fi47.tinypic.com%2F158828m.jpg&hash=4fbc7056c19bce76c0479991480fb294027c3934)
Information:
Name: t0pToner
Author: t0pP8uZz
Current Version: 1.0
Current Revision: 1
Pic Used: PIC12F683
Description: Two tone LED effect.. SEE VIDEOS! Simply controls 2 OUTPUT pins depending on the state of 4 INPUT pins.
Credit:
t0pP8uZz - entire development
spurgurgle - was originally his idea, and credit for beta testing!
Current Features:
Simple two tone effect.. 2 output lines.. 4 inputs
Suggestions welcome..
User Videos / Demostration
two toner test 3.MOV (http://www.youtube.com/watch?v=S7t5vfloAlM#normal)
two tone test 2.MOV (http://www.youtube.com/watch?v=1pCbzgB1ngg#normal)
two tone test.MOV (http://www.youtube.com/watch?v=jwYpYE55RfY#normal)
Schematic/Diagram:
CG/CG2 Wireless Controller
(https://www.acidmods.com/RAND/upload/files/upload/cg2t0p.jpg)
Matrix Wireless Controller
(https://www.acidmods.com/RAND/upload/files/upload/matrixdiagram.jpg)
PIN Information FOR CG/CG2 Controllers:
Basically theres 2 output lines. These are for lighting the LED's you install.
LINE1(PIN 7) Turns on if player 1 or player 4 led is on.
LINE2(PIN 6) Turns on if player 2 or player 3 led is on.
Connect player 1 led to pin 2. + side
Connect player 2 led to pin 3. + side
Connect player 3 led to pin 4. + side
Connect player 4 led to pin 5. + side
On the CG controllers every pin that connects to a ROL led needs a pull-down resistor. So connect 10k resistor to pin 2,3,4,5 then connect each one to GND or PIN 8.
SEE DIAGRAMS ABOVE
PIN Information FOR MATRIX Controllers:
LINE1(PIN 7) Turns on if player 1 or player 4 led is on.
LINE2(PIN 6) Turns on if player 2 or player 3 led is on.
Connect player 1 led to pin 2. - side
Connect player 2 led to pin 3. - side
Connect player 3 led to pin 4. - side
Connect player 4 led to pin 5. - side
On the matrix controller only PIN 4 needs a pull-up resistor. So make sure you connect a 10k resistor from pin1 to pin4.
With the matrix controller, NPN transistors are best to be used, You can try without them by connecting the LED directly to the outputs on the PIC, but if you want to run alot of LED's and good brightness then use the NPN's.
NOTE: If you followed the diagram for matrix above, And the LED's arent turning on, Please put a 500-5k Ohm resistor on the BASE(B) of the transistor to the OUTPUT pins. High resistors will result in a dimmer LED.
SEE DIAGRAMS ABOVE
Downloads:
t0pToner 1.0 Revision 1 (CG/CG2 Controller): https://www.acidmods.com/RAND/upload/files/upload/T0PTONER.rar (https://www.acidmods.com/RAND/upload/files/upload/T0PTONER.rar)
t0pToner 1.0 Revision 1 (Matrix Controller): https://www.acidmods.com/RAND/upload/files/upload/T0PTONERMATRIX_1.rar (https://www.acidmods.com/RAND/upload/files/upload/T0PTONERMATRIX_1.rar)
Please post all bugs, feedback, suggestions!
Peace
-t0pP8uZz