How to burn the firmware using the Arduino

Get help and show off your TV-B-Gone kit!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
senra
 
Posts: 7
Joined: Thu Jul 31, 2014 11:13 am

How to burn the firmware using the Arduino

Post by senra »

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.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: How to burn the firmware using the Arduino

Post by adafruit_support_rick »

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

User avatar
hiduino
 
Posts: 862
Joined: Sat Sep 01, 2012 7:05 pm

Re: How to burn the firmware using the Arduino

Post by hiduino »

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

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.

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

Re: How to burn the firmware using the Arduino

Post by senra »

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

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

Re: How to burn the firmware using the Arduino

Post by senra »

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

User avatar
hiduino
 
Posts: 862
Joined: Sat Sep 01, 2012 7:05 pm

Re: How to burn the firmware using the Arduino

Post by hiduino »

Awesome! Have fun!

Locked
Please be positive and constructive with your questions and comments.

Return to “TV-B-Gone Kit”