Back to Browse

How to program an analog clock with a microcontroller

2.8K views
May 11, 2022
52:30

This is the additional program guide for the PIC16F1455 analog clock project, where we talk about how to program an analog clock with a PIC microcontroller and program the C source code for the XC8 compiler line by line. Main video: https://www.youtube.com/watch?v=N8rlLG6EXpk Companion article: http://www.friendlywire.com/projects/analog-clock/ Thanks for watching, and let me know in the comments if you have any questions! Website: http://www.friendlywire.com Twitter: http://www.twitter.com/FriendlyWire Reddit: http://www.reddit.com/r/FriendlyWire Facebook: http://www.facebook.com/FriendlyWire Instagram: http://www.instagram.com/FriendlyWire Timestamps: 00:00 Introduction 01:41 Part 0: setting up the software 04:16 Part 1: talking to the LEDs 10:15 Part 2: reading out the pushbuttons 15:20 Part 3: configuring the internal oscillator to 4MHz 20:47 Part 4: using TIMER1 to create a solid 1Hz timebase 30:16 Part 5: software timebase and animating the LEDs 35:59 Part 6: configuring the external interrupt 39:26 Part 7: pulse width modulation 44:19 Part 8: converting time information into a PWM signal 46:24 Part 9: SLEEP mode 52:01 Conclusion

Download

0 formats

No download links available.

How to program an analog clock with a microcontroller | NatokHD