4,990
edits
(→Theory) |
(→Theory) |
||
(31 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
Use e.g. [https://coolterm.en.lo4d.com/windows Cool Term Win] to save logged terminal data from serial monitor. The serial monitor need to be closed during the recording. | Use e.g. [https://coolterm.en.lo4d.com/windows 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]] | |||
== Theory == | == Theory == | ||
Tutorials | Tutorials for different Arduino curriculums | ||
'''Arduino Kit'''. Plans for a not-so-simple school friendly Arduino setup | |||
# Arduino | |||
# MPU6050 // MPU9250 (included in gy-91). https://sureshjoshi.com/embedded/invensense-imus-what-to-know | |||
# Display: SSD1306 0.96 inch I2C OLED // or 5110 (works 3.3V; is there i2c?). | |||
# Ledstrip | |||
# NTC | |||
# Barometer | |||
# Potentiometer | |||
# Motor controller | |||
# Light diode | |||
'''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;_Arduino|Blinking led]] | * [[Blinking_led;_Arduino|Blinking led]] | ||
* [[GY-91 Sensor;_Arduino|GY-91 sensor]] | * [[GY-91 Sensor;_Arduino|GY-91 sensor acceleration]] | ||
* Blinking led with GY-91 | * Blinking led with GY-91 | ||
* GY-91 | * [[GY-91 Sensor measuring Pressure;_Arduino|GY-91 sensor measuring pressure]] | ||
* GY-91: Measure both; acceleration and pressure | |||
* [[NTC_thermistor;_arduino#Code|NTC thermistor]] | |||
* Datalogger | |||
* [[APC220_Radio;_Arduino|APC220_Radio]] | |||
* SCD-30 CO<sub>2</sub> 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]] | |||
* [[Switches and push buttons]] | |||
* [[Measurement of resistors: voltage divider]] | |||
Detailed instructions: | '''Detailed''' (or hardcodre) instructions: | ||
* [[Arduino_OKY3259-1_GY-BMP280|GY-91]] | * [[Arduino_OKY3259-1_GY-BMP280|GY-91]] | ||
* [[I2c scanner]] | |||
* GY-91 reading digital data | |||
* Altimeter MPL3115A2 | |||
* SCD-40 CO2 sensor | |||
'''Projects''' | |||
Projects | |||
* [[Arduino Led Matrix 8x7 WS2811|Led Matrix 8x7 using WS2811]]. | * [[Arduino Led Matrix 8x7 WS2811|Led Matrix 8x7 using WS2811]]. | ||
* [[Arduino OKY3259-1 GY-BMP280| Atmospheric Barometric Pressure Digital Sensor Module]] | * [[Arduino OKY3259-1 GY-BMP280| Atmospheric Barometric Pressure Digital Sensor Module]] | ||
* Camera OV7670 | * Camera OV7670 | ||
* [[RTL-SDR AIS Ship Tracking]] | * [[RTL-SDR AIS Ship Tracking]] | ||
* Muon CosmicWatch http://www.cosmicwatch.lns.mit.edu/ | |||
== Cansat Arduino == | |||
[[File:Cansat ver 7.jpg|thumb|Cansat Version 7]] | |||
[[File:Cansat verGDocs.jpg|thumb|Cansat Version .... This version has MPX4115A pressure sensor.]] | |||
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). | |||
{| class="wikitable" | |||
|+ Caption text | |||
|- | |||
! 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 | |||
* [[Cansat tutorials]] | |||
* [[Cansat]] | |||
* [[Cansat_tukoke]] | |||
* [[Cansat_2021-2022]] | |||
Esero manuals | |||
* https://docs.google.com/document/d/1bruEN23qnMu5oZSze9UNT5XXQ5hISCS8Bi35CEtzGw4/edit | |||
* https://www.esero.fi/cb7-etusivu |