Developing a digital clock
Having understood quite a bit of theory about electronic basics, Raspberry Pi electronics and understanding of the components, you are now ready to take your Raspberry Pi to the real world. Make sure you have all the components listed for you to go ahead:
- Raspberry Pi with Raspbian OS.
- A keyboard/mouse.
- A monitor to display the content of Raspberry Pi. If you don't have Raspberry Pi, you can install the VNC server on Raspberry Pi, and on your laptop using the VNC viewer, you will be able to display the content install VNC Server using an installation procedure described in Chapter 1, Getting Started with Raspberry Pi.
- Hook up wires of different colors (keep around 30 wires of around 10 cm long). To do: Read instructions on how to cut the wires.
- An HD44780-based LCD. Note; I have used JHD162A.
- A breadboard.
- 10K potentiometer (optional). You will be using potentiometer to control the contrast of the LCD, so if you don't have potentiometer, contrast would be fixed...