-
Helpful list of links
04/15/2021 at 19:34 • 0 commentsMaking a list of helpful links that I've used while making this project. It's a bit unsorted but wanted to get the info out there.
AVR Tutorial - Software setup for Windows
ATtiny85 timer tutorial: generating time delay using Interrupts - Gadgetronicx
Digispark DIY: the Smallest USB Arduino : 9 Steps (with Pictures) - Instructables
Removing a Curse from ATtiny85 Fuses
High Voltage programming/Unbricking for Attiny – Arduino, ESP8266, ESP32 & Raspberry Pi stuff
(198) Programming ATtiny85 & flashing a Bootloader (Search Timed Out - FIX) - YouTube
ATtiny85 Powered High Voltage AVR Programmer - Hackster.io
Arduino/Uno/AVR_High_Voltage_Fuse_Programmer at master · GadgetReboot/Arduino · GitHub
Integrate ArduinoISP and Atmel Studio : 4 Steps - Instructables
-
Made my own Digispark (sort of)
04/15/2021 at 19:27 • 0 commentsTested digispark bootloader on the board and it worked. Found this tutorial for uploading the bootloader to the attiny85. (not my video)
Link to video:
the functionality of programming the board via usb works perfectly. I uploaded the blink sketch and the LED pulsed on and off every second. I used the files and method described in the video and found that this method of uploading is very similar to the way .hex files are uploaded via microchip studio using the method mentioned before to create an external tool link only we write the bit of code in a .bat file. What I learned is that AVRDude is the real program that does the heavy lifting. Most everything else is a shortcut version of running the commands that set the proper variables in the command line to be able to upload a .hex file to the microcontroller.
-
Integrating Arduino With Microchip Studio
04/15/2021 at 19:02 • 0 commentsI wanted to be able to program the ATTiny85 using Microchip Studio. (This is an IDE proved by ATMEL for programming ATTiny85's and other AVR chips they make. I didn't have an atmel ice nor did I want to buy their proprietary 140$ programmer so I wondered if there was a way to use an arduino as an in system programmer with microchip studio. Turns out there is!... Kind of. What it really amounts to is writing your project in microchip studio then using the external tools function in the tools dropdown menu to run avrdude from your arduino install but using the .hex file that was created from microchip studio when you build your project. It's a bit of a hack but by doing so you're able to use the arduino as an ISP and you save yourself 140$.
I googled how to use arduino with microchip studio and found this link
https://www.instructables.com/Integrate-ArduinoISP-and-Atmel-Studio/