Close
0%
0%

ZeroBot - Raspberry Pi Zero FPV Robot

Raspberry Pi Zero 3D Printed Video Streaming Robot

Similar projects worth following
ZeroBot is a Raspberry Pi Zero W based robot. It can be controlled using any computer or smartphone via a web browser. The integrated camera module makes for a low latency video stream. In addition the Raspberry Pi acts as a Wifi access point, so no router is required. The parts for the hull as well as the wheels can easily be printed on any regular 3D printer.

Some of the key features are:
- Compact CAD design with 3D printed components
- Analog control via a joystick (and multitouch)
- Simple battery solution using only a standard power bank
- Low latency streaming (~0.2s)
- Easy and cheap to build using widely available components

STL files on thingiverse: https://www.thingiverse.com/thing:2352440

View all 7 components

  • How to Get Started (Fall 2018)

    Max.K11/16/2018 at 22:01 5 comments

    For the Zerobot robot there are different instructions and files spread over Hackaday, Github and Thingiverse which may lead to some confusion. This project log is meant as a short guide on how to get started with building the robot. 

    Where do I start?

    1. Grab the STL-files from here: https://www.thingiverse.com/thing:2800717 and print them out following the instructions on Thingiverse
    2. Get the remaining parts: 
      - Raspberry Pi Zero W
      - 2x ICR18650 lithium cell 2600mAh
      - Raspberry camera module
      - Zero camera adapter cable
      - Mini DC dual motor controller
      - DC gear motors
      - ADS1115 ADC board
      - TP4056 USB charger
      - MT3608 boost converter
      - Raspberry CPU heatsink
      - Micro SD card (8GB or more)
      - 2x LED
      - BC337 transistor (or any other NPN) 
      - 11.5 x 6mm switch
      - 4x M3x10 screws and nuts
    3. Wire up the electronics according to this schematic: In case you are not familiar with this: The schematic is optimized for readability. You don't have to use this exact wiring (e.g. connection LEDs to ADS1115) as long as the electrical connections stay the same. For the wire gauges, use around 22 AWG wire for the signal connections and slightly thicker wire for the batteries and motors.
    4. The software comes preinstalled on an SD card image. Download it from here: https://drive.google.com/file/d/163jyooQXnsuQmMcEBInR_YCLP5lNt7ZE/view?usp=sharing, extract the files using 7-Zip and flash it to your 8GB micro SD card. Do not boot the Pi before entering your WiFi router name and password in the wpa_supplicant.conf file on the SD.
    5. After the SD card is inserted you can assemble the robot as seem on the pictures on the Hackaday project page. Make sure that all wires are properly isolated. Lithium batteries are very dangerous. If there is a short circuit between the batteries, they can catch fire. 
    6. Turn the robot on and wait for the Pi to connect to your WiFi. After that you can connect to it by accessing its IP followed by the port :3000 like this: 192.168.2.11:3000. If you don't know your Raspberry Pi's IP use a WiFi scanner like "Fing" on your smartphone to scan for devices.
    7. After that you are done! Have fun with your Zerobot! Below are some common questions/problems.

    The robot spins/ doesn't drive right

    The motors might be reversed. You can simply swap the two wires to fix this.

    I can't connect to the Zerobot in my browser

    The Raspberry Pi itself with the SD card image running on it is able to display the user interface in your browser. There is no additional hardware needed, so this can't be a hardware problem. Check if you are using the right IP and port and if you inserted the correct WiFi settings in the wpa_supplicant.conf file.

    I see the user interface but no camera stream

    Check if your camera is connected properly. Does it work on a regular Raspbian install?

    Zerobot and Zerobot Pro - What's the difference?

    The "pro" version is the second revision of the robot I built in 2017, which includes various hardware and software changes. Regardless of the hardware the "pro" software and SD-images are downwards compatible. I'd recommend building the latest version. New features like the voltage sensor and LEDs are of course optional.

    Can I install the software myself?

    If you don't want to use the provided SD image you can of course follow this guide to install the required software: https://hackaday.io/project/25092/instructions You should only do this if you are experienced with the Raspberry Pi. The most recent code is available on Github: https://github.com/CoretechR/ZeroBot

  • The new Zerobot Pro

    Max.K02/20/2018 at 22:02 28 comments

    All new features: More battery power, a charging port, battery voltage sensing, headlights, camera mode, safe shutdown, new UI

    The new software should work on all existing robots. 

    When I designed the ZeroBot last year, I wanted to have something that "just works". So after implementing the most basic features I put the parts on Thingiverse and wrote instructions here on Hackaday. Since then the robot has become quite popular on Thingiverse with 2800+ downloads and a few people already printed their own versions of it. Because I felt like there were some important features missing, I finally made a new version of the robot.

    The ZeroBot Pro has some useful, additional features:

    • Instead of a single battery with a power-bank circuit, the ZeroBot Pro is now powered by two 2600mAh batteries in parallel. Thanks to a cheap TP4056 Micro-USB charger the case does not have to be opened to recharge the batteries. 5V for the Pi and 6V (optional) for the motors are regulated by MT3608 boost converters.
    • Thanks to a ADS1115 ADC the Raspberry can measure the battery voltage and display it on the user interface
    • The entire user interface has been optimized for various screen sizes. There are now buttons for different functions:
      • A photo button for taking pictures in full resolution. This is not as easy as it appears. The stream has to be stopped to start the raspistill application and then restarts.
      • A toggle button to turn the LED headlights on and off. The LEDs are connected via a transistor to an IO pin. (I adopted this idea from franciscorps version of the ZeroBot: https://www.thingiverse.com/thing:2445551)
      • Finally there is a shutdown button that turns the Pi off safely after displaying a confirmation prompt. This should prevent the file system from corrupting
    • The 3D printed parts have been optimized as well to reduce warping and to fit the front panel more easily. 

    If you are interested in building the robot, you can head over here for the instructions: https://hackaday.io/project/25092/instructions 

    The 3D files are hosted on Thingiverse: https://www.thingiverse.com/thing:2800717

    Download the SD card image: https://drive.google.com/file/d/163jyooQXnsuQmMcEBInR_YCLP5lNt7ZE/view?usp=sharing

    After flashing the image to a 8GB SD card, open the file "wpa_supplicant.conf" with your PC and enter your WiFi settings.

  • Easy Setup using SD Image

    Max.K06/24/2017 at 13:07 17 comments

    After a few people ran into problems with the tutorial, I decided to create a less complicated solution. You can now download an SD card image for the robot, so there is no need for complicated installs and command line tinkering. The only thing left is getting the Pi into your network:

    1. Download the image file from here and unzip it to your PC: https://drive.google.com/uc?export=download&confirm=EUSf&id=0B4WbDsFout-NN1M1dzU0elR3NXc
    2. Flash the image to an 8GB or bigger micro SD card with the software of your choice (e.g. Etcher). Don't plug the SD into the Raspberry yet!
    3. In the boot partition of the SD, open the file wpa_supplicant.conf (e.g. using notepad). Change wifi ssid and password to your wifi name and password. The file will be automatically moved to its spot of the Pi's file system on boot. If you make a mistake, you just need to create the file again.
    4. After the Pi has booted up, find out its IP address using your routers interface or through an app like Fing. Connect to this address (e.g. 192.168.2.3) with any browser on your computer

    If you don't want the robot to be restricted to your home network, you can easily configure it to work as a wireless access point. This is described in the tutorial.

    EDIT 29.7. Even easier setup - the stream ip is selected automatically now

  • Introduction

    Max.K05/29/2017 at 20:53 1 comment

    The goal for this project was to build a small robot which could be controlled wirelessly with video feed being sent back to the user. Most of my previous projects involved Arduinos but while they are quite capable and easy to program, there are a lot of limitations with simple microcontrollers when it comes to processing power. Especially when a camera is involved, there is now way around a Raspberry Pi. The Raspberry Pi Zero W is the ideal hardware for a project like this: It is cheap, small, has built in Wifi and enough processing power and I/O ports.

    Because I had barely ever worked with a Raspberry, I first had to find out how to program it and what software/language to use. Fortunately the Raspberry can be set up to work without ever needing to plug in a keyboard or Monitor and instead using a VNC connection to a remote computer. For this, the files on the boot partition of the SD card need to be modified to allow SSH access and to connect to a Wifi network without further configuration.

    The next step was to get a local website running. This was surprisingly easy using Apache, which creates and hosts a sample page after installing it.

    To control the robot, data would have to be sent back from the user to the Raspberry. After some failed attempts with Python I decided to use Node.js, which features a socket.io library. With the library it is rather easy to create a web socket, where data can be sent to and from the Pi. In this case it would be two values for speed and direction going to the Raspberry and some basic telemetry being sent back to the user to monitor e.g. the CPU temperature.

    For the user interface I wanted to have a screen with just the camera image in the center and an analog control stick at the side of it. While searching the web I found this great javascript example by Seb Lee-Delisle: http://seb.ly/2011/04/multi-touch-game-controller-in-javascripthtml5-for-ipad/ which even works for multitouch devices. I modified it to work with a mouse as well and integrated the socket communication.

    I first thought about using an Arduino for communicating with the motor controller, but this would have ruined the simplicity of the project. In fact, there is a nice Node.js library for accessing the I/O pins: https://www.npmjs.com/package/pigpio. I soldered four pins to the PWM motor controller by using the library, the motors would already turn from the javascript input.

    After I finally got a camera adapter cable for the Pi Zero W, I started working on the stream. I used this tutorial to get the mjpg streamer running: https://www.youtube.com/watch?v=ix0ishA585o. The latency is surprisingly low at just 0.2-0.3s with a resolution of 640x480 pixels. The stream was then included in the existing HTML page.

    With most of the software work done, I decided to make a quick prototype using an Asuro robot. This is a ancient robot kit from a time before the Arduino existed. I hooked up the motors to the controller and secured the rest of the parts with painters tape on the robot's chassis:

    After the successful prototype I arranged the components in Fusion 360 to find a nice shape for the design. From my previous project (http://coretechrobotics.blogspot.com/2015/12/attiny-canbot.html) I knew that I would use a half-shell design again and make 3D printed parts.

    The parts were printed in regular PLA on my Prusa i3 Hephestos. The wheels are designed to have tires made with flexible filament (in my case Ninjaflex) for better grip. For printing the shells, support materia is necessary. Simplify3D worked well with this and made the supports easy to remove.

    After printing the parts and doing some minor reworking, I assembled the robot. Most components are glued inside the housing. This may no be professional approach, but I wanted to avoid screws and tight tolerances. Only the two shells are connected with four hex socket screws. The corresponding nuts are glued in on the opposing shell. This makes it easily to access the internals of the robot.

    For...

    Read more »

View all 4 project logs

  • 1
    Installing The Latest Raspbian Image

    DISCLAIMER: This is not a comprehensive step-by-step tutorial. Some previous experience with electronics / Raspberry Pi is required. I am not responsible for any damage done to your hardware.

    I am also providing an easier alternative to this setup process using a SD card image: https://hackaday.io/project/25092/log/62102-easy-setup-using-sd-image

    https://www.raspberrypi.org/documentation/installation/installing-images/

    This tutorial is based on Raspbian Jessie 4/2017

    Personally I used the Win32DiskImage for Windows to write the image to the SD card. You can also use this program for backing up the SD to a .img file.

    IMPORTANT: Do not boot the Raspberry Pi yet!

  • 2
    Headless Setup

    Access the Raspberry via your Wifi network with VNC:

    Put an empty file named "SSH" in the boot partiton on the SD.

    Create a new file "wpa_supplicant.conf" with the following content and move it to the boot partition as well:

    ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
    update_config=1
    network={
        ssid="wifi name"
        psk="wifi password"
    }

    Only during the first boot this file is automatically moved to its place in the Raspberry's file system.

    After booting, you have to find the Raspberry's IP address using the routers menu or a wifi scanner app.

    Use Putty or a similar program to connect to this address with your PC.

    After logging in with the default details you can run

    sudo raspi-config

    In the interfacing options enable Camera and VNC

    In the advanced options expant the file system and set the resolution to something like 1280x720p.

    Now you can connect to the Raspberry's GUI via a VNC viewer: https://www.realvnc.com/download/viewer/

    Use the same IP and login as for Putty and you should be good to go.

  • 3
    Installing the required software (update 2018)
    sudo apt-get update
    sudo apt-get upgrade
    sudo apt-get install apache2 node.js npm
    git clone https://github.com/CoretechR/ZeroBot Desktop/touchUI
    cd Desktop/touchUI
    sudo npm install express
    sudo npm install socket.io
    sudo npm install pi-gpio
    sudo npm install pigpio
    

    Run the app.js script using:

    cd Desktop/touchUI
    sudo node app.js

    You can make the node.js script start on boot by adding these lines to /etc/rc.local before "exit 0":

    cd /home/pi/Desktop/touchUI
    sudo node app.js&
    cd

    The HTML file can easily be edited while the node script is running, because it is sent out when a host (re)connects.

View all 7 instructions

Enjoy this project?

Share

Discussions

aweb-01 wrote 05/22/2024 at 20:29 point

IDK what the deal is but I’m not able to get my Pi Zero 2 W to boot with this image. The LED never comes on. It boots fine with Raspbian Lite on the same SD card, but I’ve tried flashing this image with multiple different tools and nothing works. 

  Are you sure? yes | no

box299 wrote 01/06/2023 at 16:19 point

Has anyone tried an alternative to the Raspberry Pi Zero W?

You can't getem'

  Are you sure? yes | no

maxHoneyman wrote 10/25/2023 at 13:50 point

I am able to use the 3B with a rover chassis with it so far. Check Pishop.us They currently have a zero W in stock and their stock seems to be pretty decent these days if you keep an eye on it. I was also able to get a pi4 for retail price on sparkfun recently. They currently have a zero W in stock as well (the zero 2 is hard to find anywhere) Shipping is free if you order over 100$ of things

  Are you sure? yes | no

mbar1 wrote 12/22/2022 at 17:30 point

hey everyone.  I have ran into an issue.  I'm not sure if  the node source 17 still works. I keep receiving "sudo: npm: command not found

  Are you sure? yes | no

funchenry wrote 07/07/2022 at 07:04 point

hallo, sehr schönes Projekt. Folgendes Problem: beim einschalten dreht ein Motor an gpio 4, bis der pi hochgefahren und mit WiFi verbunden ist. Danach funktioniert alles.

  Are you sure? yes | no

funchenry wrote 07/09/2022 at 06:16 point

problem gelößt. gpio ist beim start auf high. ich habe es auf gpio 23 geändert.

  Are you sure? yes | no

Ippopotamo wrote 06/21/2022 at 13:56 point

I got a Problem, everything worked just fine i could connect via Phone and controll it. I could take Pictures, controll the Lights and read the Temparature and Voltage. Now my Problem is everything works only the Stream doesn't show. I still can take Pictures that show an Image of what i should see. I tried another Pi but it didn't work and i reinstalled everything and tried the provided Image but that also didn't help.

  Are you sure? yes | no

Bryson Cosby wrote 04/19/2022 at 21:55 point

(fixed) Is the provided SD card image still working? (It is, just double check that the wpa_supplicant file information saved). I can't seem to ping my PI or find it on my browser.

  Are you sure? yes | no

grrgcctr wrote 01/28/2022 at 22:52 point

A few notes, some npm packages are missing to run the app, you need to run:

sudo npm install coffee-script
sudo npm install node-ads1x15


Now I have had problems with the ads1x15 module, so I had to disable it (I'll come back if I fix it), but to run the app.js just change this line of code:

if(!adc.busy){   ---> if(false){

basically we prevent the ads1115 to be read since it was causing problems for me.

The camera stream had also some problems:

You  need to change the path for the CMakeList.txt for the raspicam plugin. Basically this changes: https://github.com/jacksonliam/mjpg-streamer/pull/339/commits/b90dbb89987c6ebe0725b9589e1932e8f4bb6aa4

And you need to enable legacy camera:

https://github.com/jacksonliam/mjpg-streamer/issues/176#issuecomment-1024719781

https://www.raspberrypi.com/documentation/accessories/camera.html#re-enabling-the-legacy-stack

Good luck!

  Are you sure? yes | no

grrgcctr wrote 01/28/2022 at 23:45 point

Figured out the reading voltage problem, the I2C was not enabled in the raspberry, use this to enable:


https://pi3g.com/2021/05/20/enabling-and-checking-i2c-on-the-raspberry-pi-using-the-command-line-for-your-own-scripts/


  Are you sure? yes | no

grrgcctr wrote 01/30/2022 at 19:10 point

Just a few notes on how to make the raspberry as wifi AP so you don't need to connect the robot to any wifi, you can connect to the robot's wifi and run it from your phone the same way.

Use this instructions, but you can skip the steps 6, 7 and 8 (no need for packet forwarding):

https://thepi.io/how-to-use-your-raspberry-pi-as-a-wireless-access-point/

For some updates on the hostapd you will probably have to run these commands:

sudo systemctl unmask hostapd
sudo systemctl enable hostapd

Similar to this instructions https://howchoo.com/pi/setup-a-raspberry-pi-wireless-access-point

  Are you sure? yes | no

Gary Scott wrote 12/20/2021 at 02:45 point

Hello Max, I only have access to the new Raspberry Pi Zero W 2 and I found that the default image doesn't boot on the new Zero W2 so Proceeded with your instructions to get the project using Github ,but it's giving me an access denied when I try to connect to the Zerobot via web.  I also seem to having an issue with the PI camera not being recognized, but I'm guessing that's not related but thought I would mention it as well in case anybody has any suggestions. 

Update on Camera issue:  

Looks like there is a known issue with Pi Zero W2 and they are working on a fix see thread here https://forums.raspberrypi.com/viewtopic.php?t=323462

  Are you sure? yes | no

Max.K wrote 12/20/2021 at 10:30 point

Hi Gary, my hexapod project is using similar software and hardware as the ZeroBot. I recently upgraded it to a Pi Zero 2 using a Raspbian Buster image. There seem to be many changes in Bullseye that break old functionality. There is a new legacy firmware because of this: https://www.raspberrypi.com/news/new-old-functionality-with-raspberry-pi-os-legacy/

Maybe you will have more luck with this instead of waiting for the bullseye fix.

  Are you sure? yes | no

Gary Scott wrote 12/20/2021 at 13:07 point

Thanks for the quick reply and I will give the Buster image a try and update with the progress.  I currently have a working Zerobot, tracked version, with your original image and an older Pi Zero W but wanted to build your original wheeled version and didn't want to wait until the older Pi Zero is in stock again.

  Are you sure? yes | no

Gary Scott wrote 12/21/2021 at 00:46 point

Not sure if it's completely working, but when I go the IP address of the Pi on port 3000 the camera is working and the webpage looks correct, but the shutdown button doesn't do anything, so I think I have some more work to do.  I do not have the motors hooked up yet, but I plan to do that tomorrow and I will provide an update.

This is what worked for me for the Raspberry Pi Zero W 2 using the "Rasbian Pi OS (Buster) image (Doesn't work at all with Bullseye at all)

sudo apt-get update

sudo apt-get upgrade
sudo apt install apache2 -y
curl -sL https://deb.nodesource.com/setup_17.x | sudo -E bash -
sudo apt install -y nodejs
git clone https://github.com/CoretechR/ZeroBot Desktop/touchUI
cd Desktop/touchUI
sudo npm install express
sudo npm install socket.io
sudo npm install pi-gpio
sudo npm install pigpio

I also had to remove the required module lines in the "app.js" file because I could not get the model for the ADS1115 to load on the Pi Zero W 2 for some reason.

I then followed the rest of your instructions to the letter for the rest of the install.  

It's a start and I think I should be able to figure the rest out and provide complete instructions of how I got it working the Pi Zero W2 shortly.

Thanks again for your help on this Max!

  Are you sure? yes | no

grrgcctr wrote 01/28/2022 at 23:48 point

hey check my comments, I figure out the solution for most of the problems.


Although I have read that for a new raspberry pi 64 bits, there might be extra problems with the camera stream:

https://github.com/jacksonliam/mjpg-streamer/issues/296

  Are you sure? yes | no

HTML wrote 07/02/2021 at 12:09 point

hello Max. i watched your project, and it was very impressive. i want to make it but  the URL of motor driver,  power bank and camera is unavailable. i have no idea that what should i use. can you help me? 

  Are you sure? yes | no

nhslzt wrote 05/29/2021 at 19:04 point

hi Max, thank you for this great project! Do I need protected or unprotected 18650 batteries? I'd prefer protected by of course but I do not know if the extra PCB would somehow interfere with the other parts...

  Are you sure? yes | no

Max.K wrote 05/30/2021 at 08:44 point

I have only used unprotected cells when I made the robot. If I did the project today I would go for protected batteries as well, it's just safer. There should be just enough room, depending on where the PCB is mounted.

  Are you sure? yes | no

Andrew wrote 02/23/2021 at 19:26 point

Hey Max - thanks for creating Zerobot. It looks like a fantastic project. I've just bought the components. Question - did you dremel / snap off the axel from the yellow motor on one side? It looks like it gets in the way of the battery otherwise.

  Are you sure? yes | no

Max.K wrote 03/18/2021 at 19:14 point

Sorry for the late reply, you probably solved the problem yourself by now.
Anyway, yes, the inner axle has to be cut off. Its made from relatively soft plastic so it should be easy.

  Are you sure? yes | no

Andrew wrote 03/18/2021 at 19:22 point

Thanks for getting back. Yes, I got it working - it's been a fun project. The controlling method is great, especially since it works from a phone or computer. I've ordered a fisheye lens in order to make driving easier. I'm nervous about the hot glue not being strong enough around the usb port, so I just always leave a little usb cable plugged in. Do you just use hot glue for the usb port? One issue I've had is that if the robot leaves wifi it just keeps driving at its original bearing. I saw another project where the creater had a "health check" which pings the controller every 2 seconds and stops the motor if health check fails. Anyways, great work. I'd like to try out your mini version using ESP32, but it would be nice to adapt the enclosure for an ESP32-Cam, which seem much more available.

  Are you sure? yes | no

Max.K wrote 03/28/2021 at 18:05 point

Hot glue might not be ideal, but it worked well for me so far. 

 A health check is a great idea to make the connection more reliable. And it should not be too difficult to implement. I am working on a similar project right now where this will come in handy. Thanks!

  Are you sure? yes | no

unsigneduk wrote 01/01/2021 at 22:21 point

HI Max, Its been great following and building this project. Unforntunatly Ive stumbled at the last post and found that the battery does not have enough juice to power the PI/camera/adc. Maybe perhaps because I chose to power the PI through the micro USB port as I wasnt willing to take a risk without any safety features, I cant afford to loose a board. Will this affect the current/power drawn from the batteries for the camera and ADC ? Thanks.

  Are you sure? yes | no

Max.K wrote 01/17/2021 at 15:02 point

Of course you can power the Pi through its USB port as well. I soldered directly to the board because that was more convenient. I think the 5V solder pad on the bottom is directly connected to the USB port. 

  Are you sure? yes | no

Dan wrote 12/02/2020 at 15:02 point

After burning a few Pi boards I have decided to go a different way and power the Pi with a sepparate battery. This way I have more control over the power that goes each way.

Now I am trying to modify the code so I can change the two wheel steering method you use and add a servo or another dc motor for using front wheel steering. Do you have any guide to changing your code, before I go into a trial and error learning?

Thank you very much for all the information you gave here.

  Are you sure? yes | no

Max.K wrote 12/02/2020 at 20:58 point

There is a function "tankDrive" in the Touch.html that you might want to start with. It maps the user inputs to two PWM outputs. You could try hooking up a servo to one of the PWM pins to see if that works already. If not, you need to change the app.js file.

  Are you sure? yes | no

asor wrote 11/19/2020 at 18:27 point

Hi, I'm wondering if you know the cost of 3D printing each robot body? Or, at least the weight of the material used? Thanks.

  Are you sure? yes | no

gene4fun57 wrote 08/24/2020 at 03:17 point

I'm having trouble with flashing the images.  They do install,  but will not boot.  Installing a Raspian image, works fine,  boots and connects.  Then when trying to do the manual install,  packages won't install,  or errors show up.  Clearly, something doesn't match !  Does anyone have this working on a 3B+ ?  If so,  can you share a working image i can reconfigure for my network?  I hate building it, and not being able to use it !!!   Thanks everyone !

  Are you sure? yes | no

Garyr14 wrote 11/19/2020 at 16:08 point

Did you ever find a solution?  I was able to flash to an SD card and boot up on a 3B+, but then I fried the 3B+ (unrelated error) and replaced it with another.  I can't get the other to boot up to the image.  However, I can flash the RP Desktop to a card and have it boot with no problem.

  Are you sure? yes | no

joecooper20 wrote 06/06/2020 at 16:23 point

Should this work on a full sized Raspberry Pi 3 B+? I don't have a spare Zero, and the full sized would be better for the camera feed. I tried but it just gets stuck on the colourful boot screen. 

I also tried the manual install but had a whole bunch of errors. 

  Are you sure? yes | no

Max.K wrote 06/10/2020 at 14:47 point

Yes, I am sure it should work. I've developed the software on a Pi 3 before moving it to the Zero. Maybe there was a problem with flashing the image file? Did you follow the latest tutorial?

  Are you sure? yes | no

Dan wrote 05/30/2020 at 21:03 point

hello. First of all I would like to thank you for sharing this. It is a great project. It am quite new to this world but with your instructions I have managed to get all this done in no time.

I have managed to get most of it working with the exception of the motors. Once the robot starts I can hear the motors trying to move but they don't seem to have enough power. I have 5.5v coming out of the booster but only 0.12v get to the motors. Does anyone know where could this issue come from?

Thank you.

  Are you sure? yes | no

Max.K wrote 06/01/2020 at 08:09 point

It seems that the voltage on your motors is too low. Maybe it's a faulty motor driver. Are you using the same components and have verified your wiring with the schematic?

  Are you sure? yes | no

Dan wrote 06/02/2020 at 20:52 point

Hello Max. I went through the wiring and noticed the - "minus" on the motor driver came loose. I soldered that back on the - "minus" of the battery and it all worked well. For a short while at least. The Pi turned itself off and I thought the battery might have run dry. So I charged them back up and when I turned it back on one of the motors started for a few seconds while the Pi was booting then it all went off. Now I have another burned Pi. Could some have discharged while turning on and burned the Pi? I'll order another one and hopefully I won't break this one too (second one so far).

  Are you sure? yes | no

robo116 wrote 11/15/2019 at 01:33 point

Hey max would you mind updating the Components list with your latest recommendations for components?  I ordered a PiZero but find myself wandering this long forum to order parts that may not be right to start this project.  Appreciate all the work you've done.

  Are you sure? yes | no

Nick Pittman wrote 11/11/2019 at 01:23 point

Did not need to adjust the ports or IP address. although I did change it for the AP. I want to give it another test using the same IP... seeing as how it will be the only thing on the AP it should not conflict with anything. I did get it working though. Apparently there is one last network upgrade that was done at the very end that changed something. What was being changed... I am not sure. I set it up without the upgrade and it worked. Now I just need to add a button to  your interface to enter WiFi credentials. This will allow the user to access the bot from their phone and play , then enter WiFi credentials and reboot and be on the network. :) its been a long day and my eyes hurt from reading to find my issue, but for the most part it works!

Other then adding new WiFi ssid's and clearing the wpa supplicant to be able to freely swap between WiFi and ap, the next part that I am not sure how to do is how to get the local IP assigned when adding it to a new network , w/o having access to the router.

I hope that made sense 

Would you like a working sd card image to play with once i finish it?

  Are you sure? yes | no

Max.K wrote 11/12/2019 at 16:42 point

Great work! I have not been actively working on this project for a while but I would definitely be interested in an SD image. 

  Are you sure? yes | no

Nick Pittman wrote 11/10/2019 at 22:01 point

I took your advice and checked the port and where we are getting the IP address. The only thing I can find in the touch.html file is where its getting the stream from. If the stream was broken, the UI would still appear because its coming directly from the HTML page, right? 

I am going to load another sd card and do some more testing to see if I can figure out what I did that made it stop working properly. Ill get back to you asap. I really hope to get this working, because having the ability to reassign the wifi ssid and password from your phone, or just opt to connect to the phone directly would be absolutely awesome.

  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