0

How to burn the firmware using the Arduino
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

How to burn the firmware using the Arduino

by senra on Sun Mar 13, 2016 2:07 pm

Guys, I'm having trouble making the TV-B-Gone. First I assembled the components in the pcb but it not worked. I revised all conections and it was all fine. So I gave up the pcb and started the project again on the breadboard. Again the conections are all fine and the project did not work at all. Actually the green led blinks as usual and the IR leds blinks too but it can't make the tvs off. I think the IR are blinking slowly and I suspect the problem is that I made a mess burning the firmware. I used the Arduino as ISP to burn the firmware and I followed the Instructables tutorial (http://www.instructables.com/id/Burning ... g-Arduino/) to do this. I don't know anything about avrs, and I changed my attiny85 20pu in case that the attiny was defective. Please, if someone know where I'm making mistakes burning the firmware show me. Sorry for my bad english.

senra
 
Posts: 7
Joined: Thu Jul 31, 2014 11:13 am

Re: How to burn the firmware using the Arduino

by adafruit_support_rick on Mon Mar 14, 2016 1:34 pm

Hard to know where you went wrong. Does the processor work in the working TVBGone?

adafruit_support_rick
 
Posts: 35089
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: How to burn the firmware using the Arduino

by hiduino on Mon Mar 14, 2016 8:42 pm

Since you are seeing the pulses, your circuit should be correct.

However, the Instructables tutorial is not complete. It fails to set the correct attiny85 fuse bits for external crystal operation. The default fuse settings on the attiny85 are set for 1MHz internal clock operation. So as you may have suspected it is running too slow.

Try this to set the fuse bits to external crystal operation:
Code: Select all | TOGGLE FULL SIZE
avrdude -c avrisp -p attiny85 -P comX -b 19200 -U lfuse:w:0xFD:m


This should allow the tiny85 to run with the 8MHz external crystal.

hiduino
 
Posts: 854
Joined: Sat Sep 01, 2012 7:05 pm

Re: How to burn the firmware using the Arduino

by senra on Mon Mar 14, 2016 8:45 pm

I'm going to test it now and then I'll post the results here.

senra
 
Posts: 7
Joined: Thu Jul 31, 2014 11:13 am

Re: How to burn the firmware using the Arduino

by senra on Mon Mar 14, 2016 9:03 pm

It worked. I have no words to thank you man. I'll spend the rest of my life turning all tvs off.

senra
 
Posts: 7
Joined: Thu Jul 31, 2014 11:13 am

Re: How to burn the firmware using the Arduino

by hiduino on Mon Mar 14, 2016 9:06 pm

Awesome! Have fun!

hiduino
 
Posts: 854
Joined: Sat Sep 01, 2012 7:05 pm

Please be positive and constructive with your questions and comments.