-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Jonathan Ma edited this page Dec 8, 2023
·
27 revisions
- Change downlink period
- By making this a large value, this meets the requirement to stop downlinking completely
- No-op
- ChipSats shall not downlink at the same time. One ChipSat will have an initial delay to make the ChipSats offset.
- ChipSats shall stop downlinking if they have not received an uplink in over 24 hours. This requirement is met by using an alive time counter which is NOT stored in EEPROM. If alive time exceeds 24 hours, downlinking is disabled.
- Downlinks are always the same length. If a sensor fails, those sensor values are 0.
- downlink period only resets upon successful downlink
Wirings are from ChipSat -> Arduino
Arduino 1 (For uploading code)
- SCK -> Pin 13
- MI(SO) -> Pin 12
- MO(SI) -> Pin 11
- RST -> Pin 10
- VCC -> 5V
- GND -> GND
Arduino 2 (For serial output, make sure to use same ground)
- TX -> TX
- RX -> RX
- TX -> TX
- RX -> RX
- RST -> RESET
- VCC -> 3.3V
- GND -> GND
- Make sure "Tools > Programmer > Arduino as ISP" is checked
- Set the target board to Arduino Uno
- Load the program "Examples > 11.ArduinoISP > ArduinoISP"
- Upload this program to the Uno
- Follow the instructions of step 3 of the tutorial here to add the MiniCore library to the Arduino IDE
- Set the target board to "MiniCore > ATmega328"
- Ensure the variant is "328P / 328PA"
- Burn the bootloader onto the ChipSat from "Tools > Burn Bootloader"
- Upload ChipSat code using "Sketch > Upload Using Programmer"
Note that if this is your first time uploading code to the ChipSat, you must complete the Arduino IDE steps above before you can use PlatformIO.
- Upload using the "program_via_ArduinoISP" environment
Use Arduino as ISP to Burn Bootloader on AVR Microcontrollers