Posts

Showing posts from July, 2026

How to Add CH32V Support to PlatformIO

Image
CH32V are quite cheap RISC-V architecture microcontrollers from WinChipHead (Nanjing Qinheng Microelectronics). There is also CH32F — these are microcontrollers based on the ARM architecture. To get started, we will need two things: A CR-CH32VXX development board (devboard) with a CH32V003 — which is one of the cheapest microcontrollers. And a WCH-LinkE — a programmer for the CH32V. You can find standard WCH-Link programmers on sale, but they are not suitable for the CH32V00x series because it uses a single-wire programming and debugging protocol. And this is only supported by the more expensive WCH-LinkE. By the way, there are projects that turn an RP2040 into a similar programmer, but the official utilities (MounRiver Studio) do not support anything other than WCH-Link. However, I don’t use the official IDE anyway. Therefore, I will probably try doing this and describe the process in the near future. Why do I use PlatformIO instead of MounRiver Studio? On the one hand, Mou...

Review and Setup of the A7670E LTE Modem on Linux

Image
Features: Connectivity : GSM/GPRS/EDGE: 900/1800 MHz and LTE-FDD: B1, B3, B5, B7, B8, B20. Navigation : Includes an input for a GNSS antenna for satellite positioning. Data Rates : Over LTE — Downlink up to 10 Mbps, Uplink up to 5 Mbps. Over EDGE: up to 236.8 Kbps in both directions. Power Supply : 3.4 V to 4.2 V — perfectly matching the operating voltage range of Li-Ion batteries. Interfaces : USB — the module emulates a network card (RNDIS) and UART. There is also a separate, “real” UART. However, it lacks an analog audio interface for sound and a microphone. Card Slot : A standard, convenient NanoSIM slot is soldered onto the board. In addition to the micro-USB connector, the board features a standard 7-pin header. Here is their pinout: Letter Function G Ground (GND) R UART RX T UART TX K Module power control (Power Key) V Power (VCC) G Ground (GND) S Sleep — this pin can be used to put the modem into deep sleep mode for minimal power ...