Week 13 : Output Devices
Assignment
This week assignment is add an output device to a microcontroller and programming it.
For this week's assignment I want to get the RGB led flashing in three different colors(red,blue,green). I want to program the microcontroler accordingly to perform the aforesaid task.
To get this assignment done I will need to do the following-
a) Design a circuit in eagle.
b) Mill the circuit
c) Solder the circuit
d) programming,Testing and debugging
Forward Voltage:
Red: 2.0-2.5V
Green: 3.1-3.8V
Blue: 3.1-3.8V
A) Designing the circuit
B)Milling the circuit
C) SOLDERING THE BOARD
D) PROGRAMING, TESTING AND DEBUGGING
Files of the circuit-
THE CIRCUIT IS BEING MILLED NOW. IT TAKES AROUND 5 MINUTES FOR THE CIRCUIT TO BE MILLED.
Now the path is made and we will click on make rml and send it . Now we are ready to mill the circuit.
The circuit has been soldered and is now ready to be tested .
I have used Arduino as isp to program the output device board.
The connections of pins of output device board to arduino is as follows-
a)Gnd-Gnd
b)vcc-5v
c)MOSI-11
d)MISO-12
e)SCK- 13
Now upload this code on arduino and then select the upload the code on the output device microcontroler to obtain results.
The code I have used is-
Outputcode