How to burn the firmware using the Arduino
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- senra
- Posts: 7
- Joined: Thu Jul 31, 2014 11:13 am
How to burn the firmware using the Arduino
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.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: How to burn the firmware using the Arduino
Hard to know where you went wrong. Does the processor work in the working TVBGone?
- hiduino
- Posts: 862
- Joined: Sat Sep 01, 2012 7:05 pm
Re: How to burn the firmware using the Arduino
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:
This should allow the tiny85 to run with the 8MHz external crystal.
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
avrdude -c avrisp -p attiny85 -P comX -b 19200 -U lfuse:w:0xFD:m
- senra
- Posts: 7
- Joined: Thu Jul 31, 2014 11:13 am
Re: How to burn the firmware using the Arduino
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
It worked. I have no words to thank you man. I'll spend the rest of my life turning all tvs off.
- hiduino
- Posts: 862
- Joined: Sat Sep 01, 2012 7:05 pm
Re: How to burn the firmware using the Arduino
Awesome! Have fun!
Please be positive and constructive with your questions and comments.