is this possible?

i have a question regarding the Arduino Duemilanov.

Is it possible to connect a LCD-Display, about five LEDs, a tiny speaker, and two antennas two an adruino? Are there enough pins for that?

more concrete: is something like this (http://www.ece.uvic.ca/~mblarows/ELEC499/documents/ELEC499_Final_Report-r1.pdf) possible with an arduino?

thanks in advance

My initial thought:

Yes indeed!

But, what kind of antennas are we talking about?

the antenna would have to be a ferrit-antenna, which makes it possiblie to transmit and receive 457 kHz frequency.

isn’t there a problem, that the arduino offers to less pins for such an complex application? The LCD-Display needs at least 4 pins, each LED 2, the Speaker 2, each Antenna, …

I am really new to this. am i missing something?

greetings

The arduino has 19 digitale i/o pins.

The Arduino has TWENTY general-purpose digital I/O pins.

Halley is right ofcourse. I usually tell those I teach to avoid using the RX pin.

the LCD-Display needs at least 4 pins, each LED 2, the Speaker 2, each Antenna

Each LED would require just one output pin. 5 LEDs can be driven by only 3 pins.
Speaker would require, again, just one output pin, not 2. (If you are thinking the speaker has 2 connectors, the second connector would go to ground; same for the LEDs).

each Antenna

You can’t generate a signal into an directly into an antenna from the Arduino. I assume you are controlling some sort of transmitter. For more input / output you can always use multiplexers.

5 LEDs can be driven by only 3 pins.

How would this be possible? Sorry for the stupid questions. I’m really new to the arduino and just started playing around.

Dominik

http://en.wikipedia.org/wiki/Charlieplex :slight_smile:

Charliplexing sounds interestering… but as a sidenote - you could also use a multiplexer IC like my beloved PCF8574 (yes, i use other things as well!) to drive the LCD, if you use two of them you could also drive the 5 LEDs through such a chip. Major advantage? You only need 2 analog Pins to drive LCD and LEDs.

I made a simple Charlieplex library: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1236828458/0#0

I would love feedback :slight_smile:

Major advantage? You only need 2 analog Pins to drive LCD and LEDs.

The disadvantage is a lot of code? My experience is that charlieplexing results in more compact code, but grows exponentially as you add lines to the ‘network’. So for a few extra I/O lines, I would’ve used charlieplexing :slight_smile: