This repository has been archived by the owner on Jun 30, 2021. It is now read-only.
Releases: derickson2402/Engr100-Solar-Tracker
Releases · derickson2402/Engr100-Solar-Tracker
Final Version
This project has been archived. You can see the results and learn more in README.md
.
Working Movement and Bluetooth
Bluetooth environmental data reporting has returned, but this time it is working and will not corrupt the Arduino! Good stuff!
Environmental data reports include:
- Ambient Temperature
- Maximum Irradiance
- Relative Sun Position
This data is sent on a configurable interval, using timing logic which runs as part of the main program.
Working Movement, No Bluetooth
The last several updates have been finally tested! New features include:
- Bluetooth functionality has been completely removed (see below)
- Better performance in different lighting environments
- Boundary handling for EW rotation servo motor
- Servo motor speed control
The following broad changes were made:
- Control algorithm for determining angle of light now uses percent error instead of a set difference
- There is a new boolean which toggles the inversion of the EW turning direction. This is used whenever the EW boundary is crossed or when the NS servo crosses 90º, which allows the EW servo motor (which only can rotate 180º) to cover 360º
Bluetooth has been removed:
- It was discovered that the bluetooth module interferes with the serial communications over USB, even when disconnected physically
- All bluetooth code has been removed so that the program will run
- In the future, bluetooth will be added again and will simply mirror the default serial port
Bluetooth Functionality
Bluetooth functionality has been added! When turned on, all serial data to the default serial device will also be sent as a serial stream over Bluetooth!