element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • 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
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • Product Groups
  • 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
Raspberry Pi
  • Products
  • More
Raspberry Pi
Blog Wio RP2040 mini Dev Board
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Raspberry Pi requires membership for participation - click to join
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: ralphjy
  • Date Created: 11 Feb 2022 4:19 AM Date Created
  • Views 5650 views
  • Likes 11 likes
  • Comments 11 comments
Related
Recommended
  • mqtt
  • seeed_wio_rp2040_wifi
  • arduino ide
  • rp2040

Wio RP2040 mini Dev Board

ralphjy
ralphjy
11 Feb 2022

The Raspberry Pi RP2040 MCU has become ubiquitous in the IoT world.  It seems like most manufacturers have their own dev board variations.

I have been looking for a low cost version with rf connectivity that I could integrate into my projects.

I came across an offering from Seeed Studio that is a small low cost ($6.95) PCB module with castellated pads that integrates an RP2040 with an ESP8285 WiFi chip: Wio RP2040 Module.

image

  • Powerful CPU: dual-core 133MHZ RP2040 processor and 264KB SRAM, 2MB Flash
  • Reliable wireless connection: using powerful ESP8285 WiFi chip, supporting 2.4~2.4835 GHz frequency and AP&Station mode
  • Flexibility: compatible with Thonny editor
  • Extremely compact size: 18.0x 28.2x 1.0mm 32 pins SMT
  • Multiple certifications: FCC and CE Certified

I wanted to try out the module, but to make testing easier I decided to get a mini dev board that incorporates the module and adds the convenience of buttons, LEDs,  power regulator, and a USB-C connector: Wio RP2040 mini Dev Board for $12.95.  The only inconvenient issue is the board width is not very breadboard friendly.

image

Lots of examples are using MicroPython, but I prefer C and Seeed has Arduino board libraries for the RP2040 - so I decided to use the Arduino IDE.

image

image

I wrote a quick program to test it out.  It just measures the RP2040 core temperature and publishes it over MQTT.  It also subscribes to the temperature and prints it over the Serial Monitor to verify the callback operation.

Wio_RP2040_MQTT.ino

#include "seeed_rp2040_wifi.h"
#include "arduino_secrets.h"
WiFiMqtt mqtt_test;

float tempRP2040 = 0.0;

void mqtt_cb(const char *topic, const char *msg)
{
  Serial.println();
  Serial.print("Subscribed topics:");
  Serial.println(topic);
  Serial.print("Received message:");
  Serial.println(msg);
  Serial.println();
  }
void setup()
{
    Serial.begin(115200);
    while (!Serial);
    delay(2000);
    Serial.println("******start*******");
    while(false == WiFi.begin(SECRET_SSID, SECRET_PASS))
    {
         Serial.println("connect wifi fail ,try again");
         delay(5000);
    }
    Serial.println("success connect wifi");
    //set
    mqtt_test.mqtt_setcfg("Wio_RP2040","","",0,0,"");//client_id,username,password,cert_key_ID,CA_ID,path

    //connect
    while(!mqtt_test.mqtt_connect("10.0.0.234",1883,0));//server,port,reconnect
    
    mqtt_test.mqtt_set_callback(*mqtt_cb);  

    mqtt_test.mqtt_subscribe("wio_rp2040/temperature",0);
}
 
 
void loop()
{
  //read core temperature
  Serial.printf("Core temperature: %2.2fC\n", analogReadTemp());  
  tempRP2040 = analogReadTemp();
  char tempString[8];
  dtostrf(tempRP2040, 1, 2, tempString);
  //publish
  mqtt_test.mqtt_publish("wio_rp2040/temperature",tempString,0,0);//topic,data,qos,retain

  mqtt_test.mqtt_check_msg();

  delay(1000);
}

image

And the plot on my MQTT server

image

I think that I'll get some modules to try on custom PCBs.  Just have to think of some projects to do...

  • Sign in to reply

Top Comments

  • ralphjy
    ralphjy over 1 year ago in reply to mp2100 +1
    If you don't want to pay an expedited cost, the America Direct Line is 15-20 working days. One of the bigger issues is availability of product. I got this particular board from Mouser for the same price…
  • ralphjy
    ralphjy over 1 year ago in reply to DAB

    Including the Pi Pico, I own 10 different RP2040 boards from 6 different vendors - so that's ubiquitous enough for me.

    According to this post by Eben Upton Raspberry Pi direct buy RP2040 in bulk nearly 1.5 million Pi Picos have been sold and they have enough wafers on hand to produce 20 million RP2040 chips, with more on the way...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 1 year ago

    The RP2040 chip has potential, but time will tell if it becomes ubiquitous.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 1 year ago in reply to ralphjy

    I've not used any of the proto assembly services, so I'm doing the same thing as you and using the modules, for home projects I'm finding it unattractive to use the RP2040 chip, since it needs a separate Flash chip, and probably will want the USB too, so by the time I add all that, I may as well just use a Pico for a similar price. The size doesn't affect most of my projects, but I may reconsider that! : )

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ralphjy
    ralphjy over 1 year ago in reply to dougw

    Just realized what you wrote - not sure I would call that a Pi Pico footprint unless you have a lot of room around the Pico.

    Unfortunately, I can't seem to paste an image, but here is the kickstarter link: https://www.kickstarter.com/projects/udoo/udoo-key-the-4-ai-platform/description - the Pico is basically appended to the ESP32 board.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ralphjy
    ralphjy over 1 year ago in reply to dougw

    I backed that on Kickstarter.  They are having parts supply issues and did not deliver mine last month - no ETA.  Did you get one?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • 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 © 2023 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

  • Facebook
  • Twitter
  • linkedin
  • YouTube