Close
0%
0%

Onion Omega2 Low Cost Rover

Building the best entry level robot for as cheap as possible

Public Chat
Similar projects worth following
155 views
This project started as an outreach activity for a lab I work in at Virginia Tech and became the kernel for a bunch of other projects. It's an actually good cheap robot!

This project started as a low cost robot that was buildable and programmable by Computer Science Majors here at VT to give them some hardware experience. Since then it evolved into an outreach tool for the ECE department, and is currently being used for a high school summer camp. The platform is cheap enough that students can be given kits to build, keep and take home.

The platform is controlled through a webpage hosted on the onion omega2, with a real or virtual joystick being used as an input. An accelerometer breakout board is mounted on the front of the rover, which activates an autocycling RGB after an impact. 

The platform is powered by a protected 18650 cell and includes an integrated usb charger.

Total cost: ~$30 per rover in quantities of 50 rovers!

(A single robot is like ~$45 if you want to build one, and all the ebay parts are available on Amazon for more money)

  • 1 × Onion Omega2 Linux IoT Wifi Development Board
  • 1 × Protected 18650 LGF1Lpcb Battery
  • 1 × TP4056 Micro USB Charger Module USB Charger
  • 1 × 2in1 Buck-Boost Power Supply 0.8-6V to 3.3V DC DC Converter
  • 2 × LG9110 Cheap motor controller

View all 20 components

  • Cheapest Way to Drive Motors

    williamg4206/09/2019 at 23:15 0 comments

    Over the course of this project two major methods of driving a motor were used. The first was way more hacky and fun then the second. 


    For the first two generations of the robot, 74HC244 Octal buffer/line driver were used to drive the motors. They are cheap, and by using all 8 outputs/inputs tied together software PWM allowed basic speed control. 

    And it worked really well! Except everyone who tested it really wanted to go backwards for some reason. Since every motor driver on digikey/mouser was still 5x more expensive that a 74HC244, we just doubled the number and uses 2 per side! Sadly, by using two the forward and reverse speed became limited by the current sinking capabilities of the 74HC244 and the kindest description of the prototype was sluggish. You can see the dual line drive prototype below.

    After going back to the drawing board, we found the L9110s motors drivers on ebay. The L9110s has two inputs and drives one DC motor at voltages up to 9V. They don't require PWM inputs, and logic high and logic lows are all that is required to control it. 

    In order to fix the sluggishness a cheap boost convert was added to increase the voltage from the battery to something higher to let the robot move faster. 

    An important note: back EMF

    Since the L9110s do not have flyback diodes, there is a huge back EMF when the motors change directions. This normally would do bad things to the boost converter. However to both add protection to the boost convert and add an easy way to set the boost converter to the right voltage, a 5V zener diode and LED were added in parallel to the boost power supply. That way when the LED turns on the boost converter is set to around 6V. In addition, they give the back EMF a path to ground not through the power supply. (And it is noticeable, the LED gets a lot brighter when the motors change direction).

    Theses Generation 4 rovers were used as part of a Sumo Bot competition and performed fairly well (there was issues with the battery moving inside the holder and causing it to disconnect)

    And this is the solution we used for the Generation 5 and 6 Rovers! Each L9110s is less than 50 cents and runs like a champ!

  • A warning about "Protected" 18650s

    williamg4206/09/2019 at 21:27 1 comment

    As I am going through and documented some of the things I did for this project, I felt obligated to post this one first, since it is DANGEROUS and MISLEADING for the average hobbyists. The VAST majority of cheap "Protected" 18650 cells available on eBay and other sites are not protected, even if they are labelled as protected on the wrapping. 

    As part of this project, 3 different brands of 18650s "Protected" Cells from ebay were bought and tested, and two of them were found not to contain any kind of protection whatsoever. (Note: This testing was done spring of 2017)

    The worst offender was these cells, which are still listed as protected online, but after the university raised hell the "Protected Cell" label on the cell wrapper itself seems to have been removed.  

    They are not protected and definitely are not rated to 6000mAh. We did a discharge test and got 50 mAh out of the cells. Its obvious if you look at the bottom of the cell and notice there is not the bulge of a protection PCB and there is not a strip under the wrapper running up the side to the top of the cell.  

    The other big offender was any of the Skywolfeye brand cells. Again after the University intervened, the "Protected" seems to have been removed from the cell wrapper but they still can be found listed as protected online. 

    Once again they are not 5800 mAh. After testing we got a maximum capacity of 600 mAh. 

    Now the good news is all of the Ultrafire cells we tested were protected, and after disassembly they all used the same cheap IC used in the 18650 TP4056 usb chargers with built in battery protection. What that means is the cut off current is surprisingly low, and any current draw over about 1 amp results in the oven circuit protection tripping. (Which is good ,as I doubt theses cells are safe for much over .5C)

    Basically the rule of thumb is if the battery capacity is over 3400 mAh or costs less than $5 a cell, it's not a reliable cell. In addition, if you do not see a ribbon under the wrapper or a disk on the bottom of the cell, it's not protected. 

    Here is a protected cell with a clear wrapper so you can see what I am talking about

    The cheapest cells we've found were from liionwholesale.com, and they are shipped according the US law. 

    Hopefully someone finds this helpful, and stay safe hacking!

View all 2 project logs

Enjoy this project?

Share

Discussions

williamg42 wrote 06/11/2019 at 18:21 point

I did not, since the 1 Amp cut off current meant they were completely useless for newer generations of rovers . I would not be surprised if their real capacity was less than the stated capacity, especially since they seemed fairly light compared to the samsung cells we were also testing. Honestly I will never buy LiPo from eBay or Ultrafires again, it's not worth the risk. Those Liionwholesale cells are the real deal and are cheap enough.

  Are you sure? yes | no

Winston wrote 06/11/2019 at 13:41 point

Chinese counterfeiters have completely infested the lithium ion cell market.  Did you capacity test the actually protected Ultrafire cells?  I've bought Ultrafires from multiple sources including supposedly reliable ones and none have even come close to their claimed capacity.  I've heard the same complaint from others online.

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates