SingleTact SingleTact Calibrated Скачать руководство пользователя страница 1

USER MANUAL 

 

EXPERIENCE 

INCREDIBLE 

PERFORMANCE 

 

 

 

V2.3 

Содержание SingleTact Calibrated

Страница 1: ...USER MANUAL EXPERIENCE INCREDIBLE PERFORMANCE V2 3 ...

Страница 2: ...5 Conversion Detail 13 2 6 Product Categories 14 3 TROUBLESHOOTING SingleTact 15 3 1 Arduino UNO not detected by PC 16 3 2 Invalid setting error on PC Popup reports Failed to set 16 3 3 No Analog output remains at 0V 16 3 4 Analog output stays at 0 5V 16 4 EXAMPLE USE CASE 17 4 1 PC and Arduino Example 18 4 2 Programming the Arduino UNO with SingleTact Example 20 4 3 Arduino Demo Outline 22 4 4 Ex...

Страница 3: ...terface Board Figure 2 Use Case Configurations 1 In addition to the data acquisition example a NET library is available to download for simple integration into a user s own software suite See Example NET API 2 Supports over 100 SingleTact interface boards on a single I2C bus The interface board firmware can be modified to fit user s specific use cases if required please contact PPS to discuss this...

Страница 4: ...pg 4 Copyright 2017 www SingleTact com 2 INTERFACE DESIGN ...

Страница 5: ... parameters Parameter Value Supply Voltage Vcc 3 7 12V I2C clock frequency 100KHz or 400KHz I2C bus level 3 5V I2C output range sensor data 10 bit Operational FSR output 9 bit Analog output range 0 2V Operational FSR output 0 5 1 5V Permitted analog output load 5K Frame Sync level 3 3V CMOS output Sensor update rate I2C or analog 140Hz dependent on settings SingleTact com 1 2 3 4 5 6 7 8 MCU Note ...

Страница 6: ...uld be unloaded at power on to allow the sensor s baseline to be registered correctly NOTE An output below 0 5V may indicate negative pressures which occur when the sensing area is under tension This should be avoided since it can damage the internal structure of the sensor NOTE Sensor over pressure should be limited to less than 3x FSR to avoid damaging the sensor Figure 5 Analog Output OVER PRES...

Страница 7: ...nd Arduino Example NOTE As the interface board will always respond to address 0x04 then this address must be considered reserved for SingleTact Where multiple SingleTact interfaces are to be connected to the same I2C bus then address 0x04 must be considered invalid and in this use case the configurable address of all connected SingleTact nodes must be individually changed from the default value be...

Страница 8: ... SETTING 0 I2C Address 4 127 1 User configurable serial number MSB 2 User configurable serial number LSB 3 Reserved 4 Reserved 5 Capacitive Sense Accumulator Default 0x04 1 6 Capacitive Sense Reference Gain Default 0x01 1 7 Reserved 8 Capacitive Sense Discharge Time Default 0x03 1 Control and Status 0 111 Output Sensor Data 128 191 Writes get stored to Flash Read Only ...

Страница 9: ...imiter leave as 0xFF 15 First element to scan set to 0 16 39 Reserved 40 Delimiter leave as 0xFF 41 Sensor baseline MSB 42 Sensor baseline LSB 43 90 Reserved 91 Delimiter leave as 0xFF 92 127 Reserved 128 Frame index MSB increments on each new reading 129 Frame index LSB increments on each new reading 130 Sensor Timestamp MSB 0 1ms increments 1 131 Sensor Timestamp LSB 0 1ms increments 1 132 Senso...

Страница 10: ...pdate the internal flash memory so settings are persistent through a power cycle Bytes 3 to N 1 where N is the packet length contain the data to be written to consecutive registers Data may be written to the first 128 bytes excluding reserved locations Writing outside of the valid range will fail Configuration registers on Calibrated sensors interfaces are protected from modification Table 3 Write...

Страница 11: ...o 0x3FF corresponding to the 0 to 2V analog output range The functional sensor FSR output range is 9 bits from x0100 to 0x2FF corresponding to the 0 5V to 1 5V analog output range The larger 10 bit total range allows for detection of negative values when the sensor is under tension and some level of over pressure detection The sensor should be unloaded at power on to allow the sensor s baseline to...

Страница 12: ...00 may indicate negative pressures which occur when the sensing area is under tension This should be avoided since it can damage the internal structure of the sensor NOTE Sensor over pressure should be limited to less than 3x FSR to avoid damaging the sensor Table 5 I2C Master Read from Slave Data Packet Format BYTE FROM SENSOR 0 31 Register Data Read Location Read Location 31 number of bytes read...

Страница 13: ...increased precision within a given sensor s valid operating range the digital scaling value can be adjusted in 0 01 increments A value of 100 represents unity scaling 100 x 0 01 The internal capacitance to digital converter CDC operates at 140 to 4000 Hz depending on the capacitance sensor settings in particular the number of accumulations Each time the CDC completes a measurement OVER PRESSURE NE...

Страница 14: ...e generic electronics interface from PPS is suitable for use with the Standard sensors With a standard sensor fitted and loaded to its specified maximum force e g 45N for a 45N sensor the scaling factor may be configured via the I2C bus to generate an I2C sensor value equal to 511 and equivalent analog output of 1 5V to ensure the sensor is operating within its valid range Calibrated sensors offer...

