Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
blocks:app-note:nexmosphere [2021-04-21 11:25]
mattias [Change settings on the controller or sensors]
blocks:app-note:nexmosphere [2023-12-20 13:21] (current)
mattias [Use Nexmosphere sensors and actuators with Blocks]
Line 1: Line 1:
 ======Use Nexmosphere sensors and actuators with Blocks====== ======Use Nexmosphere sensors and actuators with Blocks======
  
-This is an application note that describes how to get started using Nexmosphere sensors and actuators with experiences managed by Blocks. + 
 +This is an application note that describes how to get started using Nexmosphere sensors and actuators with experiences managed by Blocks. 
 + 
 +:!: The method in this application note is useful if connecting a Nexmosphere controller with a 3.5mm serial connector using a serial network server such as Moxa N-Port. From Blocks version 6.1 it is possible to connect a Nexmosphere with built-in serial to usb controller directly to Pixilab Players USB port. Please consult the manual for more details about serial devices in blocks.  
  
 =====Hardware requirements====== =====Hardware requirements======
Line 7: Line 10:
 In the examples we use the following hardware: In the examples we use the following hardware:
  
-Nexmosphere [[https://nexmosphere.com]]  +  * [[https://nexmosphere.com|Nexmosphere]] XN-180 Experience controllerThis is the "hub" devicewith a serial port connected using a 3,5mm jack. 
- +  XT-EF650 Gesture sensor. 
-XN-180 Experience controller (This is the hub, and this version has a 3,5mm serial port) +  XR-DR1 RFID Pick up sensor. 
- +  XW-L9 X-WAVE animating led strip. 
-XT-EF650 Gesture sensor +  Moxa [[https://www.moxa.com/en/products/industrial-edge-connectivity/serial-device-servers/general-device-servers/nport-5100-series|NPort 5100 Series]] - 1 Port Serial Device to TCP/IP Server. 
- +  3.5mm to D-SUB cable that connects the XN-180 to the Moxa Nport.
-XR-DR1 RFID Pick up sensor +
- +
-XW-L9 X-WAVE animating led strip +
- +
- +
-Moxa +
- +
-[[https://www.moxa.com/en/products/industrial-edge-connectivity/serial-device-servers/general-device-servers/nport-5100-series|NPort 5100 Series]] - 1 Port Serial Device to TCP/IP Server +
- +
-3.5mm to dsub cable that connects the XN-180 to the Moxa Nport.+
  
  
Line 144: Line 137:
  
 =====Program RFID tags to be used with Nexmosphere RFID sensors===== =====Program RFID tags to be used with Nexmosphere RFID sensors=====
 +
 +Nexmoshpere uses MIFARE Classic tags and can provide software available for Windows computers that can be used to program tags. This software can be obtained from their support once you got the hardware. 
 +
 +It is also possible to program tags using a mobile phone. I use an Sony phone with Android OS and NFC enabled. 
 +Using softare such as MIFARE Classic Tool as in my example it is possible to write any tag ID to your tags. 
 +
 +{{:blocks:app-note:nexmosphere:mifare_classic_tool.png?400|}}
 +
 +A valid tag ID has to be between 1-255, 01-FF in hex.
 +In the screenshot below where i  read a tag already programmed as tag ID 3, 03 in hex  is repeated in all 16 bytes in sector 1 block 0. 
 +
 +{{:blocks:app-note:nexmosphere:readnexmotag.png?400|}}
 +
 +If I want to program a new tag with no 255 I would set the application to write tag mode with the following settings and press the write tag button while holding the tag to the mobiles NFC sensor:
 +
 +{{:blocks:app-note:nexmosphere:writefftag.png?400|}}
 +
 +This should be the final result from reading the tag with ID 255.
 +
 +{{:blocks:app-note:nexmosphere:resultfftag.png?400|}}