Can this be done
I am wanting to have message outputs on my project.
I am using the propeller chip.
I won't to use a maximum of 2 i/o pins.
And look something like this. (with led display, like in picture)
![attachment.php?attachmentid=45895](http://forums.parallax.com/attachment.php?attachmentid=45895)
The messages will be like:
"A1"
"B3"
"11"
"20"
I will have a comparison table to reference e.g
| A1 | Battery Low |
| B3 | Out of range |
Thank you![smile.gif](http://forums.parallax.com/images/smilies/smile.gif)
Post Edited (computer guy) : 3/14/2007 6:55:34 AM GMT
I am using the propeller chip.
I won't to use a maximum of 2 i/o pins.
And look something like this. (with led display, like in picture)
The messages will be like:
"A1"
"B3"
"11"
"20"
I will have a comparison table to reference e.g
| A1 | Battery Low |
| B3 | Out of range |
Thank you
![smile.gif](http://forums.parallax.com/images/smilies/smile.gif)
Post Edited (computer guy) : 3/14/2007 6:55:34 AM GMT
bmp
![](/plugins/FileUpload/images/file.png)
94K
Comments
http://forums.parallax.com/showthread.php?p=636785
The pic below shows the exact same concept, only using 2 x 10 segment bargraphs for feedback on a board that has lots of sensors to monitor. If you could use less than 8 LEDs in the display, there is a similar 8 i/o device called the PCF8574. With either device, the IC has address pins on it so you can select which one to update with the start byte shown in the code example.
Post Edited (originator) : 3/14/2007 7:23:51 AM GMT
I just want it like a serial lcd.
I send serial data via an i/o pin e.g "B3" and it comes up on the display as B3.
Thank you
P.S if someone does do it for me i will be happy to negotiate a price.
But my project needs this.
If someone gave me a schematic of the final design and a parts list i could probably build it.
By the way i have got a spare BS2 laying around if i could use that for some of the interface.
Thank you
P.S although i don't know much about electronics i have spent my entire life working with kits ranging from led flasher kits using 555 timers
up to led clocks.
see www.jaycar.com.au/downloads/clock02.wmv
Just get the Full Duples Object, study it a while and it is quite straighforward, you would need 1 wire from a designated Tx pin on the Prop to an Rx pin on the Stamp.
Post Edited (originator) : 3/14/2007 7:55:27 AM GMT
Thank you
Thank you
A resistor goes to the "output" of the ULN2803, that resistor goes to the LED, the other side of the LED goes to +V(5v is fine, adjust your current limiing resistor accordingly but 470 is a standard safe number.
Like this:
You can also look up the PCF8574 datasheet on GOogle, I think it will be the same but only 8 i'o. From what I can find, the PCF8575 is only available in an SMT package, but it is not super small, you could probably hand solder it.
Thank you
Thank you
focus.ti.com/lit/ds/symlink/pcf8574.pdf
Eagle
Post Edited (originator) : 3/14/2007 8:49:15 AM GMT
Don't forget, each i2c device needs it's own unique address, you can use the existing Prop EEPROM pins, pull both lines up with 4.7k. The EEPROM address = 000 set the first PCF to 001, then the second to 010.
Post Edited (originator) : 3/14/2007 9:48:12 AM GMT
http://www.sparkfun.com/commerce/product_info.php?products_id=751
I think it will do what you want, it's basically a 7 segment LED with I2C built in.· It does require 5 volts though, not sure if your design has any other 5 volt parts.· (Advertised at $3.95, not sure about minumum order requirements or shipping costs...)
For breadboard use, you'll also need header pins, like the ones used in the Homework Board for servo connections.
I·hope this helps!
Post Edited (Desy2820) : 3/14/2007 9:54:42 AM GMT
Can someone convert the example code to work with the propeller.
The demo programs can be found here:
www.hc4led.com
Thank you
Don't worry, Bean only ships to USA and i live in Australia.
Looking at pictures of beans display it looks as if he is also using an i2c chip. How come he can use serial
to communicate with it. however with the above circuit i have to use i2c functions?
Thank you
Post Edited (computer guy) : 3/15/2007 7:58:28 AM GMT
Check into the difference between SPI and I2C
SPI and Microwire chip implementations may look outwardly, at the hardware level, very much like I2C implementations. Herein lie the salient differences:
SPI and Microwire - Synchronous serial access method implementation, external or hardware device addressing. PBASIC commands SHIFTIN/SHIFTOUT are used for access.
I2C - Synchronous serial access method implementation, internal or software device addressing. PBASIC commands I2CIN/I2COUT are used for accessing the chip, or the chip is "bit banged" to simulate I2C commands.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I want a display:
1. That is small (max 20cmx10cm LxH).
2. Red/Blue/Green
3. Preferably not LCD
4. Can be controlled with a maximum of 4 i/o pins.
5. That does NOT use bit's i.e ( i2c.write(25, %10000000) 'first byte ).
Thank you
www.kmitl.ac.th/~kswichit%20/Led/schematic.pdf
Thank you
www.rentron.com/SLED-C4.htm
Thank you all
www.parallax.com/detail.asp?product_id=603-00001
Thank you
Post Edited (computer guy) : 3/16/2007 8:53:38 AM GMT
[noparse][[/noparse] Please don't Reply with "ok, how do I do that?" ]
Post Edited (computer guy) : 3/21/2007 5:56:43 AM GMT
It really depends on what the three wires are doing. In some cases all that is happening is that the data input and data output are on separate pins. In other cases, the third wire may be for chip/device enable. In yet other cases, it may be an address line of sorts.
I'm sure there are other protocals as well, but the key is knowing the purpose of the third wire.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