Control Arduino based robots via Android smartphone with 1Sheeld - Gamepad Shield Tutorial

Поделиться
HTML-код
  • Опубликовано: 16 сен 2024
  • 1Sheeld is a mobile app and a board that turns your smartphone into an open platform for Arduino.
    In this case you can use your smartphone or tablet as a game controller to play with any robot or RC car.
    The idea basically is to make your smart phone act as an input/output to the Arduino, so you can use the touch screen of your smartphone as an LCD, or make the phone an Arduino controller starting with simple push buttons, keypad, or keyboard or voice recognition!
    Or use it as an output from Arduino like logging data on it, or converting text to speech or use it as a music player.
    So basically whatever your phone does, you can link it to Arduino, think about Facebook, Twitter, Skype (Yes you can stream a video call!), touch screen, music player, GPS sensor, Gyroscope sensor and much more!
    Code: codebender.cc/...
    You can know more about 1Sheeld from www.1sheeld.com.

Комментарии • 32

  • @chaymaletayef3780
    @chaymaletayef3780 6 лет назад

    i really loved u'r english finally a video with both fluent english and interesting info well done :)))

  • @wienerschnitzelwienerschni194
    @wienerschnitzelwienerschni194 8 лет назад +1

    that's it i'm buy one now!!

  • @yarlosilva1
    @yarlosilva1 9 лет назад

    I would wish know more about the special sheelds.

    • @1Sheeld
      @1Sheeld  9 лет назад

      mafaraima de yarlo
      Here's a Tutorial for special Shields
      1sheeld.com/tutorials/special-shields/
      If you are going to do a project with them, you can share it on our contest on Hackster and you can win a 3D-Printer!
      www.hackster.io/challenges/Smartphone-Hacks/

  • @mendozamanuel1
    @mendozamanuel1 4 года назад

    Tengo el modulo 1sheeld para realizar este grandioso proyecto, donde puedo consultar mas información para crear este fabuloso proyecto, diagramas de conexión y galerías de fotos.

  • @ashutoshsinghparmar9254
    @ashutoshsinghparmar9254 8 лет назад +1

    Hello Amr this is the best arduino board I have ever used and would recommend ever arduino lover to have at least one 1 sheeld but why is it not available in India ; I got it from one of my relatives in USA

    • @1Sheeld
      @1Sheeld  8 лет назад

      +Ashutosh Parmar Actually we do have a distributor in India :)
      www.tannaeducation.com/products/arduino-1sheeld/p/142/

  • @CuriousMindsKIRTHI
    @CuriousMindsKIRTHI 5 лет назад

    What pins should I put for up arrow, down arrow and others on the mobile?

  • @samoulou5524
    @samoulou5524 7 лет назад

    Please Can you help me
    I want to realize this design by NUCLEO STM 32.
    I have tried without result.

  • @CuriousMindsKIRTHI
    @CuriousMindsKIRTHI 5 лет назад

    Can you please send me code for Adafruit motor shield?

  • @wienerschnitzelwienerschni194
    @wienerschnitzelwienerschni194 8 лет назад

    (sketch file) GamePad Robot.ino:2:10: fatal error: 'MotorDriver.h' file not found
    #include "MotorDriver.h"

  • @MARKBASEBALL25
    @MARKBASEBALL25 9 лет назад +1

    Didn't work...(error compiling).....I was able to download several other codes. I would like the ability to use 1sheeld with code bender. Please help me out. I would like to buy more 1sheelds but not if the codes do not work

    • @1Sheeld
      @1Sheeld  9 лет назад

      +MARKBASEBALL25 Sad to hear that! Are you using Seeed Studio's motor shield? In that case you have to get Seeed Studio's library, also you can clone and edit any 1Sheeld project on Codebender, check this tutorial here: ruclips.net/video/Bhu1VcTa3zQ/видео.html

    • @MARKBASEBALL25
      @MARKBASEBALL25 9 лет назад +1

      +1Sheeld
      I contacted Code Bender and 1 Sheeld for support but everyone keeps telling me to use the motordriver library.
      I just need just the motordriver library location. I want to use this exact program you are using in the this specific youtube video. This is the reason I purchased the 1sheeld.
      This (GamePad_SparkFun_SeeedShield_Car) code is not working properly. I have used several other codes. My kids want to get involved in robotics and this would be the challenge to start with.
      This is the response for from code bender.
      It seems that the problem with your sketch, is that our compiler can't find the MotorDriver library. As the error output states, this library don't exist in our system. I tried to find this library in several sites but with no luck unfortunately. If you are able to find this specific library, you can upload it as a personal library in codebender. If you don't know how to do this please read these instructions. Finally (if you manage to locate this library), you can open a new request for this library in our feedback platform.
      I am sorry for not being able to help you more with your issue, and please let me know if there's anything else I can do for you.
      Best Regards
      Antonis CC

    • @1Sheeld
      @1Sheeld  8 лет назад

      +MARKBASEBALL25 Probably because the motor shield is not included on Codebender, that is the problem! Have you tried using Seeed library in the Arduino IDE?

  • @wienerschnitzelwienerschni194
    @wienerschnitzelwienerschni194 8 лет назад +1

    assalamu alaikum
    do I have to use a seeed motor shield?

    • @1Sheeld
      @1Sheeld  8 лет назад

      +Jay Zelsmite W Alaikom Al Salam Jay, in this project we used Seeed Studio motor shield, you can use whatever Motor shield :)

    • @wienerschnitzelwienerschni194
      @wienerschnitzelwienerschni194 8 лет назад

      I did use another motor driver this is what I got (sketch file) GamePad Robot.ino:2:10: fatal error: 'MotorDriver.h' file not found
      #include "MotorDriver.h"

  • @mohamedayman8660
    @mohamedayman8660 8 лет назад +2

    لية ما بتعملوش فيديوهات بالغة العريية هما الاجانب ناقصين فيديوهات

    • @1Sheeld
      @1Sheeld  8 лет назад

      +Mohamed Ayman أهلاً يا محمد، دي فيديوهات شرح لاستخدام 1Sheeld معمولة باللغة الإنجليزية علشان أي حد من أي بلد يعرف يستفيد منها.
      حالياً بنشتغل مع مجتمع ال-makers علشان نترجم الفيديوهات، وبالفعل تم عمل فيديوهات باللغة الفرنسية، الأسبانية والبرتغالية، هل عندك إستعداد تشارك في الفيديوهات العربي؟

  • @sherifhamed4095
    @sherifhamed4095 9 лет назад

    I did it :)
    But how you don't use a relay board ?

    • @1Sheeld
      @1Sheeld  9 лет назад

      sherif hamed Here we use the Seeed Studio motor shield :)

    • @sherifhamed4095
      @sherifhamed4095 9 лет назад

      it sounds good ... i will try it ;)

    • @1Sheeld
      @1Sheeld  9 лет назад

      sherif hamed
      Sherif now you can share your projects with us on our contest on Hackster and win a 3D-Printer!
      www.hackster.io/challenges/Smartphone-Hacks/

  • @101ArmyMP
    @101ArmyMP 8 лет назад

    Hello. I tried to replicate your code for this shield and a 2WD robot platform from what you showed on the video. The last part of the code, for "safety" from what you said in the video, won't compile. This is what I typed for the code:
    #include
    #include "MotorDriver.h"
    void setup()
    {
    OneSheeld.begin();
    motordriver.init();
    motordriver.setSpeed(255,MOTORB);
    motordriver.setSpeed(255,MOTORA);
    }
    void loop()
    {
    if (GamePad.isUpPressed())
    motordriver.goForward();
    else if (GamePad.isRightPressed())
    motordriver.goRight();
    else if (GamePad.isLeftPressed())
    motordriver.goLeft();
    else if (GamePad.isDownPressed())
    motordriver.goBackward();
    if ((GamePad.isRightPressed() || GamePad.isLeftPressed() || GamePad.isUpPressed() || GamePad.isDownPressed()) ** false)
    motordriver.stop();
    }
    And this is the copy of the error message:
    Arduino: 1.6.7 (Windows 10), Board: "Arduino/Genuino Uno"
    In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:24:0,
    from sketch\GamePad_SeeedShield_Car.ino.cpp:1:
    C:\Users\Michael\Documents\Arduino\GamePad_SeeedShield_Car\GamePad_SeeedShield_Car.ino: In function 'void loop()':
    GamePad_SeeedShield_Car:23: error: invalid type argument of unary '*' (have 'bool')
    if ((GamePad.isRightPressed() || GamePad.isLeftPressed() || GamePad.isUpPressed() || GamePad.isDownPressed()) ** false)
    ^
    exit status 1
    invalid type argument of unary '*' (have 'bool')
    This report would have more information with
    "Show verbose output during compilation"
    enabled in File > Preferences.
    Can you tell me where I have gone wrong, or post the correct code? Thanks!
    Michael

  • @7SOON26
    @7SOON26 8 лет назад

    لو سمحت نبي صوره عن المشروع توضح التوصيلات الكهربائيه

    • @1Sheeld
      @1Sheeld  8 лет назад

      www.hackster.io/13766/super-easy-to-build-1sheeld-2-wheel-drive-robot-cb9b66 :)