KITRONYX
  • Home
  • Applications
  • Store
    • How to Order
    • Tracking
    • Product >
      • Solutions
      • Controllers
      • Sensors
      • Accessories
      • Software >
        • Snowforce 3
        • ForceLAB 2
  • Support
  • Downloads
  • Contact
  • 한국어

FSR and Snowboard - Yet Another Approach

12/9/2014

0 Comments

 
Picture
Adding a single zone FSR (Force Sensitive Resistor) sensor is pretty simple thanks to the Snowboard's onboard force touch controller. This force touch controller is able to handle up to 160 single zone FSR sensors simultaneously with total scanning time less than 20 ms (120 us for each single sensor). This onboard controller always scan 160 sensing points when requested. However, in some case, you just want to use one or two FSRs and very fast response from them.

The easiest way to achieve this is to combine the Arduino and reference resistors in the Snowboard.
Let's first start with an example. Wire your FSR and the Snowboard as shown below.
Picture
It is convenient to use a small breadboard to implement the wiring above.
Picture
Then, upload the following code to the Snowboard.
Run Serial Monitor from Arduino IDE. Squeeze the FSR sensor. You can see that FSR reading is changed according the applied pressure. Speed of reading a single zone FSR sensor is at most 120 us which is quite fast enough for most applications (such as musical instrument).
Picture
Now we are in a position to know how it works. On the Snowboard, there are An pins which is part of Snowboard's connectors for force matrix sensors.
Picture
These pins are connected to 10 kOhm reference resistor as shown below.
Picture
According to the wiring above, an equivalent circuit is constructed as follows. D8 drives the whole circuit by applying 5V. Due to the serial connection of FSR and the 10 kOhm reference resistor, the applied +5V is divided across the two resistors, i.e. FSR and R1. The voltage acroos R1 is measured by A0 (analog input) pin of Snowboard whose value is

A0 (V) = 5 * R1 / (R_FSR + R1)

where R_FSR is the resistane of FSR sensor. It should be noted that this value is decresed according to the applied pressusre. When this voltage is measured by A0 (analog pin), this value is digitized between 0 and 1024. 0 and 1024 correspond to 0V and +5V, respectively.
Picture
Since there are six analog pins on the Snowboard, you can attach 6 FSR sensors with this approach. If you need to attach more FSR sensors, then use this method.
0 Comments



Leave a Reply.

    RSS Feed

    Archives

    May 2022
    August 2021
    June 2021
    January 2020
    December 2019
    August 2019
    June 2019
    May 2019
    April 2019
    March 2019
    February 2019
    January 2019
    December 2018
    November 2018
    October 2018
    September 2018
    August 2018
    June 2018
    May 2018
    April 2018
    March 2018
    February 2018
    June 2017
    March 2017
    February 2017
    December 2016
    October 2016
    August 2016
    May 2016
    March 2016
    February 2016
    January 2016
    December 2015
    October 2015
    September 2015
    February 2015
    January 2015
    December 2014
    November 2014
    October 2014
    September 2014
    August 2014

    Categories

    All
    Application Examples
    Demo
    News
    Projects
    Tutorial

#905, 115, Gasan digital 2-ro, Geumcheon-gu, Seoul, Korea, 08505
Contact Us via Email and Social Networks
​Copyright (c) 2014-2022 Kitronyx Inc. All Rights Reserved.

Trademark Legal Notice

All product names, trademarks and registered trademarks are property of their respective owners. All company, product and service names used in this website are for identification purposes only. Use of these names,trademarks and brands does not imply endorsement.
All other trademarks cited herein are the property of their respective owners.
  • Home
  • Applications
  • Store
    • How to Order
    • Tracking
    • Product >
      • Solutions
      • Controllers
      • Sensors
      • Accessories
      • Software >
        • Snowforce 3
        • ForceLAB 2
  • Support
  • Downloads
  • Contact
  • 한국어