Recent content by MENG XI

  1. MENG XI

    Machine Learning with ARM Cortex M33 Microcontroller

    Machine Learning and TensorFlow Lite for Microcontrollers(TFL4M) While TensorFlow Lite (TFL) for Microcontrollers is designed to run machine learning models on microcontrollers and other devices with only a few kilobytes of memory. The core runtime just fits in 16 KB on an Arm Cortex M3 and can...
  2. MENG XI

    Program Microcontroller with MicroPython RTL8722 port

    here  https://www.amebaiot.com/en/ameba-micropython-summary/
  3. MENG XI

    How many WiFi are there is my neigborhood? 1 line code tells you just that! --Ameba MicroPython

    Have you wondered how many WiFi are there in your surroundings? What are they? Any free network I might connect to? Using MicroPython on Realtek Ameba RTL8722DM, you can do it in just 1 line of Python code, here is how, Materials Ameba x 1 Steps WiFi Scan function can help us quickly...
  4. MENG XI

    Connecting a microcontroller to WiFi is never so easy with Python -- Ameba MicroPython

    For an IoT development board, the tricky part is connecting to other wireless devices, for example wifi router or bluetooth sensor, now with MicroPython, you can connect to any wifi device with only few line of code typed in real time, no compilation is needed! Check out how ameba RTL8722DM does...
  5. MENG XI

    Use UART to send data--Ameba MicroPython

    Take a look of UART communication with Ameba RTL8722 which runs MicroPython Materials Ameba x 1, TTL USB to Serial module x 1 Steps UART is a very versatile communication protocol and...
  6. MENG XI

    Program Periodical Timer on Microcontroller with Python -- Ameba MicroPython

    Time is very useful when come to medium size project that requires periodical triggering of certain task over time, here we are going to show you how ot program Ameba RTL8722 dual-band wifi and BLE microcontrollers, Materials Ameba x 1 Steps There are 3 sets of general timers available...
  7. MENG XI

    Use Python to talk to another Microcontroller via SPI

    SPI is a highly important peripheral for microcontroller as it allows for high speed communication over short range, here is how we use python to send msg to another microcontroller over SPI 材料准备 Ameba x 1, Arduino UNO x 1 范例说明...
  8. MENG XI

    2 lines to get time from RTC -- Ameba MicroPython

    RTC helps to reveal the real time to the machine thus it's critical to some applications. Using MicroPython on Ameba RTL8722, we can get RTC time in just 2 lines, here is how, Materials Ameba x 1 Steps RTC module help microcontroller to keep track of time and is essential to our time...
  9. MENG XI

    Fading an LED using PWM... with MicroPython!

    PWM is one of the crucial peripheral of an MCU, with MicroPython, you can control RTL8722DM to output PWM signal to fade and brighten an LED with ease, here is how, Materials Ameba x 1, LED x 1, Resistor(220ohm) x 1 Steps PWM use pulse width modulation to control output duty cycle and...
  10. MENG XI

    Eink Display and Celebrate Chinese Lantern Festival

    Today is the Chinese Lantern Festival, which is a big festival in Chinese speaking community and also it marks the end of the month-long Chinese New Year celebration, let's see a short clip of Ameba driving e-ink display and playing music https://youtu.be/0uOHViIgqj8
  11. MENG XI

    Let 2 Microcontroller talk to each other using I2C in Python -- Ameba

    Sometimes we need to exchange some data with another microconrtoller in close range, then we can use I2C for this job, even better, with MicroPython, we can do it in less than 5 lines of code, here is how it's done on ameba  RTL8722 from Realtek...
  12. MENG XI

    3 different ways to blink an LED using Python on Microcontroller -- Ameba

    Controlling LED has never been easier with MicroPython on Ameba RTL8722 WiFi and BLE microcontroller, today I am gonna show you just how to blink an LED in 3 different ways! Materials Ameba x 1, LED x 1, Resistor(220ohm) x 1 Steps Blink is one of the best examples to get started with...
  13. MENG XI

    How to easily turn on/off all debug message on Arduino IDE

    Introduction Arduino IDE is a convenient tool to write your code and upload to microcontrollers. However, it doesn’t come with debugger function, which means the only way to debug our program is through using debug message through standard output, in this case, Serial Monitor. Debug message...
  14. MENG XI

    BLE configures WiFi -- Ameba Arduino

    With a BLE5.0 & Dual-band WiFi microcontroller, you will never have to worry about re-compiling the code just to change the WiFi ssid and password. Ameba RTL8722 is a BLE5.0 and dual-band WiFi (2.4G & 5G) Iinternet-of-Things (IoT) developing platform that suit the need for many IoT...
  15. MENG XI

    Reading ADC value in 3 lines -- Ameba MicroPython

    RTL8722 from Realtek supports MicroPython and reading ADC values using Python script in 3 lines, here is an example ADC read potentiometer: • Materials: Ameba x 1, potentiomete x 1 • Steps: Here we connect ameba to a potentiometer to measure its analogue value, the connection is as...
Top