Time for another retro project, this time a wearable – always on – Pong Watch. Inspired by the classic video game, Pong.
Step 1: Parts List
Watch casing – Cheap 99p LED watch from eBay. This makes things a lot easier as I didn’t fancy designing or building a watch case. I just performed a few mods to it.
Display – Monochrome OLED with I2C interface. Just a few quid from eBay.
Processor – Microchip PIC 12F1840 8 pin Micro Controller from eBay for a few quid.
Battery – rechargeable Li-ion 052025 25mm x 20mm x 5mm from eBay for a few quid.
Li-ion charger – TP4056 Lithium charger module from eBay for a few quid.
Step 2: Write soft and Test
I used Microchip MPLABX to write some test code in C (attached) and downloaded it via PICKIT3 to the PIC 12F1840 and hooked it up to the OLED display. The PICKIT3 at this point was also supplying power to the circuit. The I2C was bit bashed in the code, but the PIC 12F1840 has a hardware I2C built in that I should really be using, that way the internal clock doesn’t need to run so fast saving on power. Unfortunately, it shares the same pins as the PICKIT3 programmer which interferes with the I2C pull ups meaning I would have to unplug the programmer to test which would result in me losing power to the device. It worked fine as it was and I decided I just wanted to get this thing built without exploring further features of the micro controller.
Make a robot friend with Adafruit’s CRICKIT – A Creative Robotics & Interactive Construction Kit. It’s an add-on to our popular Circuit Playground Express, FEATHER and other platforms to make and program robots with CircuitPython, MakeCode, and Arduino. Start controlling motors, servos, solenoids. You also get signal pins, capacitive touch sensors, a NeoPixel driver and amplified speaker output. It complements & extends your boards so you can still use all the goodies on the microcontroller, now you have a robotics playground as well.