Setting up OTG communication with MIT app inventor

Поделиться
HTML-код
  • Опубликовано: 7 янв 2025

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

  • @kevalnakar6269
    @kevalnakar6269 2 года назад +4

    I liked and subscribed before watching the video because it's only video that describes mit or kodular app with OTG support.
    Thank you so much sir.

  • @PhilipHawthorne
    @PhilipHawthorne 2 месяца назад

    Hi thanks for a very helpful video. I can get this to work but only at 9600 baud. I've tried changing the Ardino sketch and the MIT App to both faster and slower baud rates but only 9600 will work. Others return odd characters insteasd of the sum. Any ideas on what I can try next?

  • @johnchugh1581
    @johnchugh1581 2 месяца назад +1

    I developed a variation of MIT program. It definitely sends the data to Arduino which I have tested. I have tested the Arduino program which shows that it has sent the data to phone.
    That is where I ran out of luck. Phone does not seem to receive the Serial data. Any suggestions!

    • @RafchessJufo
      @RafchessJufo 2 месяца назад

      same for me. Arduino app got from appstore dit show the data, but not AI

  • @robotech2566
    @robotech2566 3 года назад +4

    OTG communication is much effective than wifi or bluetooth

  • @nadeeshpeiris7496
    @nadeeshpeiris7496 3 года назад +2

    Thank you very much for this video. unfortunately its not getting connected when call OpenSerial in my case, but ArduinoDroid samples are working fine.
    Could you please tell me what should I have to do troubleshoot this? Thanks :)

    • @nadeeshpeiris7496
      @nadeeshpeiris7496 3 года назад +1

      Okay, I think it is because of it doesn't show me the dialog box to "allow permission" when I click the "connect" button

    • @viktorashistan7207
      @viktorashistan7207 3 года назад

      @@nadeeshpeiris7496 me neither, have you found a fix?

    • @lifeai1889
      @lifeai1889 2 года назад

      cuz ur arduino have ch340g serial chip

  • @epartsacc
    @epartsacc 3 года назад

    Cool ending music!

  • @antonioarenas4473
    @antonioarenas4473 4 года назад +2

    thanks a lot!! it works perfectly, thanks from Mexico

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

      could you make one where you use serial communication to play a game??

  • @MichelangeloRossini
    @MichelangeloRossini 2 года назад

    I don't see you set serial at 9600 in AI blocks. Why?

  • @claudiojambo
    @claudiojambo 2 года назад

    Excellent! Can you share the code?

  • @anishrathodscience119
    @anishrathodscience119 4 года назад +1

    hey
    I am trying to get this app to work but it just won't connect to my Arduino. There aren't any errors. It's just that when I click connect, it won't connect

    • @VinithMC
      @VinithMC 3 года назад

      Hey did u ever find a fix to this issue? Currently dealing with this right now

    • @anishrathodscience119
      @anishrathodscience119 3 года назад

      @@VinithMC I'm very sorry, but I have not found a fix to this issue

    • @MrIgor269
      @MrIgor269 3 года назад

      У меня такая же проблема. Может нужно изменить настройки для USB в телефоне (или планшете)?

    • @anishrathodscience119
      @anishrathodscience119 3 года назад

      @@MrIgor269 Maybe but I don't think that'll fix it.

    • @MrIgor269
      @MrIgor269 3 года назад

      @@anishrathodscience119 Я уже разобрался. Оказывается в моем телефоне не был включен USB Host! Я зашел в системные файлы Android и дописал пару строчек, чтобы включить USB Host - в итоге у меня на Android 4.0.4 - все заработало!!!

  • @zikermu
    @zikermu Год назад

    Great .Thanks a lot

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

    Hi. I have tried this but no sucess. I got "Error 3901: Serial was not initialized". Tried with two phones same. I have tried app ArduinoDroid to flash my board Arduino Uno and it works so cables are ok. Can you give me some idea what can be? Thanks

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

      that error usually occurs when you try to open serial communication before initializing. make sure you have [call serial1 .initializeSerial] then [call serial1 openSerial].

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

      @@TabletopRobotics thans for replay. I get error immediately as i start application, not even click on conect. And it keep pop up every second

    • @TabletopRobotics
      @TabletopRobotics  4 года назад +1

      then there's a problem with your timer. try moving [set global number to call serial1 .readSerial] so its right below the [set checkbox1 .checked to true]

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

      @@TabletopRobotics that solved error problem, but still no connection, i don't get this promt to allow usb permission when i click conect. Tried via ArduinoDroid to send serial data (two numbers) and i get back sum via serial

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

      I dont really know why. its hard to troubleshoot a problem when its not right in front of me, but i know some phones don't support usb host mode, what version of android are you using?

  • @muhammadfirman8159
    @muhammadfirman8159 3 года назад

    Can u share code?

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

    HI. I get this message and i cannot see the video. (An error occurred. Please try again later. .... and a playback Id.).

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

      Are you getting this error with only my video?

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

      @@TabletopRobotics yes.

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

      I trying to look into it. But a quick google search says youtube is having some technical problems today so there might not be anything I can do. Sorry. But I'll try my best.

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

      @@TabletopRobotics . Thanks for the speed replay to me. Now is working!. I will see it right now. Is strange. I have no problem watching the video from my tv but, i have the problem with linux and windows. :/ (by the way, My tv have Android tv). ..... Strange things from youtube. Again. Thanks.

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

      Glad to hear it :)

  • @EGspider
    @EGspider 4 месяца назад

    You are moving too fast