====== HelloD1614 ====== Based on the [[http://ww1.microchip.com/downloads/en/DeviceDoc/ATtiny1614-data-sheet-40001995A.pdf|ATtiny1614]] and inspired from the [[http://fabacademy.org/2020/labs/leon/students/adrian-torres/adrianino.html|Adrianino]], the HelloD1614 is a simple board that can be used to test the features of the new ATtiny microcontrollers. The board exposes the full pinout of the ATtiny1614, and offers UPDI as one of the way of programming the chip. {{:documentation:electronics:hellod1614-sch.png?400|}} The board layout shows on the right side the connection to the FTDI cable, and to the bottom-right side the connection for the UPDI programmer. On the left side the I2C is exposed, also with 4.7k pull-up resistors. Additional IO is on the top. More details in the pinout. {{:documentation:electronics:hellod1614-brd.png?400|}} {{:documentation:electronics:hellod1614-pinout.png?400|}} Below the soldered board to identify the components: {{:documentation:electronics:hellod1614.jpeg?400|}} Here's the board connected to the FTDI: {{:documentation:electronics:d1614-ftdi.jpeg?400|}} ====== Programming ====== ====== Windows and Arduino IDE ====== ** Add the the [[https://github.com/SpenceKonde/megaTinyCore|megaTinyCore]] to the Arduino IDE. ** Open the Arduino IDE\\ Go to File -> Preferences: {{:documentation:electronics:d1614-preferences.png?400|}} Paste the following link inside the Additional Boards Manager URLs: http://drazzy.com/package_drazzy.com_index.json {{:documentation:electronics:d1614-addurl.png?400|}} Go to Tools -> Board -> Board Manager: {{:documentation:electronics:d1614-manager.png?400|}} Search for megaTinyCore and install it: {{:documentation:electronics:d1614-installcore.png?400|}} Further instructions here: https://github.com/SpenceKonde/megaTinyCore/blob/master/Installation.md ** Connect the board ** To be programmed by using the UPDI, the board can be connected as shown below. Instead of the [[http://wiki.fablab-kali.de/doku.php?id=documentation:electronics:start&do=edit|FTDI-USB]] in the picture, also an [[https://www.digikey.de/product-detail/de/ftdi-future-technology-devices-international-ltd/TTL-232R-3V3/768-1015-ND/1836393|FTDI cable]] would work. {{:documentation:electronics:updi-3-conn.jpeg?400|}} To connect the FTDI-USB is recommended to use an extension cable or a USB hub, as shown in the following picture: ** Upload bootloader and code ** It is recommended to burn the bootloader prior the uploading of any other code. To upload the bootloader, select the following options: {{:documentation:electronics:d1614-settings.png?400|}} To upload any code, the options from above will stay the same, the only difference is to just push the upload button instead of the Burn Bootloader option. ====== Downloads ====== \\ * **HelloD1614 Eagle files in a zip:** {{ :documentation:electronics:hellod1614.zip |}} \\ * **Traces PNG:** \\ * {{:documentation:electronics:d1614-traces.png?400|}} \\ * **Holes PNG:** \\ * {{:documentation:electronics:d1614-holes.png?400|}} \\ * **Cut PNG:** \\ * {{:documentation:electronics:d1614-cut.png?400|}}