can bus node app????

Everything regarding communication-protocols like CAN, OBD, LIN, JTAG, BDM, I2C, SPI, ...
ronald0001
Active member
Posts: 103
Joined: 05 Nov 2019, 10:34

can bus node app????

Post by ronald0001 »

Hi

Ihave a carpc (raspberry pi) in my car
i now use mqtt as server and node to read from the ms/mm can....
rearcam if r is in
dimm and chamge theme on caroc if ligth turns on
set pi mute while pdc is active
if ignition is off turn of display wait 10min then shutdown
if ignition is on again break the 10min cowntdown and turn on display again
and more

but i want to show some carinformations too...so can anybody tell me a good webpage (maybe in german) wher i can look for som tutorial for making node apps...

also i want to send text to my convers to show wich titel is playing....with kodi no problem to get the text....over bluetooth is must look a little bit more....
i tried to build a plugin for kodi with python...its not easy if you do that as biginner...but its ok i get it slowly...i have time....

if my project goes little bit more forward i will share with you....
ronald0001
Active member
Posts: 103
Joined: 05 Nov 2019, 10:34

Re: can bus node app????

Post by ronald0001 »

https://youtu.be/AW9XwY7WgAA

convert trackinfo from kodi into hex...after sind it on canbus....
now it works only ids wich i asked for are missing....
i use some fantasy id's....
if possible in c+ i can show track info (artist-title-time of track, also i can show now timeposition of track)
ronald0001
Active member
Posts: 103
Joined: 05 Nov 2019, 10:34

Re: can bus node app????

Post by ronald0001 »

this here is a plugin written in python cuz of kodi

now change something when is playing nothing shows Rasp Pi in the converso

also remove exta id current time and but into trackinfo

also add id to enable bt-audio in c+
i place rigth now fake id's
20200123_221323.jpg
You do not have the required permissions to view the files attached to this post.
ronald0001
Active member
Posts: 103
Joined: 05 Nov 2019, 10:34

Re: can bus node app????

Post by ronald0001 »

ronald0001
Active member
Posts: 103
Joined: 05 Nov 2019, 10:34

Re: can bus node app????

Post by ronald0001 »

here a little demo how it can looks like

for try i do with virtual can
must find a way to calc rigth speed in kmh from can bus

00 64 is in dez 100...shows 1 for digital speed in cluster
03 e8 shows 10 kmh in dez is exactly 1000
so must think only divide by 100
but this is not correct
if i send on id 084 for speed message with 2710 (in dez its 10000) than c+ give me speed 106kmh

20200216_165055.mp4
You do not have the required permissions to view the files attached to this post.
ronald0001
Active member
Posts: 103
Joined: 05 Nov 2019, 10:34

Re: can bus node app????

Post by ronald0001 »

ok i did something wrong
084#xx0060xxxxxxxxxx
is one kmh
so in dez is 96....
easy to calculate only divide by 96...i am an idiot gggf
ronald0001
Active member
Posts: 103
Joined: 05 Nov 2019, 10:34

Re: can bus node app????

Post by ronald0001 »

https://youtu.be/uHp-_FuTErI

somebody knows to build webapp...looking like an speedcluster?
ronald0001
Active member
Posts: 103
Joined: 05 Nov 2019, 10:34

Re: can bus node app????

Post by ronald0001 »

https://youtu.be/hYUQnmu75pY

my first step to work with css and html
looks very simple at the moment
but on the pi it looks ok
20200411_173002.jpg
now i must search the pids and amswers with canhacker and forscan...
maybe i can do more pages with informations to show
You do not have the required permissions to view the files attached to this post.
ronald0001
Active member
Posts: 103
Joined: 05 Nov 2019, 10:34

Re: can bus node app????

Post by ronald0001 »

Neue Bitmap.png
new desing
You do not have the required permissions to view the files attached to this post.
avladimir
Starter
Posts: 25
Joined: 14 Dec 2019, 00:11

Re: can bus node app????

Post by avladimir »

very nice, keep on the good work!
Post Reply