Shop OBEX P1 Docs P2 Docs Learn Events
4 wired and 2 wired configuration — Parallax Forums

4 wired and 2 wired configuration

EvilMarozEvilMaroz Posts: 4
edited 2009-12-30 07:59 in Robotics
Hi

Anyone can answer me what is the different between the 4 wired and 2 wired configuation as i can't really see a different in it.·

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2009-12-30 05:41
    4 wired and 2 wired what? You need to explain what you're talking about.
  • EvilMarozEvilMaroz Posts: 4
    edited 2009-12-30 05:58
    hi i mean some sensor are configure in 4 wired configuration and some in 2 wired what is the different?
  • Mike GreenMike Green Posts: 23,101
    edited 2009-12-30 06:08
    Some sensors use what's known as an SPI interface. This uses typically 3 or 4 wires, a device select, clock, input data, and output data lines. Sometimes the input data and output data can share a wire. Some sensors use what's known as an I2C interface. This always uses a clock line (SCK) and a data line (SDA), both of which can be bidirectional. Some sensors use an asynchronous serial interface. This can use 1 or 2 wires depending on whether it's input only or input/output. Other sensors may use analog signals or other digital interfaces. There are all sorts of possibilities. All of these also include a ground wire. You can find descriptions of SPI and I2C in the Wikipedia.
  • EvilMarozEvilMaroz Posts: 4
    edited 2009-12-30 07:59
    ok thank alot for help Mike Green
Sign In or Register to comment.