Site Information

 Loading... Please wait...

Blog

ESP32, ESP32-S2 - Serial Port, Native USB Access using Arduino IDE

The test setup, as shown in the image, represents the hardware of a new project that requires reading CAN (Controller Area Network) data frames, combining them with real-time information plus GPS position, and storing the result onto an SD card. This post will focus on the ESP32 communicating with the GPS module delivering NMEA 0183 [...]

Read More »


Arduino Uno R4 Board Combines CAN Bus Port with IoT Capabilities

The  Arduino UNO R4 WiFi combines the RA4M1 microprocessor from Renesas with the ESP32-S3 from Espressif, forming an all-in-one tool for engineers with improved processing power and a diverse array of new peripherals. With built-in Wi-Fi and Bluetooth abilities, the UNO R4 WiFi allows makers to launch into unlimited innovative opportunities. Likewise, this universal board boasts a [...]

Read More »


espBerry Project: ESP32 with NMEA 2000 & NMEA 0183 HAT

In this post I will describe the communication between the  espBerry board with the integrated PICAN-M HAT. Due to the nature of the HAT, there are two sections: 1. The NMEA 0183 port and sketch and 2. the NMEA 2000 port and sketch. NMEA 0183 Connection & Sketch The PICAN-M HAT converts the NMEA 0183 signal to TTL (UART), [...]

Read More »


ESP32 Sketch: espBerry with Dual MCP2515 CAN Bus HAT

The following describes the connection and the sketch to control a Dual CAN Bus HAT with the MCP2515 CAN controller per the espBerry development board. However, the description applies to any ESP32 module connected to an MCP2515, may it be one CAN port or two, as long as the wiring is as described in [...]

Read More »


Diesel Engine Fluid (DEF) Sensor Simulator - Background Information and Assembly Instructions

DEF systems in modern diesel engines are crucial to reducing Nitrous Oxide (NOx) emissions and protecting the environment. The DEF system combines software, hardware, and DEF fluid that enable this critical task. Unfortunately, a flood of failures has recently affected one of the elements of the DEF system called the DEF sensor. The origins of [...]

Read More »


ESP32 with Dual Isolated CAN Port Controls Thomson Electrac Linear Actuator

The above image shows part of a hardware setup for a customer project to control and synchronize two Thomson Electrac linear actuators. See also my posts:Thomson Electrak Linear Actuator with SAE J1939 Interface for Railway and Industrial Applications Thomson... Electrak HD Linear Actuator - Multiple Actuators in the Same Network Will Empty the Batteries... Thomson Electrac HD [...]

Read More »


Know OBD2 Before You Start That Development Project

We at Copperhill Technologies offer a variety of CAN (Controller Area Network) devices for developing automotive and industrial embedded systems. In that capacity, we receive frequent inquiries regarding OBD2 (Onboard Diagnostics).  OBD2, or Onboard Diagnostics Second Generation, is a vehicle diagnosis system found in modern cars and trucks. The OBD2 system collects data from sensors and [...]

Read More »


Ultrasonic Sensor For Object Detection With SAE J1939 Interface

The  XX Ultrasonic sensors (formerly Osisense) by Telemechanique Sensors perform contactless object detection. In addition, they provide an SAE J1939 interface, making them suitable for use in mobile machines. Reliable object detection is feasible regardless of light conditions, the target’s shape, texture, color, or transparency. The sensors can resist harsh environments and operate in diffuse, reflex, and thru-beam [...]

Read More »


espBerry Project: ESP32 with CH9102F USB-UART Chip for Serial Speed up to 3Mbit/s

I have a project that involves the ESP32-DevKitC development board where the application requires the fast transport of data per USB. The onboard USB-UART bridge chip provides transfer rates of up to 3 Mbps. In addition, the ESP32 has three UART interfaces, i.e., UART0, UART1, and UART2, which provide asynchronous communication, communicating at a speed of [...]

Read More »


SAE J1939 250k/500k Baudrate Converter with Arduino Due - Source Code Included

The introduction of 500 Kbps (see SAE J1939/14) as an alternative to 250 Kbps, required clarifications on how to solve problems that come with incorporating devices supporting different baud rate settings in the same network. One solution comes with automatic baud rate detection. The SAE J1939/16 document outlines the methods used to detect the baud rate [...]

Read More »