SingleTact Standard User Manual

Single element tactile pressure sensor

Advertisement

USER MANUAL

EXPERIENCE
INCREDIBLE
PERFORMANCE
V2.3

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SingleTact Standard and is the answer not in the manual?

Questions and answers

Summary of Contents for SingleTact SingleTact Standard

  • Page 1: User Manual

    USER MANUAL EXPERIENCE INCREDIBLE PERFORMANCE V2.3...
  • Page 2: Table Of Contents

    No Analog output (remains at 0V)......................16 Analog output stays at 0.5V........................16 EXAMPLE USE CASE ............................17 PC and Arduino Example ........................18 Programming the Arduino UNO with SingleTact Example..............20 Arduino Demo Outline ........................... 22 Example .NET API ........................... 26 Resources ..............................27 Glossary .................................
  • Page 3: Introduction

    Arduino digital interface and simple C# PC DAQ software (see EXAMPLE USE CASE) All demo and API source code is open source and can be downloaded from: www.singletact.com. Figure 1 SingleTact Sensor and Interface Board Figure 2 Use Case Configurations Analog Analogue Out.
  • Page 4: Interface Design

    2 INTERFACE DESIGN pg. 4 Copyright © 2017- www.SingleTact.com...
  • Page 5: Connectivity

    0 – 2V (Operational FSR output 0.5 – 1.5V) Analog output range Permitted analog output load >5K Frame Sync level 3.3V CMOS output Sensor update rate (I C or analog) >140Hz (dependent on settings) pg. 5 Copyright © 2017- www.SingleTact.com...
  • Page 6: Analog Interface

    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 2.0V OVER PRESSURE 1.5V VALID RANGE 0.5V NEGATIVE PRESSURE Force or Pressure pg. 6 Copyright © 2017- www.SingleTact.com...
  • Page 7: I 2 C Interface

    I C 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 before each SingleTact is added to the multi-node bus.
  • Page 8 C Address (4-127) User configurable serial number MSB User configurable serial number LSB Reserved Reserved Capacitive Sense (Accumulator) Default 0x04 Capacitive Sense (Reference Gain) Default 0x01 Reserved Capacitive Sense (Discharge Time) Default 0x03 * pg. 8 Copyright © 2017- www.SingleTact.com...
  • Page 9 Delimiter – leave as 0xFF 92-127 Reserved Frame index MSB (increments on each new reading) Frame index LSB (increments on each new reading) Sensor Timestamp MSB (0.1ms increments) Sensor Timestamp LSB (0.1ms increments) Sensor output MSB pg. 9 Copyright © 2017- www.SingleTact.com...
  • Page 10: I 2 C Operations

    Reserved *1 Should only be used as a coarse estimate as it is subject to drift. 2.4 I C Operations C SingleTact supports three I C operations: Write, Read Request and Read. 2.4.1 I C Write Operation C bus Transfer: Master Write to Slave.
  • Page 11: I 2 C Read Request Operation

    Where a Read operating is preceded by a Read Request operation then the register offset and read length as set by the Read Request will be used. Data can be read from anywhere in the register block (addresses 0 – 191). pg. 11 Copyright © 2017- www.SingleTact.com...
  • Page 12 Table 5 I C Master Read from Slave Data Packet Format BYTE FROM SENSOR 0 - 31* Register Data Read Location-Read Location+31* * number of bytes read can be modified by a preceding read-request command. pg. 12 Copyright © 2017- www.SingleTact.com...
  • Page 13: Conversion Detail

    2.5 Conversion Detail The SingleTact electronics interface measures the capacitive sensor with 16-bit precision. This is scaled to a 10-bit digital (2V analog) output using the following calculation: ������ ���������������������� − ���������������� ���������������������� �������������������� ������������ = + ������ �������������� �������������� ����������...
  • Page 14: Product Categories

     the frame index increases by one  an active high pulse is produced on the frame synchronization output pin  a timestamp is generated by SingleTact interface board (however as there is no crystal oscillator this should only be used as a coarse estimate).
  • Page 15: Troubleshooting Singletact

    3 TROUBLESHOOTING SingleTact pg. 15 Copyright © 2017- www.SingleTact.com...
  • Page 16: Arduino Uno Not Detected By Pc

    Likely reason:  Possible sensor fault. o Check sensor orientation (see Figure o If in error analog output will stay at 0.49 - 0.5 V. o Digital output will remain on the baseline (0 counts). pg. 16 Copyright © 2017- www.SingleTact.com...
  • Page 17: Example Use Case

    4 EXAMPLE USE CASE pg. 17 Copyright © 2017- www.SingleTact.com...
  • Page 18: Pc And Arduino Example

    4.1 PC and Arduino Example An Arduino UNO board can be used to implement a USB serial interface to SingleTact. The code for an Arduino application (source) and an associated .NET based PC DAQ GUI application (both Windows executable and source) can be downloaded via www.singletact.com.
  • Page 19 Arduino UNO 5V pin To run the Windows GUI application:  Open the PCExecutable folder.  Run SingleTact Demo.exe to bring up the demonstration application. Figure 11 Demo of PC DAQ software *Note: Reference Gain will automatically change depending on the sensor size.
  • Page 20: Programming The Arduino Uno With Singletact Example

    4.2 Programming the Arduino UNO with SingleTact Example This process outlines how to program the Arduino UNO with SingleTact example firmware. 1. Download and install the Arduino Software from: https://www.arduino.cc/en/Main/Software 2. Download the Arduino firmware (ExampleArduinoInterface) from: www.singletact.com 3. Connect the Arduino to the PC using the supplied USB cable.
  • Page 21 Figure 13 Arduino integrated development environment Figure 14 Compiling and uploading the SingleTactDemo.ino file pg. 21 Copyright © 2017- www.SingleTact.com...
  • Page 22: Arduino Demo Outline

    Loop Command needs I2C result? Command? (*1 Note: The Arduino contains a crystal Read result over oscillator so it is able to produce a more accurate time stamp than the SingleTact Parse command interface board.) packet Timestamp reading*1 Relay commands...
  • Page 23 C 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 I C transfers. pg. 23 Copyright © 2017- www.SingleTact.com...
  • Page 24 0 bytes for read request 0xFF – signifies end of packet 11 + N 12 + N Footer = 0xFF 13 + N Footer = 0xFF 14 + N Footer = 0xFF 15 + N Footer = 0xFF pg. 24 Copyright © 2017- www.SingleTact.com...
  • Page 25 Timestamp MSB Timestamp Timestamp Timestamp LSB C bytes to be sent (max 32) 12 -> 12+N C data 13+N Footer = 0xFE 14+N Footer = 0xFE 15+N Footer = 0xFE 16+N Footer = 0xFE pg. 25 Copyright © 2017- www.SingleTact.com...
  • Page 26: Example .Net Api

    For convenience the low level PC interface is encapsulated in two .NET components. 1. ArduinoSingleTactDriver – The basic Arduino interface. The user must create one of these. 2. SingleTact – There can be multiple SingleTacts each with their own I C address.
  • Page 27: Resources

    5 Resources 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 pg. 27 Copyright © 2017- www.SingleTact.com...
  • Page 28: Glossary

    Data Acquisition Flexible Flat Cable (connector) Full Scale Range Inter IC bus Integrated Development Environment Least Significant Byte Most Significant Byte .NET A Microsoft .NET software framework Non-Volatile Memory RS-232 A serial communications standard pg. 28 Copyright © 2017- www.SingleTact.com...
  • Page 29: Revision History

    1) Fixed Table 1 to show correct maximum supply voltage (12V rather than 5V as stated) 2) Updated Copyright year to 2017 Revision 2.3 1) Clarified 255 digital offset and added Figure 8 to demonstrate. 2) Add manual version to page 1. pg. 29 Copyright © 2017- www.SingleTact.com...

This manual is also suitable for:

Singletact calibrated

Table of Contents