As a former software engineer who’s mostly worked with C programming, and to a lesser extent assembler, I know in my heart that those are the two most efficient programming languages since they are so close to the hardware. But to remove any doubts, a team of Portuguese university researchers attempted to quantify the energy efficiency of different programming languages (and of their compiler/interpreter) in a paper entitled Energy Efficiency across Programming Languages published in 2017, where they looked at the runtime, memory usage, and energy consumption of twenty-seven well-known programming languages. C is the uncontested winner here being the most efficient, while Python, which I’ll now call the polluters’ programming language :), is right at the bottom of the scale together with Perl. The study goes through the methodology and various benchmarks, but let’s pick the binary-trees results to illustrate the point starting with compiled code. To the surprise […]
Iono RP – An industrial PLC with a Raspberry Pi RP2040 MCU
Raspberry Pi RP2040 MCU has been used in many boards, but I think I had seen the dual-core MCU in a PLC, or even any industrial products just yet. Sfera Labs Iono RP is a compact I/O module (PLC) with a Raspberry Pi RP2040 microcontroller that’s programmable in C/C++ and MicroPython, or even the Arduino IDE. The DIN-Rail mountable, RP2040 based industrial PLC offers digital and analog input and output lines, power relays, and an RS-485 interface, supports power input from 12V-24V with all signals accessible through terminal blocks. Sfera Labs can also provide some optional options such as an RTC or an earthquake sensor module. Iono RP PLC specifications: MCU – Raspberry Pi RP2040 dual-core Arm Cortex-M0+ @ 133MHz with 264kB on-chip SRAM Storage – 16MB SPI flash, optional microSD card slot Communication interface – standard RS-485 interface with electrostatic discharge protection Inputs/Outputs via terminal blocks 4x power relay […]
Blues Wireless Swan board adds castellated holes to Adafruit Feather form factor
We’ve often written about Adafruit Feather-compatible boards in the past, but Blues Wireless Swan board is a little different, as the STM32L4-based board comes with castellated holes instead of just through holes which allows the board to expose up to 55 GPIOs, or 36 more pins than a traditional feather-compatible board. The company also introduced the “Feather Starter Kit for Swan” that enables the board to work with the company’s Notecard LTE Cat-M/NB-IoT M.2 modem that ships with 10-year (up to 500MB) of IoT connectivity, as well as GPS/GNSS connectivity. The Swan board Swan specifications: MCU – STMicro STM32L4R5 Arm Cortex-M4 microcontroller clocked at 120Mhz with 2MB of flash and 640KB of RAM USB – 1x Micro USB port for power and programming Castellated holes giving access to 55 GPIO including: 8x analog input 16x digital 4x I2C, 3x SPI 1x USB OTG full speed 1x 14-channel DMA 12-bit ADC, […]
ANAVI Gardening uHAT adds soil and other sensors to Raspberry Pi (Crowdfunding)
We’ve been covering and reviewing ANAVI open-source hardware boards for several years now, either standalone boards based on ESP8266, or add-on boards for Raspberry Pi. The ANAVI Gardening uHAT is the latest board from Leon Anavi. It is a micro HAT designed for Raspberry Pi Zero to Raspberry Pi 4 SBCs that offers interfaces for soil sensors and other environmental sensors allowing measurements of soil moisture, atmospheric pressure and humidity, temperature with a waterproof sensor, and light intensity for gardening applications. ANAVI Gardening uHAT key features and specifications: Compatibility – Any Raspberry Pi board with a 40-pin GPIO header Storage – EEPROM for uHAT compliance 2x 3-pin headers for capacitive soil moisture sensors connected to Microchip MCP3002 ADC chip 3-pin One-wire terminal block for a waterproof temperature sensor 2x 4-pin I²C headers for additional sensors 10-header with GPIO pins for controlling irrigation systems and peripherals Misc – 2x user LEDs, […]
OpenCV AI Kit Lite – A compact 4K Tri-camera kit for computer vision applications (Crowdfunding)
The OpenCV AI Kit “OAK-D” now has a little brother with the OpenCV AI Kit Lite equipped with the same Intel Myriad X-based DepthAI solution with three cameras, but in a much compact form factor and a price slashed to as low as $79 and up. Like its predecessor, the OpenCV AI Kit leverage the Myriad X AI accelerator’s capabilities to provide a wide range of real-time computer vision applications, and can be programmed with C++ or Python APIs, as well as graphical user interfaces. OpenCV AI Kit Lite (OAK-D Lite) specifications: Intel Myriad X-based DepthAI with 4 TOPS of AI performance Cameras (made by ArduCam) Color Camera IMX214 (PLCC) with 4208×3120 resolution, 1.348:1 aspect ratio 1/3.1 inch Lens size 81.3 degrees DFOV Focus range 8cm – ∞ Stereo Camera specifications: Omnivision OV07251-G04A-1E (COB) with 640 x 480 resolution, 1.333:1 aspect ratio 1/7.5 inch lens size DFOV: 85.6,HFOV: 72.9, VFOV: […]
$10 LILYGO T-Display RP2040 board integrates a 1.14-inch color display
As its name implies, LILYGO T-Display RP2040 is a Raspberry Pi RP2040 based development board that comes with a display, and more exactly a 1.14-inch color display with 240×135 resolution and based on ST7789V SPI display driver. The T-Display RP2040 board joins other Rasberry Pi RP2040 boards with integrated displays like Arducam Pico4ML, but does so at a much lower price with LILYGO selling the board for just $9.98 on Aliexpress. LilyGO T-Display RP2040 specifications: Microcontroller – Raspberry Pi RP2040 dual-core Cortex-M0+ MCU with 264 KB of embedded SRAM Storage – 4MB SPI flash Display – 1.14-inch full-color IPS LCD Display (ST7789V SPI controller) with 240 x 135 resolution Expansion – 15-pin + 12-pin expansion headers with 14x GPIOs, 6x PWMs, up to 2x UART, up to 2x I2C, up to 2x SPI, 2x programmable high-speed I/O, 5V, 3.3V, Vbat, and GND Misc – Boot & enable buttons, 2x user […]
Jevois Pro small AI camera with Amlogic A311D SoC offers up to 13 TOPS (Crowdfunding)
Jevois-A33 smart camera was a tiny Linux camera with Allwinner A33 processor designed for computer vision applications and announced in 2016. I had the opportunity to review the computer vision camera the following year, and it was fun to use to learn about computer vision with many examples, but since it relied on the CPU for processing, it would not have been suitable for all projects due to the lag, as for example, object detection took 500ms and Yolo V3 around 3 seconds per inference. But time has passed, and great progress has been made in the computer vision and AI fields with the tasks now usually handled by a built-in NPU, or an AI accelerator card. So JeVois Pro deep learning camera has just been launched with an Amlogic A311D processor featuring a 5 TOPS NPU, and support for up to 13 TOPS via a Myriad X or Google […]
You can now buy Raspberry Pi RP2040 MCU for one dollar
Raspberry Pi RP2040 microcontroller is not exactly new, as it was introduced with Raspberry Pi Pico board last January. But until now, you had to get samples from the Raspberry Pi Foundation due to limited supplies. What has changed today is that you can more easily buy Raspberry Pi RP2040 MCU for one dollar either in single quantity or reels with the following pricing: Reel/Tape with 3400 pcs for $3400 US Reel/Tape with 500 pcs for $500.00 US Raspberry Pi RP2040 cut tape (single unit): $1.00 US The math geniuses among us will have quickly figured out there isn’t any volume discount, so it’s one dollar per chip whether you buy one or thousands. [Update: See comment from Raspberry Pi Foundation below explaining pricing for reels is still to be determined] That’s about all there’s new. If you have not quite followed recent Pico news, here’s a summary of Raspberry […]