Search results

  1. M

    Run MicroPython on Realtek's RTL8722 development board

    When running microPython on the RTL8722DM, there are 3 sets of general timers available to the user, each running at 32KHz, Each timer can be set to trigger periodically, or only once, and the period can be adjusted at the microsecond scale. Here we use timer 1 as example to demonstrate how a...
  2. M

    Run MicroPython on Realtek's RTL8722 development board

    Realtek's RTL8722DM_mini development board is now supported in the Arduino IDE. In addition to features found on the regular RTL8722DM such as GPIO, UART, SPI, I2C, ADC, WiFi and BLE 5.0, the new mini development board integrates a microphone, audio output jack and SD card slot for audio...
  3. M

    Run MicroPython on Realtek's RTL8722 development board

    With BLEUART, it is easy to expand the provided example code to accept custom UART commands to achieve your desired application. Here is an example of using BLEUART to achieve remote control of a robot car from a smartphone app. More details on the project can be found at: Project: Ameba BLE...
  4. M

    Run MicroPython on Realtek's RTL8722 development board

    SPI is a fast and robust communication protocol that are commonly found on many microcontrollers and is often used to retrieve sensor data or output image signal to a display. RTL8722DM supports SPI in both master and slave mode. Here we are going to see an example demonstrating how to receive...
  5. M

    Run MicroPython on Realtek's RTL8722 development board

    I2C is a communication protocol commonly used for with interfacing with external sensors. A key advantage of the I2C bus is the low pin count required, only two wires are needed to achieve a data rate up to 3.4Mbps. It works in master-slave model and a master can simultaneously connect to up to...
  6. M

    Run MicroPython on Realtek's RTL8722 development board

    Introduction to developing for MicroPython — MicroPython API design and methods Introduction MicroPython is a scripting language whereas C/C++ is not, so there are a lot of rules we have to follow to make the Python compiler understand our C code. API Design Let’s take ADC module as an...
  7. M

    Run MicroPython on Realtek's RTL8722 development board

    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...
  8. M

    Run MicroPython on Realtek's RTL8722 development board

    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...
  9. M

    Run MicroPython on Realtek's RTL8722 development board

    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...
  10. M

    Run MicroPython on Realtek's RTL8722 development board

    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...
  11. M

    Advantages of E-Paper displays for IoT applications

    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...
  12. M

    Advantages of E-Paper displays for IoT applications

    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...
  13. M

    Advantages of E-Paper displays for IoT applications

    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...
Top