Jump to content
Electronics-Lab.com Community

MarkCrabs

Members
  • Content Count

    26
  • Joined

  • Last visited

2 Followers

About MarkCrabs

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. UART is a versatile communication protocol commonly used to transmit and receive data with other microcontrollers. To use the UART protocol with a PC, a TTL USB to Serial module is required to translate UART signals to USB signals. Here is an example of RTL8722 using the UART protocol with just a few lines of MicroPython code. Connect the USB to UART module to PA_21 and PA_22 as shown below:
  2. For developers interested in MicroPython, the process of building a MicroPython firmware image and adding new features is also easy. To build a MicroPython firmware successfully, the first step is to get the software and set them up correctly. Here is a list of the most important software that are used in the firmware building process, Cygwin: This is the first software you need to install, and we recommand using 32-bit version even for a 64-bit machine. During cygwin installation, there are 2 additional packeges to install as well, GNU make under Devel category and bc under Mat
  3. Microcontrollers are known for its low power usage and limited resources thus often deemed unable to understand Python script as Python need interpretor to translate script into machine langauge and intepretor are usaully quite resource-consuming. However, MicroPython has arisen as a lean and efficiant Python 3 interpretor that can be run on ARM Cortex-M series microcontrollers. Ameba RTL8722 is an ARM Cortex-M33 microcontroller that has dual-band WiFi and BLE 5.0, other than that it is fully capable of running MicroPython and controls WiFi using Python script. In addition, its requiremen
  4. Realtek's RTL8722DM development board now supports running Python code through the MicroPython firmware. You can now control the GPIO and other peripherals using the Python syntax through the REPL interface in MicroPython, or by writing it as a script on the device. A basic example using WiFi to control a LED can be seen at : Join in the community discussions at: https://www.facebook.com/groups/AmebaIoT/ https://forum.amebaiot.com/ Purchase links for the various Realtek development boards can be found at: https://www.amebaiot.com/en/where-to-buy-link/
  5. For more power savings, you can use BLE for transmitting small amounts of data. BLE is a more power saving focused wireless protocol compared to WiFi or standard BT, trading off bandwidth and range for greatly reduce power consumption. By adjusting connection parameters such as BLE connection intervals and slave latency, users can choose to further reduce bandwidth to minimize power consumption, which can be useful in IoT projects which do not need to transmit large amounts of data. Realtek's RTL8722 microcontroller supports BLE 5.0, can be programmed using the Arduino IDE and includes ex
  6. Besides saving power through using a E-Ink display, it is also important to minimize power consumption of the microcontroller, since wireless connections such as WiFi and BLE can use up significant amounts of your project's battery capacity if left on continuously. Realtek's RTL8722 microcontroller contains 2 processor cores, a high performance core for general user applications, and a low power core to maintain system state and check for wake triggers when the high performance core is in deep sleep mode. This allows the RTL8722 to reduce power consumption when the system is idle and ther
  7. E-Paper displays offer a unique advantage in that maintaining the displayed image does not require any power, unlike LCDs and OLEDs. Power is only actively consumed when updating the display, However, the downside is that display updates can be somewhat slow, depending on the display area to be updated. The unique features of E-Paper displays makes them a good match for low-power IoT projects, since the microcontroller can set the display and go into sleep mode, only waking up to read sensor values and update the display. This demo project shows how a RTL8722 microcontroller can be used t
×
  • Create New...