Arduino Mega with onboard ESP8266

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ม.ค. 2025

ความคิดเห็น • 37

  • @mattspiller1638
    @mattspiller1638 4 ปีที่แล้ว +23

    Could you please do a video starting from the beginning on how to get this board operating with a sketch. There is nothing in English to assist people on TH-cam many would be most grateful

  • @chaitanyagaikwad2664
    @chaitanyagaikwad2664 2 ปีที่แล้ว

    Great work with the board, can you please provide the link to the github codes and DIP switches charts as well a the step by step process that you mentioned as it will be helpful to people like me who are new to this board

  • @tedkrapf1302
    @tedkrapf1302 4 ปีที่แล้ว +1

    great video Arsh. Can you share the github of the sketches? As well as the DIP and TX/RX settings you used during programming and running the apps? It would be EXTREMELY helpful for me. I have the same board and it's been maddening. I'm able to program and monitor the Arduino and ESP separately. I've gotten the ESP onto my Wifi and setup a simple test webserver similar to what you show in your video. But for the life of me, I cannot seem to get the Arduino to send information to the ESP. I think just seeing a working code example, with the DIP and TX/RX settings, would get me passed my frustrations. THANK YOU. Again -- great video, thanks for taking the time to record/post this!

    • @tedkrapf1302
      @tedkrapf1302 4 ปีที่แล้ว +2

      I eventually was able to get the sketches uploaded to both the ESP and Mega, AND able to get serial communication going both directions (ESP -> Mega, and Mega -> ESP). Getting the serial communication working both directions lets me:
      -call a simple web API on the ESP, have the ESP send a serial string (command) to the Mega, and have the Mega act on the command
      -have the Mega read a sensor (and/or event), have the Mega rely the sensor data to the ESP, have the ESP call out to an external API to log the data
      I haven't had a chance to document the whole thing yet because I've been so busy with work, but if someone is in dire need of a fully working sketch let me know. I'll try my best to get what I learned posted on my blog.
      Now that I know how this board works, I really like it -- except for the fact that I want to run a touchscreen shield on top of it, which obstructs the DIP switches from being toggled (SMH). That's not the end of the world, but is rather annoying when coding/debugging/deploying.
      Arsh, once again, THANK YOU for posting this video! It was instrumental to me figuring out how to work with this board!! Hope you are well and healthy!

    • @dillankurtin2856
      @dillankurtin2856 4 ปีที่แล้ว +1

      @@tedkrapf1302 I would very much like the code as well. I am trying to create a smart garden system and I purchased this board and getting the arduino and ESP to interact has been hard.

    • @tedkrapf1302
      @tedkrapf1302 4 ปีที่แล้ว +2

      @@leandrosilvarodriguez6875 & @Dillan Kurtin, check out www.tedkrapf.com/Rants,Rave,Tips.aspx?article=543 for a (really terribly written) blog post, I also posted the sketches I had. I hope it helps. When I have more time, I'll try to clean up the code more and get it onto GitHub, but for now it's all the time I could spare because I didn't want to leave you hanging. Happy Coding!

    • @billmckinzie
      @billmckinzie 4 ปีที่แล้ว +1

      @@tedkrapf1302 Thank you. I , too, have noticed this board and was interested. It is poorly documented and I have looked many places. I will write something up in great detail when I figure out the basics. Thank you for your help.

    • @suyogsawant5045
      @suyogsawant5045 4 ปีที่แล้ว

      @@tedkrapf1302 Thank you very much. At first I don't know I have to write 2 codes. Thanks for that but just 1 question remains is what about tx0-rx0 or tx3-rx3. I don't get that . Otherwise the documentation is very good. I think this is much underated board . Just answer me about rx-tx

  • @nabasetech547
    @nabasetech547 5 ปีที่แล้ว +1

    hi i just bought same arduino board, but when i try to upload my sketch i get this error "avrdude: stk500v2_getsync(): timeout communicating with programmer"

    • @w35l3y
      @w35l3y 4 ปีที่แล้ว +5

      I had the same problem.
      In my case, I changed DIP switch to OFF OFF ON ON OFF OFF OFF OFF (atmega2560 sketch upload)
      When I pressed "Upload" on the IDE, I also had to click "Reset" button in the first tries.
      Now, it works without having to click "Reset".
      There are some videos on youtube mentioning this process.

    • @antonyj5239
      @antonyj5239 4 ปีที่แล้ว +1

      @@w35l3y Thank You, This helped me.

    • @Akash-xn3bk
      @Akash-xn3bk 4 ปีที่แล้ว +1

      @@w35l3y u saved my day ♥️♥️♥️

    • @annoorkhan4219
      @annoorkhan4219 3 ปีที่แล้ว

      @@w35l3y yes...it required a reset....but unfortunately I did same procedure for another board ..but it not solved! Can u exactly tell me when I have to do the reset?

    • @w35l3y
      @w35l3y 3 ปีที่แล้ว

      @@annoorkhan4219 it is not easy to identify the exact moment. You will need to try different moments for yourself.
      During the uploading process at arduino IDE, wait until the green bar reach +- 100% and then press reset.
      It might not work in the first tries.
      Once it starts uploading, it should be fixed and you won't need to do it anymore.

  • @arvindh4327
    @arvindh4327 3 ปีที่แล้ว

    Is it possible or have you tried micropython for esp and usual arduino c++ for mega?

  • @hariharanramamurthy9946
    @hariharanramamurthy9946 3 ปีที่แล้ว +1

    My does not get detected in windows 10

  • @jatinpatel284
    @jatinpatel284 2 ปีที่แล้ว

    Hey, man could you please share this code for transferring data, esp866 to megha 2560 wifi r3

  • @bullygram
    @bullygram 4 ปีที่แล้ว +2

    Bluetooth?

    • @getinsidelife
      @getinsidelife 4 ปีที่แล้ว

      Shri Hari Ram G most likely mistake

  • @akshatsingh1974
    @akshatsingh1974 4 ปีที่แล้ว

    hey can u gice links to understand the board?

  • @suyogsawant5045
    @suyogsawant5045 4 ปีที่แล้ว +1

    Anyone got Source code ?

  • @josemanuelgarciarodriguez6748
    @josemanuelgarciarodriguez6748 4 ปีที่แล้ว +1

    the code please

  • @ashbarismayil4452
    @ashbarismayil4452 4 ปีที่แล้ว +1

    can i get your email