renatobo / ducatipanigalecanbus Goto Github PK
View Code? Open in Web Editor NEWConnect to the CAN Bus on a Ducati Panigale, extract RPM/speed/gear/temperature, and broadcast it via bluetooth to Harry Lap Timer
License: MIT License
Connect to the CAN Bus on a Ducati Panigale, extract RPM/speed/gear/temperature, and broadcast it via bluetooth to Harry Lap Timer
License: MIT License
Check https://www.ducati.ms/threads/canbus-data-on-you-android-device-via-bluetooth.337705/page-3 for information on where to find it
Hello again :)
Lets say I wanted to add a high speed channel of data, into HLT - labeled "Spark Knock", which updates as fast as RPM, I already have this data coming into your ESP32 code and displayed on a screen, so no problems there. How would I go about doing that? (the right way).
I could probably fumble through the code and get it working, one way or another, but I would prefer to take an existing unused channel, rename everything, and see it in the HLT data file. What would be even better is if I could add or "hijack" and existing graphic on the overlaid video.
What do you think?
For a newly configured device, the Undefined value needs to be managed properly: until there is a value in kCustomOBDBTLEPeripheral, the script will fail
Small issue but critical for new setups
Hey Renato, I am getting a "BLE_DEVICE_ID" not declared error with stock code.
I searched for it, and found some lower case, so changed those to upper case, and it solved the problem. Should that be a problem? Maybe only a problem with Arduino IDE?
Examples:
char BLE_DEVICE_ID[12]; // was char ble_device_id[12];
sprintf(BLE_DEVICE_ID, "%s-%04X", BLE_DEVICE_ID_PREFIX, chip); // was sprintf(ble_device_id, "%s-%04X", BLE_DEVICE_ID_PREFIX, chip);
NimBLEDevice::init(BLE_DEVICE_ID); // was NimBLEDevice::init(ble_device_id);
Inspired by https://github.com/MagnusThome/RejsaRubberTrac but using a single read and not a matrix with device, for example a MLX90614
A Simple sketch is
#include <Wire.h>
#include <Adafruit_MLX90614.h>
Adafruit_MLX90614 mlx = Adafruit_MLX90614();
void setup()
{
Serial.begin(115200);
mlx.begin();
Serial.println("ObjTemp AmbTemp");
}
void loop()
{
Serial.print(mlx.readObjectTempC());
Serial.print(" ");
Serial.print(mlx.readAmbientTempC());
Serial.println();
delay(100);
}
Other libraries
Issues encountered so far
Inspired by the good work at https://github.com/MagnusThome/RejsaRubberTrac
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.