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 6172 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…
Parents
  • 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 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
Reply
  • 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
Children
No Data
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