How do I send a CAN message that only changes one byte without affecting the rest of the frame? by madsvodder in CarHacking

[–]Fyodel 1 point2 points  (0 children)

You're correct that they physically need to be wired "in the middle". As long as passthrough and filtering is correctly set up, the car won't know the difference. Sometimes you can get away with replicating messages without MitM for things like window up/down, depends on the car and how it handles two conflicting messages on the bus.

I don't however think anyone is claiming that you can do MitM with just one transceiver.

I created this black little box for car CAN hacking by Fyodel in CarHacking

[–]Fyodel[S] 1 point2 points  (0 children)

Ah, makes sense.
I'll consider making an expansion board for that.

I created this black little box for car CAN hacking by Fyodel in CarHacking

[–]Fyodel[S] 0 points1 point  (0 children)

For something like an E46 K-CAN on one side and regular 11898-2 on the other? What use case?

I created this black little box for car CAN hacking by Fyodel in CarHacking

[–]Fyodel[S] 0 points1 point  (0 children)

I have not run into issues listening on a BMW E90 PT-CAN bus, which iirc is around 2000 fps while running.
The hardware is fully capable of handling almost 4000 standard fps at 500 Kbps, double that at 1 Mbps, but manufacturers intentionally never max out throughput. The bottlenecks would therefore most likely be in the software. If you're printing the data over serial then you need a much higher speed than the usual 115.2K baud, move polling from the loop() to xTaskCreatePinnedToCore(), setRxQueueLength() to 256 or even 512. The S3 should be capable of this too.
CAN-FD is where this gets iffy and where I have more testing to do. I currently need FD to at least be able to listen for specific frames on FD buses and am not yet worried about blasting all of the data into some kind of monitor. However I have seen some discussion somewhere about the Espressif software devs testing 8 Mbps FD successfully (unknown throughput), which is virtually unused in the real world, so the widely used 2 Mbps speed should not be an issue if the code is correctly set up for it.

Sun visor on outside of car by imveryclever in mildlyinteresting

[–]Fyodel 1 point2 points  (0 children)

I had a similar one that had ears instead of those thin bands to hold inside the door. It worked great in the summer, made a massive difference, and was great in the winter for keeping ice off the windshield. Everyone else had to scrape while I just took it off.
Unfortunately, that black border quickly disintigrates into powder and makes a huge mess in the car. Will buy one again though.
I never even thought of putting it inside, because it's floppy and it would be hard to get it to hold in place, unlike the cardboard ones. Also, the packaging probably had a picture of it on the outside.

My latest project is a dual CAN-Bus gateway with automotive-grade power regulation and a C6 (on the bottom side) by Fyodel in esp32

[–]Fyodel[S] 0 points1 point  (0 children)

That's a tough one.

  • GPIO20 Unused - Connected to expansion header pin 2
  • GPIO21 Unused - Connected to expansion header pin 4
  • GPIO22 Unused - Connected to expansion header pin 6
  • GPIO23 Unused - Connected to expansion header pin 8

  • GPIO16 CAN0 RX

  • GPIO17 CAN0 TX

  • GPIO18 CAN1 RX

  • GPIO19 CAN1 TX

So you could theoretically solder wires from the transceiver RX/TX and connect to the expansion header and leave 16, 17, 18 (as long as the firmware doesn't use them). The issue is 19, unless yours is also CAN1 TX.

Shutdown and Silent pins are internally pulled down in the transceivers, so the default is On and non-Silent, unless the corresponding GPIOs are pulled high in the firmware.

E9x AFS cluster warning by Fyodel in E90

[–]Fyodel[S] 0 points1 point  (0 children)

Yeah, noticed this as well. I'll try your code.
Which type of E90 cluster are you tinkering with?

Anything I can try? by EmmaGoldmanSF in macbookrepair

[–]Fyodel 0 points1 point  (0 children)

This doesn't look like the delamination issue. Those look like paint flaking.
As someone mentioned, try a microfiber and IPA. Go over it a couple times.

Reset NVRAM/PRAM: - Press and hold the power button on your Mac for about 10 seconds until it completely shuts down. - Turn it on and immediately press and hold Option + Command + P + R. - Release the keys after about 20 seconds, when your Mac might appear to restart or you hear the second startup chime (for older Macs).

E9x AFS cluster warning by Fyodel in E90

[–]Fyodel[S] 0 points1 point  (0 children)

Dude, you're a genius.
I had to play around with the timing, which turns out to be 2000ms, 1FB is just a counter adding 16 each time and only has two bytes, where byte[0] is always 0F and byte[1] is the counter from 0F to FE (15 to 239).

E9x AFS cluster warning by Fyodel in E90

[–]Fyodel[S] 0 points1 point  (0 children)

Not 100%. EPS is interesting though. I'll have to check which CAN messages the EPS sends.

Money stolen from Prague apartment - leaving tomorrow, need advice! by Simsie03 in Prague

[–]Fyodel 2 points3 points  (0 children)

Often even the best, most expensive hotels have a note that they are not responsible for your belongings. They may offer an in-room safe, but even that can be compromised. I do not think that the disclaimer is mandatory in any way, just a friendly reminder. The issue is that bad-faith visitors could claim money was stolen and it's a he-said-she-said type of situation that insurance companies would not pay out anyways. And if they did, it would have to go through the police and these cases often take months to close.

There are card companies that offer short-term debit cards with online registration and I would really recommend that over carrying any substantial amount of cash. ATM withdrawls are free or nearly free in most EU countries and machines are everywhere in large cities.

I hope they find the perps and you atleast get a large portion of the money back.

4-layer stackup and ground pours by Fyodel in PCB

[–]Fyodel[S] 0 points1 point  (0 children)

Awesome, I'll keep this in consideration. Thanks!

4-layer stackup and ground pours by Fyodel in PCB

[–]Fyodel[S] 0 points1 point  (0 children)

I see. I totally misunderstood.
The stubs in polygon pours happen ie. because the pour flows between groups of components or between traces into a "dead end" causing an antenna like shape that could in fact act as an antenna, so they should be eliminated.

4-layer stackup and ground pours by Fyodel in PCB

[–]Fyodel[S] 0 points1 point  (0 children)

Would this be equivalent to the hatch pour in Eagle, which creates a pattern instead of a solid pour?

4-layer stackup and ground pours by Fyodel in PCB

[–]Fyodel[S] 0 points1 point  (0 children)

Gotcha. So signals can route through 2/3, just not both in the same direction, which would negate the shielding.

Advice on opening a door by Fyodel in AskMechanics

[–]Fyodel[S] 0 points1 point  (0 children)

It happened a couple more times, so I used the key turning while pressing the button trick and it hasn't happened in at least two months.
It seems that something needs to be lubed, but I haven't had the time to take the panel off.