PikaScript – A lightweight Python implementation that runs on STM32 and other low-end MCUs

PikaScript is an ultra-lightweight Python engine that can run on microcontrollers with as little as 4KB of RAM and 32KB of Flash, while the more popular MicroPython requires at least 256kB of code space and 16kB of RAM. PikaScript was initially developed to run on STM32G030C8 and STM32F103C8 MCUs, meaning, for example, it works on the BluePill board, but it has also been ported to other platforms like WCH CH582 RISC-V MCU, WinnerMicro W806 C-Sky microcontroller, as well as other like Raspberry Pi RP2040, ESP32-C3, etc… but those are not quite as well supported with some features missing. PikaScript also permits the binding C function to a Python module through Pika Pre-compiler. PikaScript can run bare metal on the microcontroller, but also supports real-time operating systems such as RT-Thread and VSF (Versaloon Software Framework), as well as Linux. Just like MicroPython, it’s using a subset of Python 3, but I’d […]

Add WiFi HaLow to Raspberry Pi with ALFA Network AHPI7292S HAT

ALFA Network AHPI7292S is a Raspberry Pi HAT with WiFi HaLow (802.11ah) offering low power connectivity, up to one kilometer line-of-sight range, and that’s mostly useful for security cameras, but it can also be used to extend the range of the network for other purposes. The Newracom NRC7292 expansion board adds to be few WiFi HaLow hardware we’ve seen in the past year including a mini PCIe card, a WiFi HaLow development board, and a gateway kit to extend the range of IP cameras. ALFA Network AHPI7292S specifications: Chipsets – Newracom NRC7292 WiFi HaLow SoC (IEEE 802.11ah draft 8.0 compliant) RF – Qorvo RFFM6901 front-end Frequencies – 847 MHz (TW), 866 MHz (EU), 915 MHz (US), 922 MHz (KR), 924 MHz (JP) Modulation – OFDM with BPSK, QPSK, 16QAM, 64QAM Data rate – 150 Kbps ~ 15 Mbps Channel bandwidth – 1/2/4 MHz Antenna connector – 1x IPEX/U.FL connector or […]

Khadas Edge2 Arm mini PC

PiSquare enables wireless Raspberry Pi HAT control though ESP8266 and RP2040 MCUs (Crowdfunding)

SB Components PiSquare is a board following the Raspberry Pi HAT form factor, and based on Raspberry Pi RP2040 microcontroller & ESP-12E Wireless module in order to control multiple Raspberry Pi HATs wirelessly without stacking them on their Raspberry Pi. The PiSquare uses Socket programming to control multiple Raspberry Pi HATs wirelessly, and for instance, you could connect multiple HATs with SPI or UART without the expansion boards conflicting with each other since the physical interface is handled by the Raspberry Pi RP2040 on each PiSquare connected over WiFi (ESP8266) to the Raspberry Pi SBC. PiSquare hardware specifications: MCU – Raspberry Pi RP2040 dual-core Cortex-M0+ microcontroller @ up to 133 MHz Storage – 16Mbit SPI flash Display – 0.91-inch OLED display Connectivity – 802.11b/g/n WiFi 4 via ESP-12 (ESP8266) module USB – 1x USB Type-C port 40-pin header and form factor compatible with the official Raspberry Pi HATs Power Supply […]

RM500U-CN Raspberry Pi 5G HAT kit sells for under $200… for the Chinese market

Waveshare has introduced a new Raspberry Pi 5G HAT kit with a Quectel RM500U-CN 5G module, four antennas, and other accessories that sells for under $200, Raspberry Pi SBC not included. On the face of it, it looks like an incredible deal, considering we’ve previously covered two other 5G development kits for the Raspberry Pi, namely Waveshare SIM8200EA-M2 HAT with a Snapdragon X55 5G modem and Sixfab “Raspberry Pi 5G Development Kit” that sold for about $400 to $600. What’s the trick? It’s designed for the Chinese market. RM500U-CN Raspberry Pi 5G HAT kit content: Waveshare Raspberry Pi M.2 TO 4G/5G HAT Quectel RM500U-CN 5G M.2 module 4x antennas plus SMA protective caps and IPEX adapter cables USB 3.0 male to male cable 1x USB 3.0 adapter and 1x USB 2.0 adapter 40-pin header 5V/3A USB Type-C power adapter Screws pack We can find more details about the RM500U-CN module […]

