At the MASTER end, take the Comms pin to Vdd via a realively low-value Resistor - say 1K. The MASTER will normally be left in Receive (Input) mode until it wishes to Transmit. When transmitting, always idle HIGH and immediately on completion switch back to INPUT (Receive) mode.
At the SLAVE end, choose one of the Microchip micropower PICs. Take the comms line to your desired I/O pin. Connect a Diode from this pin (Anode) to the PICs Vdd pin (Kathode). Connect a Capacitor (at least 100uF) along with 100nF for decoupling between Vdd and Vss. The SLAVE is always in Receive (Input) mode until commanded by the MASTER to Transmit - and when doing so, always idle HIGH.
The main storage Capacitor at the SLAVE end will charge through the Resistor at the MASTER end. This will provide operating power for the SLAVE during the communications interchange. You may need to allow a couple of Seconds at Power-up for the SLAVE to come alive. If you have difficulty here, you may need to incorporate a Microprocessor PSU Supervisor IC to bring the PIC alive once the storage Capacitor has charged. Keep the communications interchange SHORT... MASTER sends a SEND DATA instruction to the SLAVE and the SLAVE then responds with a short burst in reply. Sending Tolstoy's "War and Peace" is not an option... that Capacitor will discharge long before you get to Chapter two... Don't attempt to send at high data rates... that low value Resistor (needed to charge the supply Cap) will round-off your nice pulses... so 1200 baud or lower is recommended.
Component count is two Capacitors and one Resistor... and if you're unlucky, a supervisor IC.
Bookmarks