Skip to content

Software for my ELEGOO Smart Robot Car Kit V3.0

License

Notifications You must be signed in to change notification settings

mcosti/ElegooCarV3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ElegooCarV3

Software for my ELEGOO Smart Robot Car Kit V3.0

The idea of the project is to have an object-oriented solution to control the car, and to have all features in one implementation.

Feature Status
Bluetooth remote controlled Implemented
Infrared remote controlled Implemented
Switching driving algorithm via bluetooth remote control Implemented
Manual mode 1 (Manual-1), brakes on obstacles Implemented. Only moves a short distance at a time
Manual mode 2 (Manual-2), brakes on obstacles Implemented. Keeps on moving until it gets stopped
Automatic mode 1 (Auto-1), continuous driving with obstacle avoidance Implemented. Has trouble recognizing soft obstacles, smaller obstacles, and walls if approached in angles < 45 degrees or > 135 degrees
Automatic mode 2 (Auto-2), interrupted driving with rescan of environment Implemented. Has trouble recognizing soft obstacles, smaller obstacles, and walls if approached in angles < 45 degrees or > 135 degrees
Line tracking support Planned

The Car

Image of the EleegoSmartRobotCarV3.0

IDE

Developing using the Sloeber IDE (for Windows) "Download 64 bits Bundle" from http://eclipse.baeyens.it/stable.php?OS=Windows

Libraries

Using following libraries:

Library Location
Servo Comes with the Sloeber IDE
IRremote - IRremote-2.2.3.zip http://www.arduinolibraries.info/libraries/i-rremote

Verify and Upload using the Arduino IDE

This software can also be used in combination with the regular Arduino IDE, as documented below:

Step Details
Download and install the Arduino IDE Download from https://www.arduino.cc/en/Main/Software and follow the provided instructions
Download and unpack the ElegooCarV3 package Download https://github.com/pieterbl/ElegooCarV3/blob/master/resources/ElegooCarV3.zip and unpack in your Arduino sketches directory, so that you have a directory ElegooCarV3 with the files ElegooCarV3.ino and the remaining files in it
Download and install the latest IRremote library version Follow the Installation instructions here https://github.com/z3t0/Arduino-IRremote/blob/master/README.md and make sure to follow the instructions regarding the RobotIRremote library. Download of version 2.2.3 is accessible here, too http://www.arduinolibraries.info/libraries/i-rremote
Restart the Arduino IDE and open ElegooCarV3.ino Make sure your car is connected with your computer. Press verify to verify the software, press upload to upload the software to the car
Download and configure the bluetooth app Download the bluetooth app from the below given locations. Configure the bluetooth app as described below
Drive the car Have fun and enjoy it

Driving the Car

This is how driving the car looks like https://github.com/pieterbl/ElegooCarV3/blob/master/ElegooCarV3.ino

Driving with Bluetooth

The bluetooth app can be found at the below listed locations:

Provider Location
Google, Andriod https://play.google.com/store/apps/details?id=com.femtoapp.rootsence.bleutils
Apple, iPhone https://itunes.apple.com/gb/app/elegoo-ble-tool/id1195318538

The bluetooth app must be configured in the following way:

Left Column Middle Column Right Column
Half Left (\) Forward (F) Half Right (/)
Left (L) Stop (S) Right (R)
Manual-1 (M) Backward (B) Auto-1 (1)
Manual-2 (N) empty Auto-2 (2)

Trouble Shooting

avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

Lots of articles on this in the Internet. For me, it means the bluetooth receiver must be removed from the car. It is preventing the upload of a new program version to the Arduino.

LaunchingC:\_SloeberV4.1\/arduinoPlugin/packages/arduino/tools/avrdude/6.3.0-arduino9/bin/avrdude -CC:\_SloeberV4.1\/arduinoPlugin/packages/arduino/tools/avrdude/6.3.0-arduino9/etc/avrdude.conf -patmega328p -carduino -PCOM3 -b115200 -D -Uflash:w:C:\_DATA\Dropbox\private\sloeber-workspace\ElegooCarV3/Release/ElegooCarV3.hex:i 
Output:
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

avrdude done.  Thank you.

/arduinoPlugin/packages/arduino/tools/avrdude/6.3.0-arduino9/bin/avrdude finished
upload done

Some Web Links

Topic Link
Github Markdown Guide - General https://guides.github.com/features/mastering-markdown/
Github Markdown Guide - GitHub Flavored https://help.github.com/articles/basic-writing-and-formatting-syntax/
Github Markdown Guide - GitHub Flavored - Creating and highlighting code blocks https://help.github.com/articles/creating-and-highlighting-code-blocks/

About

Software for my ELEGOO Smart Robot Car Kit V3.0

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%