logo elektroda
logo elektroda
X
logo elektroda

Mini robot arduino + control by tablet / android phone

vedy1 17055 8
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • Mini robot arduino + control by tablet / android phone

    Hello
    a project done (almost a year ago) quickly in order to show the younger generation what can be done with the idea of some parts (the rest can be done).
    Hardware:
    Robot platform bought from China
    Adruino on the atmega 328
    Double H-bridge controller for motor control
    Converter from 12V-> 5V for the webcam
    WiFi camera dcs-5222l
    Akku 11.1V li-ion 8Ah
    bluetooth module hc-05

    The control software was written in arduino IDE and for android in appinventor.
    The project was carried out in 1.5 days and assumed its launch, so the robot goes forward, turns, transmits the image via wifi to the tablet and also has control from the camera movement level left / right / down / up.

    Mini robot arduino + control by tablet / android phone Mini robot arduino + control by tablet / android phone Mini robot arduino + control by tablet / android phone

    Cool? Ranking DIY
    Do you have a problem with Arduino? Ask question. Visit our forum Arduino.
    About Author
    vedy1
    Level 15  
    Offline 
    vedy1 wrote 117 posts with rating 41, helped 11 times. Been with us since 2004 year.
  • ADVERTISEMENT
  • #2 16401284
    szymon122
    Level 38  
    vedy1 wrote:
    project made (...) quickly in order to show up

    Probably on the forum ...

    4 photos, some letters and 300 points, that's great, isn't it?
    Show off at least what this platform is, the only interesting element of this project ...
    How to search for it on the internet?

    How much does it run on this battery?
  • ADVERTISEMENT
  • #3 16401444
    Qbas060
    Level 14  
    What is this chassis, what H bridge, maybe some driving movie and a screen with the quality of image transmission from a greater distance ?. The project is probably cool.
  • #4 16401796
    nobanmeplease
    Level 16  
    The design is really cool, but I would like to know how the arduino communicates with the camera and what operating system controls it.
  • ADVERTISEMENT
  • #5 16401915
    malpek
    Level 18  
    The project is interesting, but the poor description and documentation do not help it. A structure that beginners are unlikely to want to build, due to the price. Such a robot chassis costs about $ 70, for ali ...., and the price of such a camera starts at PLN 500. Adding the rest price will be over PLN 1000.
  • #6 16402220
    vedy1
    Level 15  
    @ szymon122
    The title of the introduction is what I do not like about my compatriots - just to finish off with no constructive criticism.
    I will gladly give out points (whatever they need) because on this portal I sit once in a "Russian" year, my way I used to have something around 100 points and they disappeared is it possible because I had a very long break in logging in?
    You can find the platform under the name "robot platform" on a foreign auction site or on aliexpress.
    The photos were taken on November 6, 2016 - if a friend wants, I can send the original to the mailbox, so not for the "forum"
    The robot was created for a child (because how to call a 12-year-old boy this year) in order to motivate him to look for solutions and learn the programming language (they already have the basics at school).
    Unfortunately, I do not know how much it works on the battery because the robot went abroad where he and his parents live - I hope that this year we will also see each other and we will do some things and I plan a bluetooth joystick to better control the mobile phone and use cardboard with cardboard as virtual googles.

    @ Qbas060
    The H bridge to L298 can also be purchased on ali or auction portals.
    The video is only when I see the robot :)

    @nobanmeplease
    Arduino is not communicating with the camera. Arduino only communicates via bluetoot to control the motors (PWM).
    My colleague probably looks at how the communication with the camera was made to control the position (left / right / up / down).
    The webcam is connected via wifi to the router or ap made on the phone.
    The image is the appropriate ip address (for me: http: // admin: @ 192.168.1.3 / video2.mjpg)
    Each button on the website is also an appropriate address (for me:
    http://192.168.1.3/cgi-bin/longcctvmove.cgi?a...rection=left&panstep=1&tiltstep=1%20HTTP/1.1)
    the rest in the program in the attachment.

    @malpek
    This is how the chassis costs so much.
    Luckily the webcam was once bought for less than 100 PLN, damaged and restored.
    of all this, the battery would be the most expensive but also bought a few years ago and unfortunately I do not remember the price :)

    And I wish everyone a sunny Sunday and look at the other person kindly (maybe a smile)
    Best regards from the sunny North Sea :)
  • ADVERTISEMENT
  • #7 16402306
    nobanmeplease
    Level 16  
    vedy1 wrote:
    @nobanmeplease
    Arduino is not communicating with the camera. Arduino only communicates via bluetoot to control the motors (PWM).
    My colleague probably looks at how the communication with the camera was made to control the position (left / right / up / down).
    The webcam is connected via wifi to the router or ap made on the phone.
    The image is the appropriate ip address (for me: http: // admin: @ 192.168.1.3 / video2.mjpg)
    Each button on the website is also an appropriate address (for me:
    http://192.168.1.3/cgi-bin/lon...nstep=1&tiltstep=1%20HTTP/1.1)
    the rest in the program in the attachment.

    Communication is problematic and not very secure, I would advise you to use a DHCP VPN, which has reserved mac addresses for devices, to the ip addresses as they are.
    Thanks to that, after connecting to any network, everything will work and the transmission will be secured.
    Regarding platform control, bluetooth would have to be replaced with ethernet, then everything would be connected to the router that is responsible for VPN and DHCP.
  • #8 16402353
    vedy1
    Level 15  
    @nobanmeplease
    Thanks for the hint :)
    It reminded me that in the camera the motors responsible for the movement are unipolar stepper motors (5-wire) and also limit sensors (or potentiometers). Also add a piece of the board with control transistors and write a piece of code and you can control the rotation of the camera by arduino.

    best regards
  • #9 16404518
    nobanmeplease
    Level 16  
    vedy1 wrote:
    It reminded me that in the camera the motors responsible for the movement are unipolar stepper motors (5-wire) and also limit sensors (or potentiometers). Also add a piece of the board with control transistors and write a piece of code and you can control the rotation of the camera by arduino.

    It would be a bit more form than content, this camera stands on Linux (or something similar) and after telnet (or sometimes ssh) commands can be sent.
    It is worth learning how to use this open system, and you will understand that writing the code from scratch for each 8-bit device is unprofitable when you only need simple scripts in bash and even cheaper STM32 :)

Topic summary

The discussion revolves around a mini robot project built using an Arduino (ATmega 328) and controlled via a tablet or Android phone. The hardware includes a Chinese robot platform, a double H-bridge motor controller, a 12V to 5V converter for a WiFi camera (DCS-5222L), an 11.1V Li-ion battery, and a Bluetooth module (HC-05). The control software was developed in Arduino IDE and App Inventor for Android. Users expressed interest in the robot's chassis, motor control, and communication methods, with suggestions for improving security and control via Ethernet instead of Bluetooth. Concerns were raised about the project's documentation and cost, as well as the communication between the Arduino and the camera, which operates on a Linux-like system.
Summary generated by the language model.
ADVERTISEMENT