Our N2K-BT gateway functions as a NMEA 2000 to Bluetooth data scanner for any host device with a Bluetooth or BLE (Bluetooth Low Energy) port, such as PCs, phones, or tablets. Therefore, it supports operating systems such as Windows, Linux, iOS, Android, and more. In addition, the wireless communication protocol employs easy-to-read and easy-to-process ASCII data strings, making it easy for iOS and Android developers to interpret the data stream.
The data scanner hardware utilizes the ESP32 processor with Bluetooth, BLE, and WiFi capabilities and a CAN Bus port with a transceiver.
The ESP32 series employs a Tensilica Xtensa LX6 microprocessor in both dual-core and single-core variations and includes built-in antenna switches, RF balun, power amplifier, low-noise receive amplifier, filters, and power management modules.
The module accepts an external power supply between 7 and 36 VDC with reverse polarity protection. It operates safely within a temperature range of -40C to +85C. The NMEA 2000 port is accessible via a Micro-C connector (M12 5Pin Male Socket).
It is important to emphasize that the module merely transmits processed CAN data frames as they appear in the network, i.e., it does not support NMEA 2000 protocol management features.
However, it allows the user to monitor and filter PGNs needed for their application.
The ASCII data string includes:
- Data Page
- Destination Address
- Source Address
- DLC (Data Length Code)
We used a Windows PC with terminal software to test the Bluetooth communication. The terminal software connects to the Bluetooth COM port. Our test device connects to a NMEA 2000 simulation network based on our SAE J1939 to USB Gateway (NMEA 2000 is a derivative of SAE J1939). In addition, we monitor the CAN Bus data traffic with a separate CAN Bus monitor system.
The below screen shot shows the received data traffic on the Windows PC:
However, let's have a look at a single data frame. In the following example, we are using PGN 65336 (0xFF38, broadcast message) with a source address of 34 (0x22) and priority = 6.
The BT scanner converts the CAN data into the ASCCI string as shown below:
0 - Data Page
FF38 - PGN
6 - Priority
FF - Destination Address (Global Address)
20 - Source Address
8 - Data Length
8877665544332211 - Data
67 - Checksum
We are working on a documentation of our testing with an Android phone, and we will follow up with another post.
BLE (Bluetooth Low Energy)
BLE is a requirement for communication with Apple's iOS. At this point, we have a working version and will also introduce it in another post. The testing environment is, of course, different, i.e., we are using an iMac, and an iPhone in combination with the nRF Connect app.
Status and Availability
Officially, the N2K-BT module is still under development, and we target a release in October 2022. We consider the software development as finished regarding the mere data scanning capabilities, but we are considering, among others, the implementation of PGN filters to reduce the wireless data traffic.
Please feel free to contact us in case you need further information. We are also available to develop customized hardware and software to meet your requirements.
With Bluetooth Low Energy (BLE), smart devices are about to become even smarter. This useful guide shows how this impressive wireless technology helps developers create mobile applications that share data with external hardware and how hardware engineers can obtain easy and reliable access to mobile operating systems.
This book renders a reliable, high-level overview of how devices use BLE to communicate with each other. You learn about valuable low-cost tools for developing and testing BLE-enabled mobile apps and embedded firmware and get examples using various development platforms, including iOS and Android for app developers and embedded platforms for product designers and hardware engineers.
- Understand how data is organized and transferred by BLE devices
- Explore BLE’s concepts, key limitations, and network topology
- Dig into the protocol stack to grasp how and why BLE operates
- Learn how BLE devices discover each other and establish secure connections
- Set up the tools and infrastructure for BLE application development
- Get examples for connecting BLE to iPhones, iPads, Android devices, and sensors
- Develop code for a simple device that transmits heart rate data to a mobile device
Winmate, a manufacturer of rugged computing and embedded solutions for industries operating in challenging environments, announced their latest 3.5” SBC IQ30 based on the Qualcomm Snapdragon 6 series mobile platform. The board comes in a compact 146 x 102 mm dimension, the IQ30 design allows powerful I/O functionality, including 1 x COM, 2 x USB 2.0, [...]
Fanless Embedded System With NXP i.MX 8M Processor With Isolated CAN Bus Port For In-Vehicle Applications
Axiomtek, a design and manufacturing company in the industrial computer and embedded field, announced the release of their Agent336, a RISC-based fanless embedded box PC certified for in-vehicle applications. The Agent336 measures 6.46" x 4.65" x 1.7" and weighs about 2.2 lbs. The embedded computer can endure harsh operating environments with an operating temperature range [...]
iBASE Technology, a manufacturer of industrial PCs and embedded computing systems, announced the release of their IBR210 3.5-inch single-board computer (SBC) featuring NXP’s dual or quad-core Arm Cortex-A53 i.MX 8 processors in 1.3GHz and 1.5GHz CPU frequencies. The board is suitable for applications such as multiple signage displays at airports, train and bus stations, and shopping [...]
An electronic logging device (ELD) is electronic hardware that is attached to a commercial motor vehicle engine to record driving hours. The driving hours of commercial drivers (truck and bus drivers) are regulated by a set of rules known as the hours of service (HOS). The Commercial Vehicle Driver Hours of Service Regulations vary in Canada and [...]
Peak System, a manufacturer of Classical CAN Bus and CAN FD devices, has released its Bit Rate Calculation Tool for iOS, Android, and Windows.The free-of-charge application determines the register values of a Classical CAN Bus, CAN FD, or SJA1000 CAN Bus controller for user-defined CAN Bus and CAN FD bit rates. Furthermore, the results can be modified [...]
Guide To Internet Connectivity With Arduino, Common IoT Protocols, Custom Web Visualization, And Android Apps
Building Arduino Projects for the Internet of Things helps you reach a firm foundation of Arduino-based device development, from which you can go in any direction according to your particular development requirements. Build Arduino-powered devices for daily use, and connect those devices to the Internet.The book introduces the building blocks of the Internet of Things (IoT), [...]
The NanoPi NEO is an ARM-Processor-based development board designed and released by FriendlyARM for hobbyists, makers and electronic fans. The board's dimension is only 40 x 40 mm. It is open source, and it works with Ubuntu MATE, Debian, and more Linux variants.The NanoPi NEO uses the Allwinner H3 SoC. It integrates Ethernet. Power is supplied via the [...]
The 1Sheeld+ is an effortlessly configured shield for the Arduino system platform. It has a built-in Bluetooth Low Energy (BLE) module that gives to your Arduino the capacity to connect itself to your iOS or Android phones.Thanks to the 1Sheeld app available on the App Store and Google Play Store you can easily associate your smartphone [...]
e-con Systems, an embedded design product company specializing in System-On-Modules, announced the launch of its eSOMiMX6PLUS System-on-module, which is is based on NXP’s i.MX6 QuadPlus processor family.The eSOMiMX6PLUS is a ready-to-use System-On-Module using Quad Plus or Dual Plus ARM Cortex A9 Processor running up-to speeds of 1.2GHz. This System-On-Module encompasses eMMC Flash whose capacity ranges from 4GB to [...]