- Arduino UNO
- Programmer Shield
- JST Cable
- Arduino IDE installed on your device
Before you start, add the MCUdude MiniCore board package to your directories. File > Preferences - Additional boards manager URLs: > paste this link https://mcudude.github.io/MiniCore/package_MCUdude_MiniCore_index.json
Then head to Boards Manager, search for MiniCore by MCUdude and install the package.
Now head to library manager and install the following libraries:
- SevSeg - Dean Reading
- Rtc by Makuna - Micheael C. Miller
Your IDE is ready to program the DIGIduino.
To use your arduino to program other MCUs you need to write a bit of code to it. Luckily, this code is pre-saved in your arduino IDE. File > Examples > 11.ArduinoISP > ArduinoISP
If you're using a standard Arduino UNO just upload this to your device without anything connected to it (aside from the USB of course)
Once that's uploaded, your arduino is ready to be used to program the watch!
Open the DIGIduinoV1.ino code
Head to tools> Board > MiniCore > Atmega328
Make sure the rest of the settings under tools are as follows.
One option which is really important is the Clock setting, MAKE SURE INTERNAL 8MHz is selected. if you burn a bootloader with an external crystal setting you may brick the device.
REMOVE THE BATTERY FROM THE MOVEMENT BEORE PROCEEDING
Connect the shield to the UNO then plug your DIGIduino to the Shield using the supplied cable.
Your movement will be shipped with the latest main release of the firmware so it will light up.
You can now edit the sketch for the software and upload to the device. Note, to upload code to external devices (like the movement) you have to use the "Upload Using Programmer" option. Sketch -> Upload Using Programmer. or Ctrl+Shift+U.
