OpenPLC open-source Programmable Logic Controller Suite works with Arduino, ESP8266/ESP32, Raspberry Pi, etc.

OpenPLC Editor

OpenPLC is an open-source, free-to-use Programmable Logic Controller Suite, compliant with the IEC 61131-3 standard, and working with a range of hardware platforms such as Arduino, ESP8266/ESP32, Raspberry Pi SBCs, as well as Windows and Linux machines. When Arduino unveiled the Arduino PLC IDE, we noted the languages defined by the IEC 61131-3 standard were licensed, and the PLC key for the Portenta Machine Control unit sold for $17.60. One reader complained about the high license cost per device, but Massimo Banzi, the co-founder of the Arduino project, replied it was cost-effective for smaller deployments: Actually it’s not that much money compared to the cost of other PLC software (thousands of dollars per seat!). This model helps small companies with not that many devices.. It’s possible to negotiate bulk licenses for companies. But there’s also another option with OpenPLC open-source PLC suite that does not require any license fee. That’s […]

Starfish PnP machine control board combines Raspberry Pi RP2040 MCU with TMC2209 motor drivers

StarFish Raspberry Pi RP2040 PnP control board

We’ve already seen the Raspberry Pi RP2040 MCU in a 3D printer controller board, so it should come as no surprise that the dual-core microcontroller also found its way into a Pick-and-Place (PnP) machine control board. Designed by Thea Flowers, the Starfish board leverages the RP2040 MCU capabilities to control three Trinamic TMC2209 motor drivers, MOSFET drivers to control DC vacuum pumps, two vacuum sensors, and offer RS485 and I2C connectivity for feeders and peripherals respectively. Starfish specifications: MCU – Raspberry Pi RP2040 dual-core Cortex M0+ microcontroller at up to 133 MHz with 264 kB of embedded SRAM Storage – QSPI flash Motor drivers – 3x TMC2209 drivers for X, Y1, and Y2 MOSFETs – 2x MOSFETs to control the 2x vacuum pumps Valve drivers – 2x TI DRV120 single-channel relay, solenoid, and valve drivers to control two pneumatic solenoid valves Sensors – 2x CFSensor XGZP6857D I2C pressure sensor modules […]

tio is a serial device I/O tool for Linux targeted at embedded developers

tio red text serial terminal

There are already several serial terminal programs such as Putty and minicom, and in recent times, I’ve been using Bootterm myself. But that does not mean there isn’t room for more and Martin Lund has developed tio serial device I/O tool for Linux. Martin found out many of the existing tools are very modem focused or a bit cumbersome to use, so he developed tio as the simpler alternative which puts less focus on classic terminal/modem features and more focus on the needs of embedded developers and hackers.

KiCad 6.0.0 released with revamped user interface, thousands of changes

KiCad 6

It took around 3.5 years of development to release KiCad 6.0.0 open-source EDA suite, as the previous major release, KiCad 5.0.0, was introduced in July 2018. KiCad 6.0.0 comes with a refreshed user interface that’s supposed to reduce the barriers of entry for new users and users switching from other design software with notably the schematic and PCB editors now feeling like being from the same program instead of completely different tools. As noted by the developers, it’s difficult to summarize all the changes because of the thousands of updates made between KiCad 5 and KiCad 6, but here are some highlights: Revamped schematic editing with the object selection and manipulation paradigm as the PCB editor, and several new features such as net classes, one-click wire start, intersheet references Brand-new schematic and symbol library file format allowing embedded symbols Redesign of the PCB design tool with new options such as […]

USB board emulates CR2032 or CR2016 coin cell battery

CR2032 battery emulator

You can now develop CR2032 or CR2016 powered devices without having to use an actual coin cell thanks to Peter Misenko’s (Bobricius) “coin cell battery emulator CR2016/CR2032”. The USB board contains a rounded part that is compatible with CR2016 or CR2032 coin cell batteries and allows you to power your target board via USB. The board also includes holes for alligator clips to measure the current, and by extension the power consumption. Coincell battery emulator CR2016/CR2032 specifications: Power Supply 5V via Micro USB port 3V regulator 3V + GND pins for incompatible holders Power measurement – 2x alligator clip holes for Amperemeter mode  (the onboard solder jumper must be open) Dimensions – Designed for a CR2016 battery (1.6 mm thick), but an adapter can be soldered for a CR2032 battery (3.2mm thick) It’s not a size fit all solution since it will only work with a specific type of battery […]

Smart Power 3 – A $45 smart power analysis tool for embedded systems developers

Smart Power 3

Hardkernel has launched a number of popular Arm SBC’s with the ODROID family over the years, but the Smart Power 3 is a different type of product, as the ESP32-based smart power meter can help embedded systems engineers optimize their hardware and software power consumption and/or check for spurious power peaks during boot up or shutdowns. In the past, we’ve reviewed relatively expansive tools like Qoitech Otii Arc or gone the DIY route,  but at $45, Hardkernel offers a power monitoring solution that’s both inexpensive and easy to use, albeit with fewer features than Qoitech’s device. Smart Power 3 specifications: MCU – ESP32 dual-core microcontroller via ESP32-WROOM-32E module Output Channels – 2x output channels (Max 50W + 50W) via 2x 4mm banana jacks each Output Voltage – 3V DC to input voltage – 1V Output Current – 3A max per channel Measurement Voltage, Current, Power Maximum sampling rate: 200Hz (5msec […]

ESP32 Arduino 2.0.0 release adds ESP32-C3 and ESP32-S2 support

ESP32-C3 Dev Module Arduino IDE

As just noted in my article about LILYGO T-32C3 module, the ESP32 Arduino 2.0.0 release happened a few days ago adding ESP32-C3 and ESP32-S2 support to the Arduino IDE. But the news probably warrants its own post and it is a major release of the Arduino code for ESP32 that also includes other new features and changes namely: Upload over USB CDC. Support for the KSZ8081 Ethernet PHY. LittleFS update for partition label and multiple partitions. Added support for RainMaker. BLE 5 features for ESP32-C3 (ESP32-S3 ready). ESPTOOL update. Added 802.11mc WiFi RTT FTM (Fine Time Measurement) support. Online Documentation added (somehow it requires a login to Readthedocs). USB MSC (Mass Storage) and HID support (ESP32-S2 only). UART refactoring (SerialHardware). New examples, boards added, bugs fixed. You can find a more detailed changelog, including the exact files changes in the source code, on Github. If we want to give it […]

Oracle Cloud “Always Free” services include Ampere A1 Arm Compute instances

Oracle Cloud Always Free Ampere A1 Computer Arm Cores

Oracle added thirteen additional new “Always Free” services to Oracle Cloud Free Tier last June, including Ampere A1 Arm Compute, Autonomous JSON Database, NoSQL, APEX Application Development, Logging, Service Connector Hub, Application Performance Monitoring (APM), flexible load balancer, flexible network load balancer, VPN Connect V2, Oracle Security Zones, Oracle Security Advisor, and OCI Bastion. So that means you could register an account for free, albeit a credit card or debit card is required for a $1 hold released after a few days, and use up to four Arm-based Ampera A1 cores with 24GB RAM for evaluation for free forever. Oracle Always Free services include: Infrastructure 2x AMD based Compute VMs with 1/8 OCPU and 1 GB memory each 4x Arm-based Ampere A1 cores and 24 GB of memory usable as one VM or up to 4 VMs. Note: 1x OCPU on x86 CPU Architecture (AMD and Intel) = 2x vCPUs; […]

UP 7000 x86 SBC