Presentation is loading. Please wait.

Presentation is loading. Please wait.

Spinning LED Clock By Nick Bigelow. System Diagram.

Similar presentations


Presentation on theme: "Spinning LED Clock By Nick Bigelow. System Diagram."— Presentation transcript:

1 Spinning LED Clock By Nick Bigelow

2 System Diagram

3 Electrical Concept Optic Sensor Push Buttons Serial Port HC12 Microcontroller LED

4 The Full Schematic

5 The HC12 Microcontroller The microcontroller blinks the LED’s at the right time to flash the time as the board spins on the motor

6 Optic Sensor This sensor measures the speed of spinning board

7 The Push Buttons These push buttons allow the user to set the time of the clock

8 Board Layout

9 The Software for the HC12 Reading inputs from optic sensor and buttons. Keeping time. Calculating motor speed. Blinking the correct pattern. Create correct delays to make clock readable.

10 Code PTT = 0xFF;//toggles pt2 DELAY_DMS(1000);//delay PTT = 0x20;//toggles pt2 DELAY_DMS(1000);//delay PTT = 0x10; DELAY_DMS(1000); PTT = 0x08;//toggles pt2 DELAY_DMS(1000);//delay PTT = 0x04;//toggles pt2 DELAY_DMS(1000);//delay PTT = 0x02; DELAY_DMS(1000); PTT = 0xFF;//toggles pt2 DELAY_DMS(1000);//delay

11 How I Got Power To The Board A problem that I had to overcome was getting power to the board and still allow it to move freely.

12 Future Revision I eventually want to program the board so that no matter what speed the motor is running at the HC12 will adjust the time delays and still display correctly.

13 Impact on the World My product impacts the world because people need to know what time it is. It could help get somebody to work on time saving them from being fired.

14 Reference I got the idea for this project from the following website: http://www.bobblick.com/techref/projec ts/propclock/propclock.html http://www.bobblick.com/techref/projec ts/propclock/propclock.html


Download ppt "Spinning LED Clock By Nick Bigelow. System Diagram."

Similar presentations


Ads by Google