• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Wake ESP32 with Ebyte, E220-900T30D Radio; built-in battery monitor

Q&A Forum › Category: ESP32 › Wake ESP32 with Ebyte, E220-900T30D Radio; built-in battery monitor
0 Vote Up Vote Down
William Lucid asked 1 year ago

Update 10/30/2024:  Coding completed July 29, 2024. Github Repository for E220-Remote-Switch

Asked Google’s Gemini to review project:   Gemini review

Alert:  Ebyte E220 and others are regulated by frequency band. Check  frequency band, region where you are if working with project!  915 Mhz is for the United States.

Renzo Mischianti’s Ebyte E220 articles:

Ebyte LoRa E220 device for Arduino, esp32 or esp8266: settings and basic usage

Ebyte LoRa E220 device for Arduino, esp32 or esp8266: library

Ebyte LoRa E220 device for Arduino, esp32 or esp8266: configuration

Ebyte LoRa E220 device for Arduino, esp32 or esp8266: fixed transmission, broadcast, monitor, and RSSI

Ebyte LoRa E220 device for Arduino, esp32 or esp8266: power-saving and sending structured data

Ebyte LoRa E220 device for Arduino, esp32 or esp8266: WOR microcontroller and Arduino shield

Ebyte LoRa E220 device for Arduino, esp32 or esp8266: WOR microcontroller and WeMos D1 shield

Ebyte LoRa E220 device for Arduino, e

sp32 or esp8266: WOR microcontroller and esp32 dev v1 shield

 

Github Ebyte E220 library

 

Mischianti Arduino LoRa shield (Open source)

Mischianti WeMos LoRa shield (Open source)

Mischianti ESP32 DOIT DEV KIT v1 shield (Open source)

 

Support Forum

 

William

Question Tags: E220, ESP32, Radio, WOR
13 Answers
0 Vote Up Vote Down
William Lucid answered 1 year ago

Received two, Ebyte E220-900T30D Low Power Consumption Small Size Transceivers Transmitter Receiver today.  Will be starting project in a few days; when I return home.

Ebyte E220-900T30D transceivers can be purchased on Amazon:

LLCC68 LoRa Wireless Serial Port Module 868MHz 915MHz 30dBm 10km Long Range E220-900T30D Low Power Consumption Small Size Transceiver Transmitter Receiver

Plan is to use transceivers for sending sensor data from yard to a web server; inside house.  Web server will be used to serve weather observations, video live feed, and to provide control of battery power; switching a Wyze Cam v3 on/off by web request then a count down timer to turn off camera power.

Already have web server with camera web request controlling power for the video camera coded from another project.  New to this project will be a feature of the transceivers called wake on radio (WOR); which allows ~2 uA radio sleep current.  Transceiver has an a aux pin that can be used to wake a microcontroller

Will be following Renzo’s article

Ebyte LoRa E220 device for Arduino, esp32 or esp8266: WOR microcontroller and esp32 dev v1 shield:

William

0 Vote Up Vote Down
William Lucid answered 1 year ago

Project will be solar powered; have assembled a Solar Charge Controller/Battery box and have mounted Solar panel on shed roof.  Will have ~ 120 watts available for project and other shed uses.

Solar charge controller battery box

William

0 Vote Up Vote Down
William Lucid answered 1 year ago

Completed first coding of Eybte’s E220 radio for remotely switching power to video camera by web browser request.  Asyncwebserver request turns on camera power and starts countdown timer for a set viewing time.  When web request arrives; WOR (Wake on Radio) awakens deep sleeping ESP32,  relay for camera power energizes. Countdown timer expires relay de-engergizes.

Advantage of Ebyte E220-900T30D is the WOR feature; allows the sender E220 to wake up the receiving E220. Current spec for transceiver in sleep mode is 2 uA. Same signal used to wake up E220 receiver is used to wake micrcontroller; in this case an ESP32.

Github E220-900T30D project

Follow the “Readme.md” in the repository for project code.  Need to run two configuration sketches before running sender and receiver sketches.

Regards,
William

0 Vote Up Vote Down
William Lucid answered 1 year ago