Страница 15: ...pg 15 Copyright 2017 www SingleTact com 3 TROUBLESHOOTING SingleTact ...

Страница 16: ...orts Failed to set Likely reason faulty pin connection 3 3 No Analog output remains at 0V Check wire connections and ensure that you are powering the sensor Likely reasons Power Ground or output connection in the wrong place power supply is off or faulty 3 4 Analog output stays at 0 5V Likely reason Possible sensor fault o Check sensor orientation see Figure 3 o If in error analog output will stay...

Страница 17: ...pg 17 Copyright 2017 www SingleTact com 4 EXAMPLE USE CASE ...

Страница 18: ...ce the Arduino board has been programmed with the SingleTact firmware see Programming the Arduino UNO with SingleTact Example the PC application can be run to visually observe the sensor results As the Arduino code is stored in flash the programming or upload in Arduino terms only needs to be done once for a new board Figure 9 Arduino and SingleTact Assembly Note USB communication may need additio...

Страница 19: ...C DAQ software The PC application can be used to change the sensor s I2C address and to modify its output scaling For more information on these settings please refer to the I2C Interface section CONNECTION No Connect Arduino UNO pin A4 No Connect Arduino UNO GND pin 1 4 3 2 8 5 6 7 CONNECTION No Connect Arduino UNO pin A5 No Connect Arduino UNO 5V pin PIN NUMBER Note Reference Gain will automatica...

Страница 20: ...g the supplied USB cable 4 Open the Arduino IDE software Figure 12 Arduino PC connection Note USB communication may need additional driver installation from Arduino software package See https www arduino cc en Guide Windows toc4 for further information Follow the step by step instructions 1 Go to File Open and open SingleTactDemo ino 2 Go to Sketch Include Library Add zip Library and select Timer1...

Страница 21: ...pg 21 Copyright 2017 www SingleTact com Figure 13 Arduino integrated development environment Figure 14 Compiling and uploading the SingleTactDemo ino file ...

Страница 22: ...o Application flow PC 1 Arduino Uno N SingleTacts Request data I2C Send sensor data Send new data to PC If new data compare itr update Graph repeats repeats Request data USB UART Scan sensors repeats Transfer to output buffer and timestam p Read output buffer Scan cycle is asynchronous Loop Relay commands over I2C Command needs I2C result Send result ack to PC Read result over I2C Y Parse command ...

Страница 23: ...in NET The Arduino calculates a timestamp for each packet using the Arduino s crystal controlled oscillator This can be used as the time for each sensor The serial commands which mirror the raw I2C commands as shown in blue in Figure 17 are outlined in the following tables Header and footer bytes are added to easily delimit serial packets A timeout can be specified for I2C transfers ...

Страница 24: ... 0xFF 2 Header 0xFF 3 Header 0xFF 4 I2C address of sensor 5 Timeout in 100ms increments 6 ID echoed in reply 7 Read 0x01 or Write 0x02 8 Read write location 9 N bytes to read write max 32 10 10 N 1 Data to write 0 bytes for read request 11 N 0xFF signifies end of packet 12 N Footer 0xFF 13 N Footer 0xFF 14 N Footer 0xFF 15 N Footer 0xFF ...

Страница 25: ... FROM ARDUINO TO PC 0 Header 0xFF 1 Header 0xFF 2 Header 0xFF 3 Header 0xFF 5 1 if timeout exceeded 6 ID echoed transmit ID 7 Timestamp MSB 8 Timestamp 9 Timestamp 10 Timestamp LSB 11 N I2C bytes to be sent max 32 12 12 N I2C data 13 N Footer 0xFE 14 N Footer 0xFE 15 N Footer 0xFE 16 N Footer 0xFE ...

Страница 26: ...eir own I2C address Creating a SingleTact interface is as simple as arduinoSingleTactDriver Initialise COMport Start Arduino driver singleTact_ I2cAddressForCommunications 0x04 Set I2C address singleTact_ Initialise arduinoSingleTactDriver Start sensor The sensor is read using the following SingleTactFrame newFrame singleTact_ ReadSensorData Get sensor data if null newFrame If we have data Process...

Страница 27: ...ources SingleTact homepage http www singletact com I2C bus specification and user manual VERSION 6 April 2014 http www nxp com documents user_manual UM10204 pdf Arduino home https www arduino cc Microsoft NET Framework https www microsoft com net ...

Страница 28: ...Digital Converter DAQ Data Acquisition FFC Flexible Flat Cable connector FSR Full Scale Range I2C Inter IC bus IDE Integrated Development Environment LSB Least Significant Byte MSB Most Significant Byte NET A Microsoft NET software framework NVM Non Volatile Memory RS 232 A serial communications standard ...

Страница 29: ...ectively 6 Section 2 3 Removed reference to I2C high speed mode Updated detail on multiple sensor interfaces sharing a single I2C bus 7 Section 2 4 3 Added detail on I2C Sensor Output data values 8 Section 2 5 corrected output scale resolution from 12 bit to 10 bit and clarified operating output values 9 Added Section 2 6 Product Categories 10 Figure 10 Removed Set Reference Gain control from the ...

Отзывы: