I just saw an Instructable on a simple way to program an ATtiny with the blink sketch, using an UNO to program it.
Does that mean If I make a little project that only uses a few I/O pins, I could just use the ATtiny85 in your circuit??? If I just had maybe one sensor, and one motor or a couple LEDs to light, I could do it with this tiny little chip, like I would the UNO? (I would need the driving transistors or whatever, but the actual sketch would work on the ATtiny?)
...is there a good tutorial on this somewhere, something for someone who only learned about Arduino a year ago, so like a ATtiny85 for dummys
Thanks,
You can find out more here:
You don't mention which instructable you have seen, but i started with this:
http://hlt.media.mit.edu/?p=1229
It worked for me and i regard myself as a dummy.
Later i switched to Coding Badlys core:
http://arduino.cc/forum/index.php/topic,51984.0.html
There is no difference programming the tiny and the UNO, except that the pin numbers ofcource are differnt, and the fact that only a few of the librarys you use with Arduino will work on the attiny85.
But if you only have some sensor and LED's it will be fine, give it a go. I am very impressed with this tiny processor.
Just an example: it is possible to control a LCD panel and still having a couple og pins left for sensors !!!
Thanks. If you're making your own PCB, this could be pretty handy, for small projects. Thanks for the links. I'll have to read up on this.
Erni:
Just an example: it is possible to control a LCD panel and still having a couple og pins left for sensors !!!
...it only has 6 I/o pins, and doesn't it take 6 to run an LCD? You must use a sift out IC or something?
SouthernAtHeart:
...it only has 6 I/o pins, and doesn't it take 6 to run an LCD? You must use a sift out IC or something
Use a LCD that supports I2C, that only needs 2 pins. Any standard LCD can be used with one of these: i2c / SPI character LCD backpack - STEMMA QT / Qwiic : ID 292 : Adafruit Industries, Unique & fun DIY electronics and kits
Hello SouthernAtHeart
Yes i use a shiftreg., the schematic and library is here:
http://code.google.com/p/arduinoshiftreglcd/
I have tried the buttom schematic using 3 pins, but as you can see it is even possible to use only two pins, but i have not tried it (yet)