6SpeedOnline - Porsche Forum and Luxury Car Resource

6SpeedOnline - Porsche Forum and Luxury Car Resource (https://www.6speedonline.com/forums/)
-   Bentley (https://www.6speedonline.com/forums/bentley-42/)
-   -   13-18 BENTLEY Breitling Clock can id's (https://www.6speedonline.com/forums/bentley/455368-13-18-bentley-breitling-clock-can-ids.html)

freshfitz Mar 24, 2024 03:28 PM

13-18 BENTLEY Breitling Clock can id's
 
Any way to get the CAN ID's for this? I want to make a desk clock out of it but I need the CAN ID to set the time. It defaults to 12;00 when powered on and the backlight is can bus. or if anyone even knows the range i can try and sweep it.

https://cimg7.ibsrv.net/gimg/www.6sp...eac7a5810d.jpg

https://cimg1.ibsrv.net/gimg/www.6sp...89aba36d46.jpg





sam08861 Mar 26, 2024 11:11 AM

Perhaps just plug the clock in at Noon/Midnight? (So that the time is correct)




freshfitz Mar 26, 2024 06:45 PM

I was thinking that, I may just do a timed relay at 11:59 that cuts the power for 30 secs

sam08861 Mar 26, 2024 06:56 PM

That would work, but you'll be behind 30 seconds every day, which is less accurate than what quartz clock is capable of. (about +/- 15 seconds per month on average to as little as +/- 1 second/year)

freshfitz Mar 27, 2024 07:29 AM

I could do an ardino sync'd with NTP cut the power at 11:59:30 wait 15 secs power it back on about 10 15 secs for the hands to set it would stay in sync'd within a few secs. Would be cooler though if I could NTP sync with can bus and use the backlight tho

sam08861 Mar 27, 2024 04:56 PM

That would be cool, the unidirectional spin when you set the time back is cool to watch. Is the CAN ID something that one can get VIA VCDS scan? If so, I'd be happy to check this weekend.


freshfitz Apr 1, 2024 09:46 AM

Got backlight and hour so far, still searching for Minute hex

back light ID 635 Hex 100 0 0 0 0 0 0 0
0-100 (off to full bright)
Time ID 623 HEX 0 2 0 0 0 0 0 0
X Hour 0-11 X X X X X X X

maba1972 Oct 17, 2024 06:08 AM


Originally Posted by freshfitz (Post 4939105)
Got backlight and hour so far, still searching for Minute hex

back light ID 635 Hex 100 0 0 0 0 0 0 0
0-100 (off to full bright)
Time ID 623 HEX 0 2 0 0 0 0 0 0
X Hour 0-11 X X X X X X X

Hi,

how did you get the can IDs if it's not a secret?

Thank you,
Marko

I had the same idea and came across this forum via Google.

freshfitz Oct 17, 2024 07:32 AM

It was a little bit of luck and a little bit of a needle in a hay stack. After finding the correct baud rate I got a can response from the click, like a Hi I'm here and awake. I took that CAN ID then built a script to increment each bit by 1. After like 45 secs I got a back light and movement. I slowed down the script and eventually was able to scrape the can ID"s
I used an Ardino canbed which has the esp and MCP2515 on 1 board - https://www.seeedstudio.com/CANBed-A...51-p-4365.html

Think this is the code I used, so it takes each bit starts it at 00 and increments by 1 to FF then moves to the 2nd bit and increments both then on to the 3rd, etc.

I have done alot of can projects so quite familiar with CAN bus and esp 32's

Hope that helps

/*
This is for use with Sparkfun's CAN Bus Shield: https://www.sparkfun.com/products/10039
*/
#include<Canbus.h>
#include<defaults.h>
#include<global.h>
#include<mcp2515.h>
#include<mcp2515_defs.h>
voidsetup(){

Serial.begin(115200);
Serial.println("CAN Write - Testing transmission of CAN Bus messages");
delay(1000);

if(Canbus.init(CANSPEED_125)) //Initialise MCP2515 CAN controller at the specified speed
Serial.println("CAN Init ok");
else
Serial.println("Can't init CAN");

delay(1000);

}
int x = 0xFF;
int b = 0xFF;

voidloop()
{
tCAN message;
x++; // now x is 0xFB
b = b + 1;



// message.id = 0x6B2; //formatted in HEX
message.id = x, HEX; //formatted in HEX
message.header.rtr = 0;
message.header.length = 8; //formatted in DEC
message.data[0] = b;
message.data[1] = b;
message.data[2] = b;
message.data[3] = b; //formatted in HEX
message.data[4] = b;
message.data[5] = b;
message.data[6] = b;
message.data[7] = b;

//message.data[5] = message.data[6] +1;
// message.data[6] = message.data[6] +1;
// message.data[7] = message.data[7] +1;
// message.data[7] = message.data[7] +1;
// message.data[0]++;
mcp2515_bit_modify(CANCTRL, (1<<REQOP2)|(1<<REQOP1)|(1<<REQOP0), 0);
mcp2515_send_message(&message);
Serial.print("ID");
Serial.print(" ");
Serial.print(message.id, HEX);
Serial.print(" ");
Serial.print("HEX");
Serial.print(" ");
Serial.print(message.data[0], HEX);
Serial.print(" ");
Serial.print(message.data[1], HEX);
Serial.print(" ");
Serial.print(message.data[2], HEX);
Serial.print(" ");
Serial.print(message.data[3], HEX);
Serial.print(" ");
Serial.print(message.data[4], HEX);
Serial.print(" ");
Serial.print(message.data[5], HEX);
Serial.print(" ");
Serial.print(message.data[6], HEX);
Serial.print(" ");
Serial.print(message.data[7], HEX);
Serial.println("");
delay(100);

}

freshfitz Oct 17, 2024 07:40 AM

I 3D printed a case, this is what it looks like, there are 3 buttons on the side, backlight with dimming function,set hour,set min

https://cimg0.ibsrv.net/gimg/www.6sp...fce936372a.jpg
I

freshfitz Oct 17, 2024 07:43 AM

https://cimg5.ibsrv.net/gimg/www.6sp...7d12c97ce0.jpg

maba1972 Oct 17, 2024 07:56 AM


Originally Posted by freshfitz (Post 4946316)
I 3D printed a case, this is what it looks like, there are 3 buttons on the side, backlight with dimming function,set hour,set min

https://cimg0.ibsrv.net/gimg/www.6sp...fce936372a.jpg
I

A beautiful work of art! Perfect!:)

sam08861 Oct 17, 2024 11:07 AM


Originally Posted by freshfitz (Post 4946316)
I 3D printed a case, this is what it looks like, there are 3 buttons on the side, backlight with dimming function,set hour,set min


I


Nice work on 'hacking' your way in! Very impressed!

Clock looks awesome!


Enrique_Meneses Jun 8, 2025 09:11 AM

Great Job!!
 

Originally Posted by maba1972 (Post 4946318)
A beautiful work of art! Perfect!:)

Great and awesome job!!!:)


All times are GMT -6. The time now is 09:33 AM.


© 2026 MH Sub I, LLC dba Internet Brands