Arduino: Difference between revisions
(→Theory) |
|||
(10 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
See also Python introduction how to plot csv (or log) data: [[Plot Cansat or any csv data using Python]] | See also Python introduction how to plot csv (or log) data: [[Plot Cansat or any csv data using Python]] | ||
== | == Arduino Curriculums == | ||
Tutorials for different Arduino curriculums | Tutorials for different Arduino curriculums | ||
Line 14: | Line 14: | ||
# Arduino Uno and also with Arduino Nano | # Arduino Uno and also with Arduino Nano | ||
# Display: SSD1306 0.96 inch I2C OLED // or 5110 (works 3.3V; is there i2c?). | # Display: SSD1306 0.96 inch I2C OLED // or 5110 (works 3.3V; is there i2c?). | ||
# Ledstrip to each side | # Ledstrip (WS2811 or WS2812) to each side | ||
# Analog Devices: | # Analog Devices: | ||
## NTC, | ## NTC, | ||
## | ## Led, | ||
## | ## Photo resistor (also phototransistor and photodiode) | ||
## Potentiometer | ## Potentiometer | ||
## | ## Resistor | ||
## | ## Push button | ||
# Li Battery | # Li Battery | ||
# Data storage | # Data storage | ||
Line 35: | Line 35: | ||
## Hall sensor (magnetic field) | ## Hall sensor (magnetic field) | ||
## Ultrasonic sensor | ## Ultrasonic sensor | ||
## Soil moisture (resistive/ capacitive) | |||
## Humidity sensor | ## Humidity sensor | ||
## Flame sensor | ## Flame sensor | ||
## UV light sensor | ## UV light sensor | ||
## Force sensor, Stretch sensor, Flex sensor, Tension sensor, Torque sensor | ## Force sensor, Stretch sensor, Flex sensor, Tension sensor, Torque sensor | ||
## Touch sensor | ## Touch sensor (capacitive) | ||
## Proximity sensor | ## Proximity sensor | ||
## Sound sensor | ## Sound sensor | ||
# (Air flow sensor | ## Rainfall sensor | ||
## Gas sensors (Most common MQ series) | |||
## Pressure (barometric) sensor | |||
## IR receiver | |||
## PIR sensor | |||
## Tilt sensor | |||
## GPS module | |||
## Radar sensor (eg RCWL-0516) | |||
## Heart rate sensor | |||
## Multiplexer | |||
# (Air flow sensor. Water flow sensor.) | |||
# (Motor controller; perhaps for a line follower vehicle) | # (Motor controller; perhaps for a line follower vehicle) | ||
== Sulphur == | |||
SO2/ H2S sensors | |||
* MICS-5524 CO, Ethanol, Hydrogen, Ammonia, Methane. Rs. | |||
* MQ136 | |||
* MQ2 | |||
* SO2-B4 SO2 Alphasense | |||
== Cansat == | |||
Arduino Cansat tutorials [[Cansat tutorials]] | Arduino Cansat tutorials [[Cansat tutorials]] | ||
Line 123: | Line 144: | ||
* https://docs.google.com/document/d/1bruEN23qnMu5oZSze9UNT5XXQ5hISCS8Bi35CEtzGw4/edit | * https://docs.google.com/document/d/1bruEN23qnMu5oZSze9UNT5XXQ5hISCS8Bi35CEtzGw4/edit | ||
* https://www.esero.fi/cb7-etusivu | * https://www.esero.fi/cb7-etusivu | ||
== Arduino vasta-alkajille == | |||
https://chlorinated-fire-b99.notion.site/Arduino-vasta-alkajille-1d33e865ff754964ab8ed1ae2db7a89d |
Latest revision as of 20:41, 9 October 2024
Introduction
Some Arduino related stuff.
Use e.g. Cool Term Win to save logged terminal data from serial monitor. The serial monitor need to be closed during the recording.
See also Python introduction how to plot csv (or log) data: Plot Cansat or any csv data using Python
Arduino Curriculums
Tutorials for different Arduino curriculums
Arduino Kit. Plans for a hexagonal not-so-simple school friendly Arduino setup
- Arduino Uno and also with Arduino Nano
- Display: SSD1306 0.96 inch I2C OLED // or 5110 (works 3.3V; is there i2c?).
- Ledstrip (WS2811 or WS2812) to each side
- Analog Devices:
- NTC,
- Led,
- Photo resistor (also phototransistor and photodiode)
- Potentiometer
- Resistor
- Push button
- Li Battery
- Data storage
- Radio (HC-12)
- SD card recorder
- Digital sensors
- MPU6050 // MPU9250 (included in gy-91). https://sureshjoshi.com/embedded/invensense-imus-what-to-know
- Barometer
- pH sensor
- CO2 sensor
- RF tag reader
- Color sensor
- Hall sensor (magnetic field)
- Ultrasonic sensor
- Soil moisture (resistive/ capacitive)
- Humidity sensor
- Flame sensor
- UV light sensor
- Force sensor, Stretch sensor, Flex sensor, Tension sensor, Torque sensor
- Touch sensor (capacitive)
- Proximity sensor
- Sound sensor
- Rainfall sensor
- Gas sensors (Most common MQ series)
- Pressure (barometric) sensor
- IR receiver
- PIR sensor
- Tilt sensor
- GPS module
- Radar sensor (eg RCWL-0516)
- Heart rate sensor
- Multiplexer
- (Air flow sensor. Water flow sensor.)
- (Motor controller; perhaps for a line follower vehicle)
Sulphur
SO2/ H2S sensors
- MICS-5524 CO, Ethanol, Hydrogen, Ammonia, Methane. Rs.
- MQ136
- MQ2
- SO2-B4 SO2 Alphasense
Cansat
Arduino Cansat tutorials Cansat tutorials
Arduino Cansat project. See also https://github.com/markkuleino/cansat/. See jumpers
- J2 and J3 are not connected, you can program the Arduino.
- J2 (and J3) connected: you can transmit data through the radio.
- J4 (and J5) connected: you enable data storage in the MicroSD-card.
- J6 connected: the EN pin on the APC220 radio module is connected to the digital port D7 on the Arduino.
- J7 or at J8 or both in order to connect power to the Gy-87/88/91.
- Blinking led
- GY-91 sensor acceleration
- Blinking led with GY-91
- GY-91 sensor measuring pressure
- GY-91: Measure both; acceleration and pressure
- NTC thermistor
- Datalogger
- APC220_Radio
- SCD-30 CO2 meter
- SCD-30 and GY-91: Measure all with two/three different sensors (one including two sensors).
- Beta fpv C04 Camera and VTX
- Plot_Cansat_or_any_csv_data_using_Python
Detailed (or hardcodre) instructions:
- GY-91
- I2c scanner
- GY-91 reading digital data
- Altimeter MPL3115A2
- SCD-40 CO2 sensor
Projects
- Led Matrix 8x7 using WS2811.
- Atmospheric Barometric Pressure Digital Sensor Module
- Camera OV7670
- RTL-SDR AIS Ship Tracking
- Muon CosmicWatch http://www.cosmicwatch.lns.mit.edu/
Cansat Arduino
Check the pins while uploading, saving or using memory card.
- Not found. . . Remove the pins.
- CanSat-laajennuspiirilevyssä on oikeanpuoleisen kuvan mukaisesti kaksi hyppyjohdinsarjaa, J2 ja J3.
- Kun J2- ja J3-hyppyjohtimia ei ole kytketty, voit ohjelmoida Arduinoa.
- Kun asetat hyppyjohtimet kohtiin J2-1 ja J2-2, voit lähettää tietoja radiolla.
- Kun asetat hyppyjohtimet kohtiin J3-1 ja J3-2, voit ottaa käyttöön tietojen tallentamisen SD-kortille (jos se on kytketty).
TASK | Sat-1 | Sat-2 | Sat-3 | Sat-4 |
---|---|---|---|---|
GY-91 | Runs burning hot. Acc values are zero | OK. Addresses 0x68 and 0x76 | Red light do not turn on. I2C_scanner do not find the sensors. | Works! |
NTC | Example | Example | Works! | |
Datalogger | Example | Example | Works. | |
Radio | Example | Example | Works |
Some local links
Esero manuals
- https://docs.google.com/document/d/1bruEN23qnMu5oZSze9UNT5XXQ5hISCS8Bi35CEtzGw4/edit
- https://www.esero.fi/cb7-etusivu
Arduino vasta-alkajille
https://chlorinated-fire-b99.notion.site/Arduino-vasta-alkajille-1d33e865ff754964ab8ed1ae2db7a89d