Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

LED Engine On Tinkercad

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

instructables

LED Engine on Tinkercad

by 849918

This circuit is LED engine controlled by a potentiometer 1 1k ohm resitor


and hooked up to an Arduino micro controller. The LCD
displays the RPM and gear value depending on the value 6 Red LEDs
of the poteniometer. I created this circuit out of my love
for cars and speci cally the Nissan Skyline. The Skyline is 2 Small Bread boards
powered by a inline 6 engine called the RB26DETT and I
used the ring order for that engine in circuit. The list of 1 100k ohm Potentiometer
parts that I used goes as listed
1 16x2 LCD display
1 Arduino Uno 3

6 120 ohm resistors

Step 1: Gathering Materials

First lay out all of the components from the Tinkercad components bar and line them in as show in the photo.

LED Engine on Tinkercad: Page 1


Step 2: Connecting Wires

Add the connections shown in the photo. The black wires are ground connections and the red wires are power
connections. The 6 wires coming from on top of the rst bread board are going to be used for the ground of the LEDs.

Step 3: Connecting the LEDs

Add the LEDs in the exact order shown in the photo with LED 3 should be connected to digital pin 4 on the
the exact spacing and connections. The LEDs go from left Arduino,
to right so the one on the far left is LED or cylinder 1 and
the one the far right is LED 6 or cylinder 6. Use the 6 120 LED 4 should be connected to digital pin 5 on the
ohm resistors for this Arduino,

LED 1 should be connected to digital pin 2 on the LED 5 should be connected to digital pin 6 on the
Arduino, Arduino,

LED 2 should be connected to digital pin 3 on the LED 6 should be connected to digital pin 7 on the
Arduino, Arduino,

LED Engine on Tinkercad: Page 2


Step 4: Connecting the Potentiometer

Next add the potentiometer to the bread board. The a way where one the potentiometer reaches the half way
potentiometer will sit between LED 5 and LED 6 and point the leds will re at the fastest speed possible and
when placing it make sure it does not interfere the once passed the half way point the leds will slowy slow
resistor for the LED 5. The potentiometer will be down and will be a slow and steady re rate at the end of
connected to analog pin A0. The potentiometer will the potentiometer.
control how fast the LEDs will re. The code is written in

Step 5: Connecting the LCD Display

LED Engine on Tinkercad: Page 3


Next is to add the LCD display to the circuit. The LCD Read and Write will connect to ground
display will connect to the second bread board because
of its size and connections required. The LCD monitor Enable will connect to pin 9
will be displaying a RPM value depending on what value
the poteniometer is at. The rst half of the skip D1,D2,D3
potenitometer is the acceleration so it will start at
950RPM and will rise to 8000RPM once half way and with D4 will connect to pin 10
that a gear value will also be displayed, the gears will be
from 1 to 6. Once passed the half way point the D5 will connect to pin 11
deceleration will start the RPMs will go from 8000 to
1100 and the gears will also go down from 6 to 1. D6 will connect to pin 12

The connections for the LCD display are: D6 will connect to pin 13

Ground will connect to ground LED anode will connect to power but add a 1k ohm
resistor in between
Power will connect to power
LED cathode will connect to ground
Contrast will connect to ground

Register Select will connect to pin 8

Step 6: Lastly the Code

The last and nal step will be to code everything. The


code and completed is attached at the bottom, you will
be able to interact with the circuit and be able to view
the code. You can copy the code from here and paste it
into your coding box on your tinkercad circuit.

https://www.tinkercad.com/embed/8EnvgCoBZRE?editbtn=1

LED Engine on Tinkercad: Page 4

You might also like