Page 1 of 1

IO expanders

Posted: Sun Feb 10, 2013 7:26 pm
by YahooArchive
>from the help line
>1) purchasing the armite pro and looking for a chip. an 8 and or 16 bit out
latch. I want seriel in and have never use a seriel bus so I will follow your
thoughts Oh also needs to be dip pack.

What you are looking for is an IO expander. And the place to go look is Digikey
(IMO the best organized electronics part site)

I typed in IO expander, selected parts in DIP packages and there are a number,
mostly around $1

Microchip MCP23S17-E/SP

>2) how do you send a byte of data out all at once if possable?

You can write to the LPC2103 IO registers directly. Details on that in the NXP
User Manual, and the code will take the form of

FIO0DIR = 0x???? ' 1s set the pins as outputs
'you want to put the value in variable x out on the port 0 pins
FIO0SET = x
FIO0CLR = not x

Re: IO expanders

Posted: Sun Feb 10, 2013 7:26 pm
by YahooArchive
Dear basicnode

thats a great idea for anyone needing more expansion.
I had a quick look around, but the ones I found appeared to be via USB, which
will probably introduce problems for real time stuff I am reliably
informed.....stuff like CNC for example....But if timing is not a problem, then
that is a really great way to go I feel....Thanks for the Heads up!
Greetings from

Andy Mathison