Comments on: Programming ATtiny84 / ATTiny44 with Arduino Uno https://42bots.com/tutorials/programming-attiny84-attiny44-with-arduino-uno/ Hobby robotics and electronics with Arduino, ESP82666 and Raspberry Pi Sun, 20 May 2018 01:30:02 +0000 hourly 1 https://wordpress.org/?v=5.6.11 By: Steve Johnson https://42bots.com/tutorials/programming-attiny84-attiny44-with-arduino-uno/#comment-254918 Sun, 20 May 2018 01:30:02 +0000 http://42bots.com/?p=601#comment-254918 In reply to Sergio.

Yes! I just did this – I used pins 7, 6, and 5 as PWM outputs (might be useful for you to adjust the brightness of your LED lamp), and the Arduino Uno programmer uses pin 7(MOSI) as a programming pin. I wired an RGB LED in to those pins on the programming shield I made. I compiled and uploaded the program using the Arduino IDE, it completed, and started the program, driving the RGB LED as I had hoped. I haven’t tried this using pin 8 (MISO), which is also connected to the Arduino UNO.

]]>
By: Erik https://42bots.com/tutorials/programming-attiny84-attiny44-with-arduino-uno/#comment-215131 Sun, 06 Aug 2017 00:31:44 +0000 http://42bots.com/?p=601#comment-215131 What If I have one that I would like to make a copy of? IS there a way to successfully copy and ATTINY44?

]]>
By: Kurt Barcelona https://42bots.com/tutorials/programming-attiny84-attiny44-with-arduino-uno/#comment-203445 Sun, 26 Feb 2017 21:55:51 +0000 http://42bots.com/?p=601#comment-203445 In reply to juanmol.

pin7 in the code is on pin10 of the AtTiny84A. the diagram has a wrong pin mapping for arduino

]]>
By: Sergio https://42bots.com/tutorials/programming-attiny84-attiny44-with-arduino-uno/#comment-181856 Sun, 05 Jun 2016 22:27:42 +0000 http://42bots.com/?p=601#comment-181856 Hi.

I’m developing a flashlight using this attiny for my bike. I would like to add more LEDs (everything is better with more LEDs) but I’m not sure if I can use the pins related to the programming interface.

Can I attach blinking LEDs to mosi, miso and clock and still be able to reprogram the attiny? I’m afraid of…I don’t know, destroy my programmer or “dissipate” the program sent to the LEDs connected to the arduino instead of programming it.

Thanks for your help!!

]]>
By: juanmol https://42bots.com/tutorials/programming-attiny84-attiny44-with-arduino-uno/#comment-15182 Wed, 13 Aug 2014 08:51:56 +0000 http://42bots.com/?p=601#comment-15182 Hi, i’ve test with attiny85 and works, but if i try with attiny84, the led is not blinking. I’ve check all and is correct, the output messages in arduino ide are the same with attiny85 (and working). I ‘ve remove all my arduino libraries and binaries, download again, and get the same result. Of course i have test with a few attiny84. Can you help me?

]]>
By: Stan https://42bots.com/tutorials/programming-attiny84-attiny44-with-arduino-uno/#comment-1325 Tue, 18 Mar 2014 21:02:44 +0000 http://42bots.com/?p=601#comment-1325 In reply to Gabriele.

Hi Gabrielle,

you can change the default frequency of the ATTIny chip from 1 to 8, or 20Mhz following the instructions in step 6. When you do that, the fuses will be set for the frequency you have selected from the “Board” menu. No extra steps are required.

On your second question: I am not sure that using a 16Mhz crystal with fuse settings expecting a 20Mhz one will work. Maybe the good folks at the Arduino forums will be able to help you…All I can say from my limited experience is that messing around with the fuse settings without good understanding of what you are doing can easily lead to “bricking” your ATTiny…

I hope you figure it out, and please post back if / when you do!

Stan

]]>
By: Gabriele https://42bots.com/tutorials/programming-attiny84-attiny44-with-arduino-uno/#comment-1309 Tue, 18 Mar 2014 17:55:16 +0000 http://42bots.com/?p=601#comment-1309 HI i have a question, when I select the option “ATtiny84 (internal 8 Mhz clock)” the Attiny runs to 8Mhz or you must also change the internal fuses?
Se seleziono the option “ATtiny84 (external 20 Mhz clock)” devo costruire un circuito esterno con due condensatori da 22pf e un cristallo. Invece di usare un cristallo da 20Mhz posso usare un cristallo 16Mhz e usare la stessa opzione(ATtiny84 (external 20 Mhz clock) quando scrivo il bootloader?

]]>