Shop OBEX P1 Docs P2 Docs Learn Events
lego sensers — Parallax Forums

lego sensers

BadgerBadger Posts: 184
edited 2008-10-22 17:21 in General Discussion
Hello

has anyone ever used lego robotic kit 2.0 censors on a bs2 i have a boe and a hwb my boe has a bs2px chip.

just wondering if someone has and how they did it.

Badger

Comments

  • Lab RatLab Rat Posts: 289
    edited 2008-10-20 18:05
    i would imagine that if you popped the cover on the sensor and create a schematic from that then cross reference the pinout and work from there

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Parallax posesses power beyond belief.

    Believe in it.
  • TeslaTesla Posts: 55
    edited 2008-10-20 19:40
    The new NXT mindstorms have full schemetics and programing code for the whole NXT system. Completly opened it up schemcatics and code.
  • BadgerBadger Posts: 184
    edited 2008-10-20 22:02
    hello

    it is not the ntx it is the one below that it is the 2.0 so have any idea's


    Badger
  • TeslaTesla Posts: 55
    edited 2008-10-20 22:07
    What sensor are you trying to interface with. If it is anything like the NXT's sensors and parts, most of them are very easy to interface with.

    Just FYI for anyone else the ultasonic distance sensor to the NXT is I2C interface. Also the NXT has rs-485 and I2C bus that you can interface with.
  • pwillardpwillard Posts: 321
    edited 2008-10-22 03:19
    The original Mindstorms sensors used a two wire system very much like Dallas 1-wire.· It was a closed system but there are people who have reverse engineered the interface and were able to create compatible sensors.

    The Second version of Mindstorms from LEGO is the NXT and it is basically I2C.

    Mike Gasperi is head GURU for Version 1 mindtsorms sensors.· Granted, he was ADDING sesors... but the discussions leave you with an understanding of the whols process.

    http://www.extremenxt.com/lego.htm

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔


    There's nothing like a new idea and a warm soldering iron.
  • TeslaTesla Posts: 55
    edited 2008-10-22 17:21
    All but one sensor that comes with the NXT stock is I2C. THe input ports on the NXT had ADC channels. The ultra-sonic distance sensor is the only one that uses I2C .Also has a RS-485 interface that is un-used in it's stock config.

    Also scince the NXT is open source, there are legacy blocks(for the orignal mindstorm) in its programing(the labview style programing) that might help you reverse engineer what you need to know.
Sign In or Register to comment.