Share My Creation Build your Arduino Rover (B4R) and enjoy with the Bluetooh controller (B4A)

Discussion in 'B4R Share Your Creations' started by DavideV, Jan 22, 2017.

  1. DavideV

    DavideV Active Member Licensed User

    Hi guys,
    time ago i built a Rover (4 wheel, Arduino powered) for my B4A android app:
    https://play.google.com/store/apps/details?id=com.rfo.IRaceradvanced

    the full tutorial for the Rover is here:
    http://www.instructables.com/id/Arduino-4WD-rover-bluetooth-controlled-by-Android-/

    The sketch was written for the Arduino IDE and now ported to B4R.
    The B4R code and the original sketch are attached with some images while working on :)

    Use the B4R serial connector to communicate with the Rover, check the B4R code for supported commands (mostly used to change the bluetooth module parameters)

    The bluetooth module used is the (very basic and cheap) HC-06 but the code should work with the HC-05 too, maybe it needs only some little changes.

    Side note:
    the original sketch (ino) uses 543 bytes of ram (26%) and 8084 bytes of flash (25%)
    the B4R code uses 764 bytes of ram (37%) and 16558 bytes of flash (51%)
    Both codes works fine when uploaded to the Rover

    Obviously the codes uses different approach and develop is faster on B4R and the porting was very easy :)

    The B4R event-oriented code simplify things .
     

    Attached Files:

  2. Toley

    Toley Active Member Licensed User

    Hi DavideV very nice project. It would be great to have a 3D printable model for the frame.
     
    DavideV likes this.
  3. DavideV

    DavideV Active Member Licensed User

    Agree with you, but i haven't :(

    I bought the chassis on Ebay.
     
  4. Toley

    Toley Active Member Licensed User

    Hi again DavideV, something like this would probably be perfect. http://www.thingiverse.com/thing:739024
    I'll give it a try and send you some pictures and feedback (I have everything required for building it).
    I have another question. Do you really use 11.1V to drive the motors? I don't believe those small motors can support it.
     
    DavideV likes this.
  5. jmon

    jmon Well-Known Member Licensed User

    DavideV likes this.
  6. DavideV

    DavideV Active Member Licensed User

    Hi Toley,
    there were no labels with specs on the kit (chassis + motors) but from my tests it works perfect from 9 to 12V.
     
  7. Toley

    Toley Active Member Licensed User

    Hi DavideV
    Just as a follow up, I have build the 3D model. But my motor shield is not the same as yours, I will have to write my own code for it.
     

    Attached Files:

  8. DavideV

    DavideV Active Member Licensed User

    WOW Toley, cool !
    Let me know if you need help.
    I could take a look at your motor shield board, do you have a shematic (or where to download it)?
     
  9. Toley

    Toley Active Member Licensed User

    DavideV likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice