Can the Propeller power itself like a 1-wire device?
william chan
Posts: 1,326
Hey,
Can the Propeller act like an 1wire device to power itself and communicate with other Props all from just 2 wires?
How would such a circuit look like?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.fd.com.my
www.mercedes.com.my
Can the Propeller act like an 1wire device to power itself and communicate with other Props all from just 2 wires?
How would such a circuit look like?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.fd.com.my
www.mercedes.com.my
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
~Some men see things as they are and ask "why?"
I dream of things that never were and ask "why not?"~
Can the 2 wires be exchangeable polarity wise?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.fd.com.my
www.mercedes.com.my
Sharing power supply is not difficult.
But when power supply and comm. share the same 2 wires, things can get hairy.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.fd.com.my
www.mercedes.com.my
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
~Some men see things as they are and ask "why?"
I dream of things that never were and ask "why not?"~
Read some of the white papers from Dallas/Maxim on using their 1-wire protocol with relatively high current devices like analog to digital converters.
The basic idea is that your line stays powered most of the time with brief interruptions for zero data bits (like a regular serial line ... it idles in "mark" state). The zero bits are short, much less than the bit time so you mostly have power available. The power source (pull up) is current limited to somewhat more than what you'll need for an average current. You'll need external switching transistors because the Propeller will probably need more current than it can switch by itself. You'll need a Shottky diode to minimize the voltage drop and a good size filter capacitor to hold the supply voltage during the brief outages. You'll need to modify some existing serial I/O driver so it uses short pulses in a longer bit-time window.
I've only every done two wire transmit plus power so cannot comment on how the talk-back would need to be implemented. Using differential ( rather than TX/0V ) and a full-bridge the cap can be kept charged continually.