driving 12 transistors with few I/O's - is it possible?


hi,

i've build waveshield (http://www.ladyada.net/make/waveshield/)
and have 12 push buttons (with 12v lamps inside) split out on a0, a1 , a2, each own resistor ladder.

in addition this, able switch specific lamp on when button pushed. initial thought use 12 transistors , turn them on/off digitalwrite.

apparently wasn't going straightforward thought, because have 10 available pins (a3, a4, a5, 0, 1, 6, 7, 8, 9, 12).

so either can try making longer resistor ladder , see if can have buttons on 1 analogin-pin, or else know if there kind of smart way drive 12 transistors with, say, 2 or 4 i/o's? kind of matrix or.. don't know.

well if have @ least 4 pins available, can use 4 - 16 demux here.


Arduino Forum > Using Arduino > Project Guidance > driving 12 transistors with few I/O's - is it possible?


arduino

Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62