element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum ROBOTDYN card. Mega + WiFi R3 ATmega2560 + ESP8266 (8 Mb mémoire)
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 34 replies
  • Subscribers 405 subscribers
  • Views 6167 views
  • Users 0 members are here
Related

ROBOTDYN card. Mega + WiFi R3 ATmega2560 + ESP8266 (8 Mb mémoire)

serge28
serge28 over 8 years ago

bonjour,

je viens d'acquérir une carte de ce type, achetée sur internet " https://fr.aliexpress.com/item/Mega-WiFi-R3-ATmega2560-ESP8266-8Mb-memory-USB-TTL-CH340G-Compatible-for-Arduino-Mega-Nod… , " malheureusement c'est nouveau et il est impossible de trouver des exemples ou plus d'information concernant des exemples de sketch.

J'ai pu constater en faisant des test, que la partie ESP8266 fonctionne, de même que la carte Mega.

Mais je suis incapable de faire communiquer les deux ensembles, comme il semble que c'est prévu par le "Serial 3"

 

Pourriez vous m'aider ?

Merci par avance
Serge

  • Sign in to reply
  • Cancel

Top Replies

  • bissa
    bissa over 8 years ago +1
    This work for me: Configure the dip switch in the "special" mode: 1(on) 2(on) 3(on) 4(on) 5(off) 6(off) 7(off) 8(off) Turn the switch in RXD3 run the following schech, after adjusting SSID and PASSWORD…
  • kimleng
    kimleng over 7 years ago in reply to isotopa +1
    do u have other way to cmmnicate like facebook or telegeam that is easy to discuss?
  • isotopa
    isotopa over 7 years ago in reply to isotopa +1
    Entiendo. para ejecutar mega + wifi al mismo tiempo, primero debes programar esp8266 y mega antes. Cada uno con sus jumpers. Aquí les dejo un manual: Para probar el funcionamiento de la placa, es necesario…
  • bissa
    bissa over 8 years ago

    This work for me:

     

    1. Configure the dip switch in the "special" mode: 1(on) 2(on) 3(on) 4(on) 5(off) 6(off) 7(off) 8(off)
    2. Turn the switch in RXD3
    3. run the following schech, after adjusting SSID and PASSWORD.

     

    #include "ESP8266.h"

     

    #define SSID        "YOURSID"

    #define PASSWORD    "YOURPASSWORD"

     

    ESP8266 wifi(Serial3,115200);

     

    void setup() {

     

     

      Serial.begin(9600);              

     

      Serial.println("Restart");

      wifi.restart();

      delay(1000);

     

      Serial.println("FW Version:");

      Serial.println(wifi.getVersion().c_str());

     

        if (wifi.setOprToStation()) {

            Serial.println("OprToStation ok");    }

            else {

            Serial.println("OprToStation  err");

        }

     

        if (wifi.joinAP(SSID, PASSWORD)) {

            Serial.println("Join AP success");

     

            Serial.print("IP:");

            Serial.println( wifi.getLocalIP().c_str());      

        } else {

            Serial.println("Join AP failure");

        }

    }

     

    /*******************************************************

     

    Loop

     

    *******************************************************/

    void loop()

    {

    } 

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • serge28
    serge28 over 8 years ago

    Thank you very much for ur message, I will try soon later ur sketch, i keep hope it will run for me too

    i still not tryed on "115200" and such sketch.
    I will tell you more on tomorrow about it


    Serge

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • serge28
    serge28 over 8 years ago in reply to bissa

    I was full of hope after reading your message, but, what i fear happen yesterday evening image

    I tryed the sketch u gave me and thats what it return to me

     

    Restart

    FW Version:

     

    OprToStation  err

    Join AP failure

    --------------------------

    I guess it still mean not any communication between ESP and Mega !

    ---------------------------

    the following lines are the mssg return by ESP itself. Is it a "normal" message ?

     

    ets Jan  8 2013,rst cause:2, boot mode:(3,6)

     

    load 0x4010f000, len 1384, room 16

    tail 8

    chksum 0x2d

    csum 0x2d

    v4022ead8

    ~ld

     

    I asked myself, does it needed to load some sketch in the ESP before it can communicate with the mega ?

    Do you know what the little switch called "mode" on the card used for ?

    i tryed to link directly the ESP and the Mega, any Serial pin, nothing happen too (i changed on the Serial number on the sketch)

    as i tryed anyway to change the bauterate speed too.

     

    Should i admit my card as a problem and i will never be able to used both together ? image

     

    Serge

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • serge28
    serge28 over 8 years ago

    after reading more on net, i think i did something i souldn't, maybe u can tell me about right or not

    It seems, because i donwloaded some sketch already on the ESP, i erased the AT software and thats why it can't run and respond to any AT command sent by the Arduino image

    If i want it back i have to flashing it again on the ESP.

    Do you think thats correct ?

     

    Serge

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • bissa
    bissa over 8 years ago in reply to serge28

    yes, if you flashed the esp with a wrong firmware, you will have to refresh it with a correct one.

    you can test your firmware, connecting the esp directly to usb (not for flashing) and try the "at" command from arduino ide.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • serge28
    serge28 over 8 years ago in reply to bissa

    I finaly succed to obtain AT command, even i didn't flashed it " volontary" it seems something wrong was happen.

    I reinstalled  a bin file i found on net, then now it perfectly run again and i could screening information.

    My wish now, is to be able to find a way to exchange information between an android tablet and arduino. It seems more complicate than i thought to found an available application.

    i tryed "blynk" without succed and some other but there is always something wrong with

    If u already did some things ur side i will like have a look on


    Thank You
    Serge

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • theo59310
    theo59310 over 8 years ago

    Bonjour , j'ai moi même une carte ROBOT DYN , ATmega 2560 + ESP8266.

    Je suis novice , aucun mode d'emploi fourni et impossible de comprendre le fonctionnement .

    serge de chazelles ou quelqu'un d'autre aurai t'il des informations a m'apporter ?

    J'arrive a téléverser des code dans l'ATmega , mais impossible d'utiliser la parti ESP8266.

    Le chevalier est en position "on" sur 1-2-3-4 et fermer sur le reste . Le mode est sur TXD3

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • jcdu
    jcdu over 8 years ago in reply to bissa

    Hello,

    Thank you for these informations.

     

    I have a question about this line :

    ESP8266 wifi(Serial3,115200);

     

    Where did you find theses parameters ?

     

    And where can i find documentation about this Robotdyn MEGA + Wifi card ?

     

    Thank you !

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • userbin
    userbin over 8 years ago

    Bonjour,

    J'ai les mêmes problèmes avec cette carte.

    1)

    USB <-> Mega : OK

    USB <-> ESP : OK

    Mega -> ESP : OK

    Mega <- ESP : rien

    L'ESP comprend les commandes AT du Mega puisque je peux changer le mode, la connexion à l'AP, etc.

    Mais rien en retour.

    J'ai vérifié avec un oscilloscope, il n'y a rien en retour de l'ESP.

    Les commandes AT fonctionnent entre ESP et l'USB.

    2)

    J'utilise la bibliothèque SoftwareSerial.h qui fonctionne bien en temps normal.

    Je bute ici dans l'exemple de BISSA ORBOEA sur la ligne : ESP8266 wifi(Serial3,115200);

    avec l'erreur : no matching function for call to 'ESP8266::ESP8266(HardwareSerial&, long int)'

    Problème de version de la bibliothèque ESP8266.h ?

    3)

    Le bouton Reset ne fonctionne pas. C'est le cas chez vous ?

    4)

    Quelle est l'utilité du bouton Mode sur la carte ?

     

    Si vous avez des solutions ou des réponses, elles sont les bienvenues

    Bonne année à tous

    J-F

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • serge28
    serge28 over 8 years ago in reply to userbin

    Bonjour JF et Théo

    Je viens seulement de voir les différents messages,

    Avez vous "avancé" dans vos tests et essais ?

    Pour ma part je n'ai pas vraiment eu le temps, et de plus j'avoue que tout ces "problèmes" m'ont un peu lassés, c'est bien dommage car j'aurai bien voulu aller plus loin.

     

    Dans mes derniers test, j'avais réussi ceci aussi.

    L'ESP comprend les commandes AT, et encore pas tous, du Mega puisque je peux changer le mode, la connexion à l'AP, etc.

    Mais rien en retour.

    en effet Les commandes AT fonctionnent entre ESP et l'USB.

     

    Mais je ne suis pas très doué au niveau de la maitrise des fonctions "writre, read" et je n'ai pas su faire mieux que de constaté sur mon réseau domestique la présence de l'ESP.

    Au final, ne faut il pas utiliser l'ESP, ainsi que l'Arduino séparément ? cela serait peut être plus simple image

    en fouillant sur la toile, j'ai pu constaté qu'il y a avait énormément d'exemple concernant l'utilisation de l'esp en solo.


    Serge

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube