MicroController Led Programmer
Closed - This job posting has been filled and work has been completed.
i am working on my assignment. the assignment asks the following things to do as a programmer.
You are an embedded hardware/software engineer working on the development of an upcoming product. You have been allocated the task of designing and developing an algorithm to light up eight RED LEDs on a printed circuit board (PCB) using a microcontroller. The PCB that is to be used is the PIC Kit1 Flash Starter Kit and the microcontroller chip is PIC12F675. The LEDs (marked D0 to D7 on the starter kit) have to be lit up in a circular fashion. The LEDs light up (turn ON) and then turn OFF, one at a time, starting from D7 onwards in the following order:
D7, D6, …, D1, D0, D7, D6, …
There are 2 modes of operation:
1. The ON/OFF lighting scheme moves to the next LED when the pushbutton on the PCB is pressed. The LED should be ON for at least 0.5 second (500 ms) before turning OFF. When the pushbutton is pressed, the next LED in the sequence lights up for 500ms and turns OFF and so on.
2. The timer (within the microcontroller) operates this circular scheme of lighting up. In this option, the flashing rate of the LEDs should be approximately 1 Hz with a duty cycle of 50% (Each LED should be ON for 0.5 second before turning OFF for the next 0.5 second) so that they are clearly visible. Use the built-in timer-0 to set the ON/OFF intervals.
i am using Pic kit 1 in Mplab with high tech compiler c to do this. configuration i am using PIC12F675.
Please let me know if you can do this for Thursday 28/02/2013.