​ ​ ​ ​ Lego NXT Hitechnics Sensors - Page 5
Page 5 of 5 FirstFirst ... 3 4 5
Results 41 to 43 of 43

Thread: Lego NXT Hitechnics Sensors

  1. #41
    Senior Member
    Join Date
    Nov 2012
    Location
    London
    Posts
    263

    Default

    Seven years later ....... !

    Seeing that these boards are currently half-price, I bought one to experiment with. Reading the NXT sensors is well-documented in this thread and easy to understand.

    However, can someone provide some more detail about what is the intended use of the "slave" mode (i.e. a "virtual sensor")? I don't understand what you would connect to the AXE216 board, and what would be sent to the NXT Brick. Could you, for example, connect a different sort of I2C sensor to the Picaxe so that the NXT Brick would be able to read it? If so, how would the NXT Brick interpret the data received? How do you know what to set the slave address to? Has anybody got any examples of doing this?

  2. #42
    Technical Support
    Join Date
    Jan 1970
    Location
    UK
    Posts
    23,878

    Default

    A virtual sensor would be like taking a NXT Temperature Sensor and replacing that with an AXE216 board with a thermistor wired to it. The PICAXE acts as the NXT Temperature Sensor, a 'virtual sensor'.

    As to I2C Addresses and any protocol; I recall that comes down to what the NXT Controller thinks it's dealing with. I believe we intended the hardware to be available and potentially useful for those who wanted to create virtual sensors, had an idea of how to do it, and weren't much concerned beyond that.

    There used to be a Lego NXT homebrew sensor scene a while ago which is perhaps still going and much of their stuff should still be online. They will likely be the best source of information on 'how to do it'.

  3. #43
    Senior Member
    Join Date
    Nov 2012
    Location
    London
    Posts
    263

    Default

    OK, thanks. I'll delve around in the NXT sensor community. I was thinking that, as the EV3 Brick can read NXT I2C sensors, it would also therefore be able to read the Picaxe virtual sensor. So the board wouldn't just be good for legacy NXT hardware.

    [EDIT]
    I found this page on using a PIC prototype board as a virtual sensor. That seems a good starting point.
    Last edited by stevesmythe; 10-01-2018 at 22:18. Reason: Added extra information

Bookmarks

Posting Permissions

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