One wire serial comms on +5V line


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    On the Master send the 5volt line + 1volt or more (as Offset)+ Serial data modulated on with a sufficient amplitude. At the other end, use an LDO voltage regulator... not 7805.
    You'll extract your serial data with a simple voltage comparator between your voltage regulator output and it's input.

    This could work great... not a fan of that method but could work.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  2. #2
    Join Date
    Jun 2004
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    Ok, I've got the ideea, but it's still unclear to mehow should I do this. Why do I have to use LDO ? And how do I modulate the data, through a transistor ? or ..

  3. #3
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    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.

  4. #4
    Join Date
    Jun 2004
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    Thank you very much Melanie. This is a great ideea. Hope it works.

Similar Threads

  1. Serial Comms through TX/RX pair jumbled
    By altech6983 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 28th July 2009, 22:04
  2. Loop with two motor and 2 sensors
    By MrRoboto in forum mel PIC BASIC
    Replies: 4
    Last Post: - 9th December 2008, 00:40
  3. Some comments on serial comms please.
    By muddy0409 in forum Schematics
    Replies: 1
    Last Post: - 15th June 2007, 10:53
  4. having problems with Hantronix 20x4 lcd
    By Rhatidbwoy in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 22nd December 2005, 13:22
  5. Serial comms on VCC line
    By MegaADY in forum mel PIC BASIC Pro
    Replies: 23
    Last Post: - 26th November 2005, 11:04

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts