22

Hey guys.
Arduino + Bluetooth + L293D + car Chacis and 4 DC motors.

Finaly finished my second bot/Drone.
Actually finished it yesterday but had lots of problems with hardware bugs (learned so fucking much in a day).
Tought I fucked two unos with bad soldering... No they are fine, just won't turn on in the circuit that was already working (was fine running the code).
Redone everything from scratch with a arduino uno, it's perfect now.

Funniest part is how I got my hands on a 50€ car kit for almost free... So some Chinese store sended this kit instead of some cheap stuff. Saved another arduino with the chip rack (that one that you can trade the atmega chip), I'll save it to program single chips. Plus a h bridge and lot lot more cool stuff.
Used only the Chacis.
Next: esp8266 and camera... And maby a gun? Would be cool

Comments
  • 4
    Check Coilgun by greatscott, or the guy with swiss accent
    (But it's not easy to apply)

    For camera you will need a raspberry pi (so fucking expensive) or an Analog FPV camera (less expensive).

    If you opt for the pi you will need a voltage regulator a bigger battery etc... making the 8266 (and probabily your current mcu useless)

    Do a clear plan before buy anything or you will waste money (trust me I learnt in the hard way)
  • 2
    @shelladdicted Nope, and Nope
    Already have 2 Arducameras... They shoot at a few frames per second but are good enought for a cheap project.
    I'll just need to have 2 arduinos (or 1 arduino for the car and other similiar with wi-fi wich I also have to transmit).
    I might have to do the android app to see the images if there isn't one already out there, and that's it.
    As for a gun, I'm an airsoft player and have a few toy like, very light. doesn't need to be something heavy and powerfull, just needs to be fun.
  • 2
    @GyroGearloose
    Do your own tests

    If you will not use the video feed for driving the vehicle, you're fine.

    But you if you want drive it full remotely you need >15fps.
  • 1
    @shelladdicted Well, If I change the Bluetooth to an ESP8266 it would be worth it. (extra range, fun with camera). Still, I would prefer to just use a wifi camera plugged to a small power bank (one phone for controls, one tablet or phone as a screen). I have two, but still, even If I had to buy would be a lot cheaper, with less work.
    I'll buy a raspberry sometime, just taking things slow :D Waiting to see if one comes out with 2gb ram.
  • 3
    @GyroGearloose
    Get an esp32 and remove the arduino you can run your whole codebase on it. Without a secondary RF/MCU.

    Esp32 are cheap (more or less) like an 8266 with a lot of overkill features: an RTOS BT/WiFi coexinstence, a lot of ram, no bootlenecks caused by UART

    But ADC of esp32 sucks (if you need a precise ADC don't get (yet) an esp32)

    Good (latency) WiFi FPV camera were out of budget for me.
  • 2
    @shelladdicted I already ordered 2 esp32... just waiting for them.
    Can you give some tips on how to program them? I probably need a different IDE right? A tutorial or guide page would be enought.

    Whats ADC?? And UART??
  • 1
    The great scott coilgun is nice, but requires 50v 3A...
    If it could work with only 12v...

    Edit: Still watching the video. It can be 5V but requires lots of Amps.
  • 2
    @shelladdicted I have one too. What firmware are you using?
  • 1
    @GyroGearloose
    depends, for a quick start just use the arduino IDE with your current arduino code.

    Then after that you're familiar with it.

    This is all you need:

    - VScode

    -https://github.com/espressif/...

    - https://docs.espressif.com/projects...

    - https://freertos.org/Documentation/...
  • 1
    @RedPolygon what do you mean?
  • 2
    Nice :p
    I'm just buying different MCUs and components for when I need them
    spent more then 500€ in one month lol But have so many stuff now :D
  • 2
    @GyroGearloose damn
    , I feel bad for you, 500, I hope you spent on an autorized seller (Mouser,RS) for original ICs and not shitty chinese clones
  • 1
    Yep, all Chinese. Don't have a single original yet.
    At least when I burn one it's only 2€ or 3€.
    Plus a few screens, BTs, Wifis (MCUs and wifi modules) , lots of circuits, motors,...

    The projects I really want to do after I learn a little more are CNC, 3D printers, plotters and such.
    I'm a CNC operator/programmer and want to start my own business with the machines I build (sell wooden pieces, the machines, ....)
    And while I do the Apps to interact I'll try to make a few more commercial to post online with Ads.
  • 0
    Btw just uploaded my first Video to youtube.

    https://youtu.be/gk1AD27PjlA

    Check it out and give a few likes for a good start.
  • 0
    For the camera you can place an old android phone on the car, with an app like IPcam and then host a hotspot by that same phone and use your regular phone to view it.
    And what do you use to control the car? I'm making a custom app that that will send commands to aurdino through Bluetooth, it will have different on screen layouts for different vehicles like a car, tank, etc.
  • 1
    It
    is
    beautiful...
  • 1
    @shelladdicted Ah, you didn't flash new firmware. I asked it because I want to use my esp32 with lua, just like on the esp8266
  • 1
    @RedPolygon I think that the word you are looking for is Framework not Firmware.

    Anyway pure esp-idf C++
  • 1
    @shelladdicted No, I live my life without frameworks. I really mean firmware, it allows you to work with different languages, like lua or js.
    Take a look at the docs for the lua firmware: https://nodemcu.readthedocs.io
  • 1
    @RedPolygon
    nodemcu is implemented over Espressif's NON-OS SDK (from the main page of the docs)

    That makes it a framework
  • 1
    @shelladdicted But why do they call it firmware then?
  • 0
    @RustyCookie Battery Pack for 2 lipos without controller (I could add It but I need 8V, not 5V, and the Arduino will turn off anyway before the batteries get below the secure voltage)
    Motors, 4 Dc motors that came with the kit, with a plastic cover and screws to mount on the platform. I just took all the other electronics for myself, since I don't want to build the car as the kit was intended to... no fun in that.
    The battery feeds the Arduino directly and then the breadboard in one side for the motors. The other power rail has 5V from the Arduino.
    For the driver, I'm using 2 L293D H-bridge soldered on top of each other, (double the power, less heat)
  • 1
    @N0-Flux-Given Yes... Thank you for remembering me. I actually have a very old Android 2.7 phone that I used a few years ago exactly as a camera, then a web server. That would remove the configuration for the camera and the extra arduino+wifi and extra baterry.
    As an App I downloaded Arduino Bluetooth Control, It also has different screen customized commands. Basic but better than wasting time now to build the same App. I'll end up doing exactly what you're doing later, but now I prefer to focus on hardware.
  • 1
    As for the gun, here are my picks, not including the airsoft heavy ones. Uzi and M4 are electric but have big magazines...
  • 1
    Third time is the charm.
    Third nano I soldered.
    Almost perfect soldering.
    Back to nano, everything set for the next phase.
  • 1
  • 1
    Check him out at https://youtu.be/8qGzfXPBCno and do a like for me
  • 1
    Wow you learn and develop stuff faster than i lose my will to live.

    That is impressive.
  • 1
    @Gregozor2121 thank you very much.
    Just need to get pass trough my burn out...
    I get a good day every now and then where I can plan and make a project...most days I just try to get by...
    If only I was treated already...
    Well, good news is that I'll have a 2 years formation on eletrónics and robotics... Just waiting and hopping it isn't bullshit.
  • 1
    Hey guys.
    I want to make the tutorial for the car but forgot the software to simulate Arduino and Electronics connections, can anyone please tell me? Thanks.
  • 0
    @RustyCookie Thanks :p I actually ended up founding it, but thank you
  • 1
Add Comment