Beagle-Pi Emulator is a Raspberry Pi HAT adapter for BeagleBone Black (Crowdfunding)

We recently reported the Raspberry Pi boards were getting really expensive due to a lack of supply, and the problem has gone on for while without a clear idea when the issue will be resolved. This does not help Raspberry Pi HAT manufacturers, and for instance, Sequent Microsystems has made Raspberry Pi HATs over the years most models with multiple relays, but also others for temperature sensors, and others automation applications. One solution would be to use compatible boards like ODROID-C4 or Rock64, but Sequent Microsystems found out the BeagleBone Black Industrial was well-stocked by various distributors, and instead, they designed the “Beagle-Pi Emulator” adapter to use Raspberry Pi HAT on the Texas Instruments Sitara AM3358 board.   An adapter is needed because the BeagleBone Black boards are equipped with two 46-pin headers instead of the 40-pin header on Raspberry Pi SBC’s. The expansion board routes I2C, SPI, four serial […]

The Eclipse Oniro Project aims to deliver consumer & IoT software that works across multiple platforms

Several of the embedded talks at FOSDEM 2022 mention the “Eclipse Oniro Project”. I had never heard about that project from the Eclipse Foundation, so let’s see how they describe it: Oniro is an Eclipse Foundation project focused on the development of a distributed open source operating system for consumer devices, regardless of the brand, model, make. Oniro is a compatible implementation for the global market of OpenHarmony, an open source operating system specified and hosted by the OpenAtom Foundation. Designed with modularity in mind, Oniro offers greater levels of flexibility and application portability across the broad spectrum of consumer and IoT devices — from tiny embedded sensors and actuators, to feature rich smart appliances and mobile companions. As a distributed and reusable collection of open source building blocks, Oniro enables compatibility with other open source technologies and ecosystems. Through close collaboration with projects and foundations such as OpenHarmony from […]

Rockchip RK3568/RK3588 and Intel x86 SBCs

Raspberry Pi UPS HAT takes two 18650 batteries (Crowdfunding)

Raspberry Pi UPS solutions have been available for years with products like PiJuice Zero, PiVoyager, or LiFePO4wered/Pi+. But the team at SB Components has designed another UPS HAT for Raspberry Pi with a holder for two 18650 batteries. The HAT is designed for 5V operation up to 2.5A, connects with the Raspberry Pi SBC through the I2C bus from the 40-pin GPIO header, and is equipped with a 0.91-inch OLED for information display. UPS HAT for Raspberry Pi specifications: Power Input – 8.4V/2A via DC jack Power Output – 5V up to 2.5A through LDO chip (GPIO header and 2x USB ports) Display – 0.91-inch OLED Host interface – I2C Misc – On/Off switch Battery support 18650 Lithium battery (not included) via holder for two batteries Battery reverse indicator Charging and voltage monitoring via TI INA219 I2C chip Battery voltage balancing with Hycon HY2213 Battery protection IC (Hycon HY2120) Dimensions […]

(Some) TP-Link routers enable hidden networks by default. Is that an issue?

There are plenty of security issues with many routers including firmware that is seldom upgraded, opened (telnet) port with the default password, and the list could go on. But Jahed Ahmed recently wrote about an issue I had not heard of before: his TP-Link router shows two hidden networks in 2.4 GHz and 5 GHz bands that he only discovered after running WiFi Analyzer on his phone. He did not enable those networks, so that was the default configuration from the firmware. That could potentially pose a security risk, contributes to WiFi spam, and Jahed also mentions a waste of energy although the extra power consumption is probably limited, even when scaled to millions of users. So why is TP-Link doing this? Apparently for their OneMesh mesh wireless network system and device including range and powerline extenders that users may want to use. Other users have been reporting this issue […]

Khadas VIM4 SBC