Took some measurements of current consumption when the Ebyte E220-900T30D is in the WOR mode. I was expecting a steady value for the WOR; this is not the case.

Video of WOR mode current readings

Hi William,
It’s normal the device use a WOR cycle to check if some message is coming, you can find more information here.

WOR Cycle
A critical configuration parameter is WOR Cycle, for the sender is essential because It adds a long preamble to the message (long as wake time). The handset uses the wake-up time as the cadence for checking a wake-up message. So if the receiver checks every 2000ms (polling time) if there is a message, the sender adds a 2000ms preamble. The receiver intercepts the message preamble, waits for the actual message to read, and returns to power save mode.
So If you want to maximize the power save, you must put minimal WOR Cycle. If you want more efficiency, you must do the inverse.

Bye Renzo

William

0 Vote Up Vote Down
William Lucid answered 1 year ago

Here are some notes on Ebyte, E220 Series WOR (Wake on Radio) Configuration settings:

Ebyte, E220 Series WOR Configuration notes

WOR Current meter readings Increased the seperation distance between sender and receiver.

E220-900T30D Completed project code 

William

0 Vote Up Vote Down
William Lucid answered 1 year ago

Good Morning,

Started E220 project by reading all eight Renzo Mischanti’s articles.  Only issue was being to eager to get it working; giving time for the articles to sink in helped greatly.

Documentation of E220-900T30D Project code

Regards,
William

0 Vote Up Vote Down
William Lucid answered 1 year ago

Good Evening,

Completed project video

Regards,
William

0 Vote Up Vote Down
William Lucid answered 1 year ago

Good Morning,

New project is a remote battery monitor with NTP timestamp transmitted to E220 receiver. Have the project compeled.

Project logs timestamp, adc reading, and voltage to LittleFS. Going to try and find out how long battery lasts compared to the number of requests made using an automated method of generating GET requests.. conditonal statement determine how often request are made to AsycWebServer. Server switches on live video camera for a predetermined period using a once Ticker timer method.

Project is a work in progress…

Remote-Relay-with-Battery-Monitor –Project code.

Created a video of “Remote-Relay-with-Battery-Monitorproject”:

Remote-Relay-with-Battery-Monitor –video:

Count down timer is set for two minutes; between “”ON” and “Off” message, making video two and half minutes.  This is a pre-determined and adjustable time for the video camera to be “ON”.

William

0 Vote Up Vote Down
William Lucid answered 1 year ago

Good Morning,

Planning to use a INA226, I2C Current, Voltage, and Power device for measurements.  INA226 will be part of the EByte, E220-900T30D project:

Remote-Relay-with-Battery-Monitor  (a work inprogress..)

William

0 Vote Up Vote Down
William Lucid answered 1 year ago

Good Afternoon,
Progress is good on project; mostly complete, want to add two-way messaging, that will come later.  Now the project uses two, EByte E220-900T30D transvievers to wake a sleeping ESP32 with the first WOR preable message,  When a person sends a URL request to view camera; the solar charged, battery power is switched on with a KY002S mosfet switch, happening at same time a count down timer is started to turn off battery power once timer expires.  When the battery power is turned on battery status is checked using a INA226 Battery monitor module.  Battery data is logged to LittleFS file.  Stand alone FTP sketch allows access to file for viewing.
Camera is a Wyse Cam v3 that draws 180 mA; that until now used battery 24/7 on a 10,000 maH power bank that only lasted about day.  This improvement; should conserve the majority of lost battery power.

Short video of the project:

William

0 Vote Up Vote Down
William Lucid answered 8 months ago

Good Afternoon,
Recovering from back surgery. 
Just checking to see any new interest.
 
William

0 Vote Up Vote Down
Sara Santos Staff answered 8 months ago

Hi.
I hope you have a good recovery.
All the best.
Regards,
Sara

0 Vote Up Vote Down
William Lucid answered 8 months ago

Thanks you Sara.
Project ended with the Github.com/tech500 repository name:  E220-Remote-Switch
Project description and short video posted:  “Espressif” (ESP32.com):  “Espressif” Showcase forum post
 
Regards,
William

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.