https://github.com/superoo7/solar_boat
The iOT part of the solar boat (DONE)
https://github.com/superoo7/solar_boat
arduino c c-plus-plus cpp dissolved-oxygen-sensor iot mega platformio temperature-sensor thingspeak turbidity-sensor ultrasonic-sensor uno wifi
Last synced: about 1 month ago
JSON representation
The iOT part of the solar boat (DONE)
- Host: GitHub
- URL: https://github.com/superoo7/solar_boat
- Owner: superoo7
- License: mit
- Created: 2017-04-13T00:37:43.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-04T03:01:16.000Z (over 7 years ago)
- Last Synced: 2025-01-23T10:44:55.466Z (3 months ago)
- Topics: arduino, c, c-plus-plus, cpp, dissolved-oxygen-sensor, iot, mega, platformio, temperature-sensor, thingspeak, turbidity-sensor, ultrasonic-sensor, uno, wifi
- Language: C++
- Homepage: https://www.instructables.com/id/Sensors-and-MicroController-Used/
- Size: 782 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Solar Boat
## Instruction
[link](https://www.instructables.com/id/Sensors-and-MicroController-Used/)## Description
An autonomous boat powered by solar that used Arduino Mega to collect data.
Setup of microcontroller please check [SENSOR.md](https://github.com/superoo7/solar-boat/blob/master/SENSOR.md)Video is below
[](https://www.youtube.com/watch?v=F-L40Tb0cZ8)
## C++ short notes
[Notes.pdf](https://github.com/superoo7/solar-boat/blob/master/Notes.pdf)## Choices of IDE: Arduino IDE, Atom(with platformIO)
For making OOP work, if Arduino IDE is used, we need to make all the files into libraries.
Atom (platformIO) is a preferred method for developing large projects like this.## For testing:
we are using arduino UNO for testing and arduino MEGA for real usein platformio.ini change:
uno -> megaatmega2560`board = uno ;megaatmega2560`
### Done
* Done ThingSpeak API Setup
* OOP part done for: _UltraSonic_, _Turbidity_, _Dissolved O2_, _Temperature_
* Detect UltraSonic Distance using [HC-SR04](https://www.amazon.com/SainSmart-HC-SR04-Ranging-Detector-Distance/dp/B004U8TOE6)
* **Tested** Use of temperature sensor LM35. circuit and codes:
source: [instructables](http://www.instructables.com/id/ARDUINO-TEMPERATURE-SENSOR-LM35/)
* Turbidity sensor done [reference](https://www.dfrobot.com/wiki/index.php/Turbidity_sensor_SKU:_SEN0189)
* added library
* Done OOP Object setup
* Basic setup of ThingSpeak (update and read) in reference### reference/leo
Original file by leo
Arduino 1 has the GPS module, if you want to test it, test it on the TinyGPS++ "Full example" first, once it is okay, run the Final Arduino 2 file, that file is to upload the GPS to ThingSpeakArduino 2 attaches the compass for the bearing, which is supposedly to be run on Autopilot Main file
### reference/ThingSpeak
#### Thingspeak for testing:##### UPDATE
`https://api.thingspeak.com/update?api_key=APIKEYS&field1=1&field2=2&field3=3`
The thingspeak will return a number that indicates the location/sequence of the number##### READ from public
`https://thingspeak.com/channels/123456`### Contributors
* Leo
* [Lai](http://www.github.com/superoo7)
* Jason
* Anis
* Puteri### License
read [LICENSE.txt](https://github.com/superoo7/solar-boat/blob/master/LICENSE.txt) (MIT License)### Reference
#### Libraries
* [OneWire.h](https://github.com/PaulStoffregen/OneWire)
* [DallasTemperature.h](https://github.com/milesburton/Arduino-Temperature-Control-Library)#### Referred Website
* [UltraSonic HC-SR04 setup](http://howtomechatronics.com/tutorials/arduino/ultrasonic-sensor-hc-sr04/)
* [ThingSpeak Arduino setup](http://community.thingspeak.com/tutorials/arduino/send-data-to-thingspeak-with-arduino/)
* [ThingSpeak GitHub (check example)](https://github.com/mathworks/thingspeak-arduino)
* [GPS Setup visualisation](https://www.youtube.com/watch?v=D20uSl_JHrk)