join two Propellers?
hal2000
Posts: 66
Hi all
I want to join two Propellers
1 Pro, computing (movement and acceleration in real time) graphic LCD screen monitor
2 Pro, encoders, buttons, potentiometers, LEDs
Cluso99··· recommends· using FXD
Would have to make a protocol.
Does anyone have experience in the union of Propellers?
Could you give some examples of protocol?
·
¿Magic glue for Propellers?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Did the curiosity kill the cat?
......................................
I want to join two Propellers
1 Pro, computing (movement and acceleration in real time) graphic LCD screen monitor
2 Pro, encoders, buttons, potentiometers, LEDs
Cluso99··· recommends· using FXD
Would have to make a protocol.
Does anyone have experience in the union of Propellers?
Could you give some examples of protocol?
·
¿Magic glue for Propellers?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Did the curiosity kill the cat?
......................................
Comments
As I suggested, try FDX (FullDuplexSerial) available on OBEX.
As for protocol, is prop 2 doing any processing or is it just reading sensors and passing that to prop 1, and receiving LED info for displaying on prop 2 from prop 1?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:
· Home of the MultiBladeProps: TriBladeProp, RamBlade, TwinBlade,·SixBlade, website
· Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
· Prop Tools under Development or Completed (Index)
· Emulators: Micros eg Altair, and Terminals eg VT100 (Index) ZiCog (Z80), MoCog (6809)
· Search the Propeller forums (via Google)
My cruising website is: ·www.bluemagic.biz·· MultiBladeProp is: www.bluemagic.biz/cluso.htm
http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus
http://www.intersil.com/data/an/an1340.pdf
I believe there is an SPI driver already and I know there are other thread that talk about the rates higher than 1 Mhz.
Look at page 3 of the intersil pdf. It shows how one can daisy chain devices. This reduces the pin count if there is a future need to add devices.
It would be a good thing a code example.
HOLA Cluso99, You're right, there are communication in both directions
Prop 1 - Scan buttons and potentiometers AD, sends to Pro2p, Prop 1 which receives LED lighting.
Prop 2 - is the state of the buttons and potentiometers etc ... processes, sends LED·· state· Prop 1·
The connections are clear
cruzar in and out
But to protocol?
Case or if you using?
I can't do· the routine ...
Example ?
Any example?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Did the curiosity kill the cat?
......................................
Beau Schwabe posted some code for synchronous communication between props a while ago, 1 bit and 4 bits. I use it in one of my projects. I always recommend it .
Edit: here it is: http://forums.parallax.com/showthread.php?p=691952
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Visit the home of pPropQL: propeller.wikispaces.com/pPropQL
pPropQL020: propeller.wikispaces.com/pPropQL
OMU for the pPropQL/020 propeller.wikispaces.com/OMU
Post Edited (Ale) : 7/15/2009 3:49:05 PM GMT
engages time understanding this thread
thanks
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Did the curiosity kill the cat?
......................................