Science Olympiad – Detector Build Event

Objective

 The objective of this event is to build a durable Mass/Force-sensing Device that will accurately measure and display both voltage and actual masses of different solid samples ranging from 30 to 1,000 grams.
 

Rules 

  • The Device is built using a microcontroller, a display, LEDs, and a sensor/probe.
  • Cannot plugin any devices into a power socket 
  • Measure mass ranging from 50g to 1kg 
  • Diameter of objects can be max at 8 cm
  • The sensor produces a voltage which varies according to the mass of the object.
  • The Device does not require a Wi-Fi/Internet connection at any time during the competition. (Raspberry PI and Mac cannot be connected to WIFI)
  • The sensor is constructed from fundamental electronic components such as FSRs, strain gauges, capacitors, resistors, wires, DIP IC chips, and surface mount adapter boards.
  • All supporting circuits are assembled on either a solderless or solderable breadboard.
  • None of the following are used: preassembled load cells where strain gauges are already wired together or attached to a flexible material, parts taken from such a preassembled load cell, printed circuit boards (except digital display boards), and integrated circuit daughterboards.
  • Use of Kits & Digital Fabrication sections of the VASO Constructed Devices Policy are met.
For. more information on rules, visit SciOly here

Written Test

Building blocks 

  1.  Breadboard and connector cables (To construct the circuit of leds, Integrated chips and resistors)
  2. A Force Resistance Sensor (FSR) (Square Force-Sensitive Resistor (FSR) – Alpha MF02A-N-221-A01). The sensor is a variable resistor. The resistance (output) is inversely proportional to the applied force (input). 
  3. Voltage divider, comprising of a fixed resistor and variable resistor (which is the FSR). As force varies the resistance, the drop voltage also changes, which is fed to MCP 3008 (ADC convertor). The output voltage varies based on mass, hence used to create a calibration curve based on variety of masses. 
  4. MCP3008 chip as ADC (Analog to digital convertor). Signal from FSR will be Analog and needs to be converted to a digital format as input to the Raspberry API. For this we need an Analog to Digital convertor. We used MCP3008.
  5. Mac as the display to view the results. Software: VNC / Remote Desktop/ SSH into the Raspberry PI so we can run the python code and view the results of our code.  Refer diagram below which explains the data flow:

MCP3008 to Raspberry PI mappings

We used the following mappings from MCP3008 to RaspberryPI. The output from the voltage divider (FSR) was feed into CH0 in MCP. 

  • MCP3008 VDD -> 3.3V (red)
  • MCP3008 VREF -> 3.3V (red)
  • MCP3008 AGND -> GND (black)
  • MCP3008 CLK -> SCLK (yellow)
  • MCP3008 DOUT -> MISO (purple)
  • MCP3008 DIN -> MOSI (white)
  • MCP3008 CS -> #22 (green)
  • MCP3008 DGND -> GND (black)
FSR/Voltage divider mappings
  • Connect one end of FSR to 3.3 V
  • Connect second end of FSR  to MCP 3008 Cho (i.e. PIN1)
  • Connect second end to resistor (for Voltage drop) and the other end of the resistor to Group. 
Reference: The above set up was created using the document below:
Analog Inputs for Raspberry Pi Using the MCP3008  (Good article on setting up the PI with MCP3008 to build censor). 

Reference Videos and Links

The video below is a start up tutorial on how to set up a basic circuit using an FSR (Force Sensor), connected to a breadboard with a basic circuit that sends a signal to a PIN on a Raspberry PI. The Raspberry PI runs a Python program to detect the signal as an input to print a message indicating there is pressure on the FSR. 

Use Video below to wire an MCP3008 Chip with Raspberry PI and FSR to get variable voltage (Analog to Digital). In you run into an error about missing libraries, follow the instructions here to get the Python libs needed to interface with the MCP 3008 chip here: https://learn.adafruit.com/circuitpython-on-raspberrypi-linux/installing-circuitpython-on-raspberry-pi

References

The link below is from Virginia SciOly team for Detector building. This is a great resource, and also has a video (in a chat format) explaining strategies and rules:  https://www.virginiaso.org/events-bc/detector-building

The SciOly Rules can be found here: https://www.soinc.org/sites/default/files/2022-09/Science_Olympiad_Div_C_2023_Rules_Manual_Web_.pdf

A great pdf to learn about how strain guages work: http://elektron.pol.lublin.pl/elekp/ap_notes/ni_an078_strain_gauge_meas.pdf

 

Design Log

Still working on the calibration, but for a quick peek, here is a desmos graph with some data points

8 thoughts on “Science Olympiad – Detector Build Event”

  1. I was very pleased to uncover this great site. I want to to thank you for ones time due to this fantastic read!! I definitely savored every little bit of it and i also have you saved to fav to see new stuff in your site.

  2. I blog often and I seriously thank you for your information. This article
    has truly peaked my interest. I will book mark your website and keep checking for new details about once per week.
    I opted in for your RSS feed as well.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top