Close
0%
0%

Power Save - Tickless Mode

Ameba-D supports two low power modes which are deep sleep mode and sleep mode.

Public Chat
Similar projects worth following
62 views
0 followers
The power consumptions of Tickless Sleep Mode is around 28uA to 30uA compared to normal state around 15mA. This example describes how to use freertos tickless with UART interruptable interface.

Ameba is a low-power dual-band WLAN and Bluetooth Low Energy SoC by Realtek. The AMB23 (RTL8722DM_MINI) also include memory for Wi-Fi protocol functions and application making it simple for anyone to develop various kind of IoT applications. At the same time it has a wide range of peripheral interfaces. With all these interfaces, it can connect to most of the electronics components like LEDs, temperature and humidity sensors, and so on.

More Resources:

If you need additional technical documents or the source code for this project. Please visit the official websites and join the Facebook group and forum.

Ameba Official Website: https://www.amebaiot.com/en/ 

Ameba Facebook Group: https://www.facebook.com/groups/amebaioten 

Ameba Forum: https://forum.amebaiot.com/

  • 1 × AMB23 (RTL8722DM MINI)

  • 1
    SetUp

    Open “File” -> “Examples” -> “AmebaPowerSave” -> “TicklessMode”

    1

  • 2
    Programming

    Set condition values as picture below.
    “TL_WAKEUP_SOURCE” is used to set the wake-up source, user can chose 3 wake up sources now,
    LOGUART(SET_TL_UART_WAKEUP);
    RTC Timer(SET_TL_RTC_WAKEUP);
    AON pins(SET_AON_WAKEPIN_WAKEUP);

    Using LOGUART as wakeup source
    When the LOGUART is selected as the wakeup source, the “TL_Suspend_function” will enter sleep mode. And then it is kept alive for 13s then enter sleep mode. To wakeup, press enter.
    Using RTC Timer as wakeup source
    RTC Timer wakeup system is by setting alarm. The alarm has 4 values to be set, day, hour, min and sec. All 4 values can be set by DS_RTC_ALARM_DAY, DS_RTC_ALARM_HOUR, DS_RTC_ALARM_MIN, and DS_RTC_ALARM_SEC.

    1

  • 3
    Result

    LOGUART

    1

    RTC Timer

    1

    AON GPIO Pins

    1

View all 3 instructions

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates