Sending custom CAN messages with Freematics ONE+

Several users have brought up the discussions about sending custom CAN messages with Freematics ONE+. Well, this has always been possible but we just didn’t include API for doing this in the OBD library due to security concern as ONE+ could be internet connected. With EV uprising, sending custom CAN messages seems to be the only way to extract data from these vehicles though proprietary information is needed to make the data meaningful. We have now added simple APIs for sending CAN messages to ECU in a move to open up more possibilities and leave the hard job to the community. Following is an example of send a CAN message for clearing DTC.

  // send a CAN message (clearing DTC)
  obd.setCANID(0x7E0);
  obd.setHeaderMask(0xFFFFFF);
  obd.setHeaderFilter(0x7E8);
  byte msg[] = {0x14, 0xFF, 0x00};
  char buf[128];
  if (obd.sendCANMessage(msg, sizeof(msg), buf, sizeof(buf))) {
    // print the ECU response to the message
    Serial.println(buf);
  }
By |April 11th, 2024|Updates|Comments Off on Sending custom CAN messages with Freematics ONE+

Firmware update for Freematics OBD-II Emulator MK2

We know it’s been a while but a new firmware for Freematics OBD-II Emulator MK2 is finally out. A few minor issues have been fixed. Protocol setting persistence was implemented meaning the emulator will stick to the same protocol on each power cycle. The two variants of the hardware (with and without J1850 protocol) now use the same firmware image which comes with the updated GUI software package (version 1.1).

By |March 28th, 2024|Updates|Comments Off on Firmware update for Freematics OBD-II Emulator MK2

Network settings and status via App for Freematics ONE+

With latest telelogger, it is now possible to change network settings (e.g. cellular network APN) and monitor network status for Freematics ONE+ via Freematics Controller App (through BLE). The telelogger ESP-IDF package is also updated. All Freematics ONE+ Model B and Model H shipped from now have BLE enabled firmware pre-flashed.

By |August 5th, 2023|Updates|Comments Off on Network settings and status via App for Freematics ONE+

Shifting to u-blox M10 GNSS

All of Freematics products involving GNSS have shifted to u-blox M10 solution which has better position accuracy (1.5m) and lower power consumption comparing to previous M8 solution.

From the datasheet:

The u-blox M10 supports concurrent reception of four GNSS (GPS, GLONASS, Galileo, and BeiDou). The
high number of visible satellites enables the receiver to select the best signals. This maximizes the
position availability, in particular under challenging conditions such as in deep urban canyons. u-blox
Super-S (Super-Signal) technology offers great RF sensitivity and can improve the dynamic position
accuracy with small antennas or in non-line-of-sight scenarios.
The extremely low power consumption of 25 mW in continuous tracking mode allows great power
autonomy for all battery-operated devices, such as asset trackers, without compromising on GNSS
performance.
By |May 13th, 2023|Updates|Comments Off on Shifting to u-blox M10 GNSS

Happy Easter!

Our Easter sale is in progress! Discounts are all over the front page of our online store. While grabbing some bargains, please allow us to enjoy a prolonged Easter holiday. Orders placed from now will be shipped from 24th of April, first in first serve. Thanks for loving our products.

By |April 8th, 2023|News & Events|Comments Off on Happy Easter!

Building for Freematics ONE+ with ESP-IDF

Telelogger ESP-IDF package integrates telelogger, Arduino library for Freematics ONE+ and ESP32 Arduino core and can be configured and built from the command-line interface of ESP-IDF, ESP32’s software development environment, giving users full control over how firmware is built for Freematics ONE+.

A configuration page dedicated to telelogger is inserted in the configuration system.

To enter the configuration system, use following command from ESP-IDF command-line.

idf.py menuconfig

Once configured, complete firmware image can be built with following command.

idf.py build

If successful, firmware can be uploaded to Freematics ONE+, running and its serial output monitored with following command.

idf.py -p [serial port] flash monitor
By |December 9th, 2022|Guides|Comments Off on Building for Freematics ONE+ with ESP-IDF

Freematics ONE+ Model B got a refresh

After being around for years, Freematics ONE+ Model B has got a refresh recently. It now comes with SIM7070G LTE-M module. LTE-M gives a longer range, lower latency, lower power consumption, full mobility and roaming support, which makes it ideal for automotive applications that operate across multiple regions. SIM7070G has global LTE and GSM network support. Comparing to SIM7600, it has no UMTS support meaning it has a limitation in areas which rely on 3G network (no 4G or 2G coverage, like some rural areas in Australia). Model H still uses SIM7600.

The Arduino library for Freematics ONE+ has been updated for application code to support both SIM7600 and SIM7070 effortlessly. Now same code can work with SIM7600 and SIM7070 without pre-configuration as cellular module is automatically identified at runtime. The telelogger (reference application code) has been significantly improved with iOS/Android app support via BLE and seamless WiFi/cellular network switching. By the way, Freematics Builder is still your best helper to use telelogger.

By |November 24th, 2022|Updates|Comments Off on Freematics ONE+ Model B got a refresh

Using Freematics ONE and ONE+ with Freematics Controller App

Whether you know or not, you can use Freematics ONE+ and Freematics ONE with our Android and iOS app named Freematics Controller. Freematics ONE+ has a BLE capable micro-controller ESP32 and Freematics ONE has a BLE module CC2541. Both of them are able to communicate with an Android or iOS mobile device wirelessly via BLE.

Freematics ONE+ and Freematics Controller App

A BLE SPP server is implemented in the Arduino library for Freematics ONE+. The datalogger code has demonstrated use of two APIs (ble_recv_command and ble_send_response) provided to perform BLE SPP communication with app. Follow the steps below to see them working.

By |May 9th, 2022|Guides|Comments Off on Using Freematics ONE and ONE+ with Freematics Controller App