Society of Robots - Robot Forum

Software => Software => Topic started by: pathakh on May 02, 2010, 10:41:33 PM

Title: compatibility with neattools www.neattools.org/
Post by: pathakh on May 02, 2010, 10:41:33 PM
HI there is a open source software called NEATTOOLS it was built for human computer interface, so is axon2 compatible with it? if not which other's can i use?
www.neattools.org/ (http://www.neattools.org/)
Title: Re: compatibility with neattools www.neattools.org/
Post by: billhowl on May 03, 2010, 12:18:57 AM
You can program the Axon2 to be compatible TNG3B device then it will compatible with NEATTOOLS.
Based on the FAQ on TNG3B
http://www.sensyr.com/TNG3B/TNG3B.FAQ.pdf (http://www.sensyr.com/TNG3B/TNG3B.FAQ.pdf)
Quote
2. How does TNG-3B work?
TNG-3B continuously reads its 8 analog-to-digital converter (ADC) inputs and 8
digital input bits and transmits this information in 10-byte data blocks at 19.2k
baud on its RS-232 compatible output line. The ADC resolution is 8 bits (0-255).
The power to operate TNG-3B is derived from the RTS, DTR, and serial data
lines.

8. How fast is TNG3?
The standard unit is connected at 19.2k Baud (kbps). That’s 19,200 bits or 1,920
bytes sent every second. TNG4 sends the data for all eight ADC channels and
each digital input in a 10-byte data packet. Packets are sent continuously. At
19.2k Baud, that translates into 192 data packets sent every second.
Each analog channel is actually sampled 416 times per second. The result of each
acquisition is added to the result of the previous acquisition and the sum is rightshifted
one bit (divided by 2) to form the next result. This moving-average filter
provides a limited low-pass filter. In practical terms, large voltage steps are not
fully realized for 3-5 data packets, depending on the magnitude of the voltage
step.


30. I want to collect data with my own program. What’s the data format?
Each data packet is as follows:
From TNG-3B:
Separator Byte: AAh (10101010) alternating with 55h (01010101).
Analog Channel 1 (8-bits)
Analog Channel 2
Analog Channel 3
Analog Channel 4
Analog Channel 5
Analog Channel 6
Analog Channel 7
Analog Channel 8
B-Port Digital Data (8 bits)


It operate 19.2Kbps serial with 10 Bytes (8 X 8 bits Analog input and 8 Digital input).