MechFriesen / NRC

Buoyant foundation project firmware
0 stars 0 forks source link

# NRC Buoyancy testing for prototype 1: Floating Pavilion

How to use the .hex files.

Step 1. Download the Teensy Loader Application (https://www.pjrc.com/teensy/loader.html)
Step 2. Open the .hex file that you want to run. (File->Open HEX File)
Step 3. Plug in main board to computer and follow Teensy Loader prompts to load program
Step 4. It's logging to an SD card (if there's one in the Teensy). You can also monitor the Teensy with a serial monitor.

Be sure to record meta-data like which moon board (eg. R2A) is being used. This is needed in order to determine the conversion from unitless ADC integers to floats with proper units.

Teensy Setup

https://www.pjrc.com/teensy/tutorial.html

Connections

LSM9DS1 Teensy (Breadboard) SPI Name
VIN Vin +
GND GND -
SCL 13 20 (R) SCK0
SDA 11 19 (L) MOSI0
CSAG 15 18 (R) CS0
SDOAG 12 20 (L) MISO0
Wind Speed
black 2
Wind Direction
green 20

Libraries used

Sensor Specifications and conversion equations

Anemometer

Davis 6410
Datasheet

Temperature, main board (TMP20)

Conversion equations