Pages: [1]   Go Down
Author Topic: ISP pins on attiny85 board  (Read 1212 times)
0 Members and 1 Guest are viewing this topic.
California
Offline Offline
Sr. Member
****
Karma: 3
Posts: 433
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I want to make a little board with an SMD attiny85 on it to program with my sparkfun pocketavr. Can I simply add some pin headers to my board in the same arrangement that they are on the arduino board and connect the traces to the corresponding pins on the attiny85?

I have never used AVR aside from bootloading my atmega328's on the arduino. I need to learn how to use AVR software, but will this at least get me going with my hardware?

Thanks.
Logged

California
Offline Offline
God Member
*****
Karma: 14
Posts: 629
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I guess, Yup.  You just need some core files if you want to work with the Arduino IDE.

Check out this site:

http://hlt.media.mit.edu/?p=1695
Logged


California
Offline Offline
Sr. Member
****
Karma: 3
Posts: 433
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks
Logged

Denmark
Offline Offline
Edison Member
*
Karma: 35
Posts: 1049
Happy Hobbyist
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I want to make a little board

I have made a little board like this to program the attiny85.
This way you can plug the cable in the ISP header



And I am using this core:
http://code.google.com/p/arduino-tiny/
« Last Edit: October 15, 2012, 03:35:53 am by Erni » Logged

Valencia, Spain
Offline Offline
Faraday Member
**
Karma: 142
Posts: 5282
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I want to make a little board with an SMD attiny85 on it to program with my sparkfun pocketavr. Can I simply add some pin headers to my board in the same arrangement that they are on the arduino board and connect the traces to the corresponding pins on the attiny85?

Yes.

I was working with a Tiny85 last week, here's how I hooked it up:



I'm going to make a little PCB with header pins when I get around to it but all you need is to connect it somehow.

Logged

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

Denmark
Offline Offline
Edison Member
*
Karma: 35
Posts: 1049
Happy Hobbyist
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

It is easy to use a pocketavr, just plug it into the USB connector and ISP connector and you're ready.

However, there is a disadvantage:
If you want to use serial.print for example. ,when you want to see what's going on you have to disconnect the avrprogrammer and plug in a USB / Serial converter. And if you want to make changes to your sketch, you must disconnect the USB / serial and connect your avr programs again.

this can be done much simpler by using Coding Badly's TinyISP

http://arduino.cc/forum/index.php/topic,123388.30.html

With that you can leave all wires where they are, and just open the serial monitor, almost like you're used to from an Arduino Uno
« Last Edit: October 15, 2012, 05:54:28 am by Erni » Logged

California
Offline Offline
Sr. Member
****
Karma: 3
Posts: 433
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks guys, I managed to get it all done today, works perfectly... Except I stupidly made it only power from the ISP pins when the button is pressed, haha. Took a couple of tries to realize that.


* download.jpg (91.06 KB, 672x899 - viewed 35 times.)
Logged

Pages: [1]   Go Up
Jump to: