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
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Hardware ESP32 and Mongoose OS - Intro
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: mcb1
  • Date Created: 5 Jan 2018 4:33 AM Date Created
  • Views 2087 views
  • Likes 9 likes
  • Comments 4 comments
  • esp32
  • mongoose os
  • flash
  • mongoose os on esp8266
  • wemos
  • lolin32
Related
Recommended

ESP32 and Mongoose OS - Intro

mcb1
mcb1
5 Jan 2018

A few weeks back I was introduced to ESP32's and Moongoose.

 

The guy running the presentation had been using ESP8266's and some custom code, but had been following Moongoose and its progress.

He felt it had matured and with the ESP32 device support it was time to venture in.

 

ESP32

It seems there are a huge variety of boards out there, but you do need to be sure it includes the ESP32 rather than the smaller ESP8266.

 

I purchased two different types

LOLIN32 Lite USD$4.90  https://www.aliexpress.com/item/WEMOS-LOLIN32-Lite-V1-0-0-wifi-bluetooth-board-based-ESP-32-esp32-Rev1-MicroPython-4MB/3…

  imageimage

LOLIN32 Pro USD$8.80 https://www.aliexpress.com/item/LOLIN32-Pro-V1-0-0-wifi-bluetooth-board-based-ESP-32-esp32-Rev1-ESP32-WROVER-MicroPython…

  imageimage

 

 

It seems that I forgot that I ordered them and I'm waiting on 4 of these to arrive.

ESP32 Development Dual-Mode USD$5.77 (plus shipping) https://www.ebay.com/itm/332362698929

image

 

 

The next thing to do is solder on the headers that came with the LOLIN32 Pro and then plug it into a breadboard, so I can try it.

 

 

Moongoose OS

You can download the OS from here https://mongoose-os.com/software.html

It comes in a variety of flavours, so there should be something to suit everyone.

 

It opens as a small command window, and apparently you can use it in commandline mode.

The GUI window opens and gives a fairly user friendly interface.

image

From what I read it pays to download the driver for the WEMOS which use the SiLabs CH210 on the Pro https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers or the CH340 on the Lite https://wiki.wemos.cc/_media/file:ch341ser_win.zip

You can check which Comm Port it has used by looking at device manager in Windows.

image

In this case it is Port 104.

 

Hit the drop-down on Mongoose and select COM104 (in my case)

image

Then click the link or chain box marked Select.

 

Mongoose will then ask you to choose the device ... in this case an ESP32, but you can see it does the older ESP8266 in various flash sizes.

image

 

The App is either demo-js or demo-c, and since I have very little experience with Javascript, I chose demo-c.

image

The Flash button is then pressed and hopefully the log at the bottom shows success (for some reason my Lite didn't flash correctly when I tried it ... it could be the correct driver wasn't loaded.)

image

About now the device is flashed but the WiFi is not enabled.

Enter your SSID and password (I have a special WiFi network configured for these devices, which has no security)

image

 

Once it connects you'll see the Device Status changes to online and green.

 

Clicking on the IP address on the top line opens another tab, and in this case presents you with.

image

While the demo-js flash gives you

image

 

Each time you flash it, the IP address is reset to the default, and you need to click on the set button to pickup the DHCP address your network assigns.

OR you can set the IP address manually.

 

Next Blog, I'll load something proper.

 

Mark

 

next Blog ESP32 and Mongoose OS - First Application

  • Sign in to reply

Top Comments

  • mcb1
    mcb1 over 7 years ago in reply to shabaz +2
    shabaz Thanks. I have to admit that JavaScript is scaring me ... Yesterday I managed to upset it and unlike other programmers, it uploaded and misbehaved .... e14phil Next blog is here ESP32 and Mongoose…
  • shabaz
    shabaz over 7 years ago +1
    Hi Mark, Great intro and set-up guide! I'm looking forward to following your posts and learning about the ESP32 and Mongoose, it's all new to me.
  • mcb1
    mcb1 over 7 years ago in reply to shabaz

    shabaz

    Thanks.

    I have to admit that JavaScript is scaring me ...

    Yesterday I managed to upset it and unlike other programmers, it uploaded and misbehaved ....

     

     

    e14phil  Next blog is here

    ESP32 and Mongoose OS - First Application

    I checked the cable, changed USB ports, and loaded the SiLabs driver and so far it seems to behave.

     

    I found a few wee niggles and a some methods of getting around them, and I'll include it next blog.

     

    Mark

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 7 years ago

    Hi Mark,

     

    Great intro and set-up guide! I'm looking forward to following your posts and learning about the ESP32 and Mongoose, it's all new to me.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mcb1
    mcb1 over 7 years ago in reply to e14phil

    I'm not sure what is happening, as I seem to be able to crash it.

     

    Not sure if it's windows or the comport or mongoose.

     

    I had trouble with this board and trying to load some examples... it reported they weren't there to load.

    I haven't given up .... yet.

     

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • e14phil
    e14phil over 7 years ago

    This is Great! I just picked up similar and am beginning to explore it.

    • 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 © 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