Skip to content

superoo7/solar_boat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solar Boat

Instruction

link

Description

An autonomous boat powered by solar that used Arduino Mega to collect data. Setup of microcontroller please check SENSOR.md

Video is below

vid

C++ short notes

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 use

in 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
  • Tested Use of temperature sensor LM35. circuit and codes: LM35

source: instructables

  • Turbidity sensor done reference
  • 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 ThingSpeak

Arduino 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
  • Jason
  • Anis
  • Puteri

License

read LICENSE.txt (MIT License)

Reference

Libraries

Referred Website