Go Down

Topic: Communication with an ATtiny and Arduino. For saving Pins. (Read 1 time) previous topic - next topic


dxw00d


Erni

You could use a serial connection between Arduino and the Tiny: Arduino TX -> Tiny RX, Gnd->Gnd.
This will leave you with 4 pins free on the Tiny.
On the Tiny you use SoftwareSerial to receive the communication from Arduino

Graynomad

Quote
the ATtiny85 doesn't have enough I/O pins to do what you want.

Good point.

Quote
Wouldn't a shift register be useful here?

Another good point.

Quote
You could use a serial connection between Arduino and the Tiny:

That'll work to.

mixania, just use a shift register and save yourself a lot of pain :)

______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

NiñoScript

add 8 16bit I2C GPIO expanders, and use charlieplexing
there you go, direct control for 16256 LEDs, using only two pins of your Arduino

enough for a 25 x 25 x 25 LED cube  $)

Go Up