Reading Vehicle OBD-II data through CAN within a containerized application in Embedded Linux

telematics applications overview-GNSS CAN Cloud embedded Linux

CNXSoft: This is a guest about OBD-II and CAN support in embedded Linux by Andre Márcio de Lima Curvello, Sr. FAE and Technical Evangelist, Toradex A connected world makes it possible to track your online orders being shipped to your home through your smartphone in real-time, and getting information about your vehicle such as tire pressure, outside temperature, and even details like if a lamp is broken – has begun to be possible via smartphones in modern vehicle models. But behind the magic of knowing where the truck carrying your package is at all times and other details of the vehicle, there is a very complex world made of embedded devices ‘talking’ to each other so the information makes its way from the device to you. In this article, you will learn how to create an application to communicate with a vehicle through CAN via the OBD-II standard. We use […]

NuMaker-IoT-M263A board is the Swiss army knife of IoT development

NuMaker-IoT-M263A

If you’d like an MCU board to experiment with various wireless (and wired) protocols used for Internet of Things applications, the Nuvoton NuMaker-IoT-M263A development board may be worth a look. Powered by a NuMicro M263KIAAE Arm Cortex-M23 CPU microcontroller, the board offers WiFi, Bluetooth, and LoRa connectivity, plus an mPCIe socket for 3G, 4G, or NB-IoT cellular connectivity. It also comes with various sensors, as well as CAN and RS485 transceivers for industrial control applications. NuMaker-IoT-M263A key features and specifications: MCU – Novoton NuMicro M263KIAAE Arm Cortex-M23 microcontroller @ 64 MHz with 96KB SRAM, 512 KB  dual-bank flash for OTA upgrade, 4 KB LDROM; LQFP128 package Storage – MicroSD card connector On-board wireless modules ESP12-F (ESP8266) 802.11b/g/n module MDBT42Q-PAT Bluetooth 4.2/5.0 LE module APC1278 (for 408 / 433 / 470 MHz)  LoRa module plus antenna Serial – CAN and RS485 transceiver USB – 1x Micro USB OTG connector (to M263 […]

Raspberry Pi CM3+ based Iono Pi Max industrial controller comes with an impressive number of I/Os

Iono Pi Max Industrial Controller

As the Raspberry Pi Compute Module 4 is only expected for next year, companies are still launching products based on Raspberry Pi Compute Module 3+ (CM3+), and Sfera Labs has just introduced Iono Pi Max industrial computer powered by a Raspberry Pi CM3+ system-on-module. Housed in a DIN rail enclosure, the Linux controller offers Fast Ethernet, three USB ports, isolated CAN and serial boards, some analog I/Os, a relay, as well as a real-time clock (RTC), integrated UPS, and more. Iono Pi Max specifications: SoM compatibility Iono Pi Max 3+ – Already fitted with Raspberry Pi Compute Module 3+ (Lite, 8GB, 16GB, or 32GB eMMC version) Iono Pi Max Solo – Barebone model compatible with Raspberry Pi Compute Module 3, CM3 Lite, CM3+ 8GB/16GB32GB, and CM3+ Lite MCU – Microchip SAME54 Cortex-M4F microcontroller with 1 MB flash, 256 KB RAM connected to the Raspberry Pi module via I2C, USB and […]

CarPiHat Connects Raspberry Pi to your Car with Opto GPIO, CAN Bus, 12V Outputs

CarPiHat mounted Raspberry Pi

OpenAuto Pro software is a Raspberry Pi-based head-unit solution that brings various features to your car including Bluetooth hands-free Profile, music streaming, integrated media player, navigation via Android Auto, screen mirroring, rear camera support, and more. But TDJ realized he needs more than just a Raspberry Pi, touchscreen display, and OpenAuto Pro software to meet his requirements, so he designed CarPiHat add-on board for Raspberry Pi providing power supply, opto-isolated GPIOs, CAN Bus, and 12V outputs. CarPiHat key features and specifications: I/Os Dedicated reverse, illumination, and aux inputs, all opto-isolated. 2x opto-isolated general-purpose inputs (for a total of 5 inputs) 2x high-current, high side switched 12V outputs (@ 1A) for switching relays, lights, etc… 1x independent CAN bus port Broken out I2C bus. Broken out one-wire for temperature sensor, etc… Misc – Real-time clock to maintain system time across reboots, EEPROM for Raspberry Pi HAT compatibility Power Supply 12V – […]

CANTact Pro Open-source USB to CAN Device Enables Car Hacking (Crowdfunding)

CANTact Pro USB-to-CAN Device

The Controller Area Network (CAN) serial communication bus allows microcontrollers and devices to communicate with each other without a host computer. It’s especially used in automotive applications where various components (dashboard, ABS, air conditioner, and other sensors) may need to communicate with each other, but it has also found its way into robots, industrial control systems, and avionics. CANTact Pro is an open-source USB to CAN device that can help you debugging or hack components inside a car or other vehicle. The tool features two CAN Interfaces and can be controlled from Windows, Linux, or Mac OS computers. CANTact Pro key features and specifications: CAN Interfaces – 1x CAN/CAN-FD/SWCAN (Single Wire CAN), 1x CAN/CAN-FD; Both via DB9 connectors Host Interface – USB 2.0 device port Misc – 4x LEDs Safety – Isolation between CAN and USB Power Supply – 5V via USB port CANTact Pro works with Windows, macOS, and […]

PiCAN3 Board for the Raspberry Pi 4 adds CAN Capabilities plus a Real-Time Clock

PiCAN3 CAN Bus Board for Raspberry Pi 4 with 3A SMPS And RTC

Copperhill Technologies has recently announced the release of its PiCAN3 CAN-Bus Board for the Raspberry Pi 4. The PiCAN3 adds Controller Area Network capabilities plus a real-time clock to the new Raspberry Pi SBC. The Controller Area Network (CAN Bus) is a robust and common industrial communication bus used mostly in the automotive industry. CAN supports long travel distance, medium communication speed, and quite reliable. One of the most significant advantage with CAN-BUS is that it connects any number of ECUs (or microcontrollers) in your car through the two-wire bus, CAN High and CAN Low, reducing the weight of wires that could be gained by using point-to-point communication between ECUs. CAN bus is one of five protocols used in the on-board diagnostics (c)-II vehicle diagnostics standard. Although it is popular in the automotive industry, the Raspberry Pi doesn’t provide an off the shelf support for working with CAN-BUS. Users interested in trying out […]

NoCAN IoT Platform Leverages Raspberry Pi & Arduino for CAN Bus Projects (Crowdfunding)

Many IoT projects rely on wireless connectivity through WiFi or Bluetooth, but in some cases it may be more reliable and convenient to use wired connectivity. The CAN Bus is a little like a low bandwidth Ethernet PoE solution for IoT, as it allows to transfer data over a serial connection while provided power at the same time, and can be daisy chain to support multiple boards. Omzlo’s NoCAN IoT platform provides a CAN bus solution leveraging Raspberry Pi 3 board through their PiMaster HAT acting as a CAN bus gateway, and Arduino compatible CANZERO boards to which you can connect sensors and actuators. Omzlo PiMaster HAT specifications: MCU – STMicro STM32F042 Cortex-M0 32bit ARM MCU – 48Mhz. Networking –  125000 bps CAN bus up to 300 meters range GPIO – Communicates with Raspberry Pi through SPI + GPIOs Security – Smart power switch with over-current protection. Power Supply – […]

CAN32 ESP32 Development Board is Designed for CAN Bus Applications

If you want a WiFi + BLE board to play with CAN bus, one option is to go with the versatile Olimex ESP32-EVB Board, but if you need something more compact CAN32 board might be worth a look as the board is specifically designed for projects and testing of the ESP32 in a CAN-BUS environment. CAN32 board hardware specifications: Wireless module – Espressif Systems ESP32-WROOM WiFI + Bluetooth LE module External storage – micro SD slot CAN Bus chip – Texas Instruments SN65HVD230DR CAN-BUS transceiver with sleep mode Expansion Unpopulated headers exposing: SVP/SVN, GPIOs, I2C, UART, GND, 3.3Vm 5.0V 4 larger vias for CAN H and L, 12V (max 15V), and GND Debugging / Programming – micro USB port via Silicon Labs CP2102N USB to UART Misc – C&K soft-touch low-profile buttons for reset and boot; 4x LEDs for power, ESP, UART Tx/Rx Power Supply 5V via micro USB port […]