eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

225
active users

#startergenerator

0 posts0 participants0 posts today
LeoDJ<p>- Built the (shitposty) <a href="https://chaos.social/tags/USB2Speakon" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>USB2Speakon</span></a> adapter<br>- Designed a new revision of the <a href="https://chaos.social/tags/SSD1303" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SSD1303</span></a> breakout PCB<br>- Developed a small ESP-NOW telemetry and logging framework for a model rocket <a href="https://chaos.social/tags/jfzhn" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>jfzhn</span></a> project<br>- Finished reverse engineering the <a href="https://chaos.social/tags/startergenerator" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>startergenerator</span></a>. It spins now! \o/<br>- Built <a href="https://chaos.social/tags/TheLAEMPAN" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TheLAEMPAN</span></a> together with <span class="h-card" translate="no"><a href="https://chaos.social/@techbeard" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>techbeard</span></a></span> and <span class="h-card" translate="no"><a href="https://chaos.social/@Toble_Miner" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>Toble_Miner</span></a></span> (RGB replacement PCBs for IKEA LAMPANs, more info coming sometime™)</p><p><a href="https://chaos.social/tags/GoodOf2024" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GoodOf2024</span></a> 2/3</p>
LeoDJ<p>The general control loop is also pretty impressive, the engineers at <a href="https://chaos.social/tags/Bosch" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Bosch</span></a> SEG definitely did their job well.</p><p>The lowest limit I can set is 6 RPM and it runs buttery smooth.</p><p>And it has insane amounts of torque. If you hold the pulley really tightly, it slips out of most strong hands at around 6-7 Nm (as reported via the CAN status messages).</p><p>This will be really fun once put into some small vehicle :D</p><p>(It can also recuperate really well, but can't run in reverse at all)</p><p><a href="https://chaos.social/tags/startergenerator" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>startergenerator</span></a></p>
LeoDJ<p>We also did a max RPM test of the <a href="https://chaos.social/tags/startergenerator" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>startergenerator</span></a> using one of <span class="h-card" translate="no"><a href="https://chaos.social/@patagona" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>patagona</span></a></span>'s rescued Pylontech batteries, because the 20A of my 1kW lab PSU weren't enough :D</p><p>I set the torque limit to 0.7 Nm (out of 55), no RPM limit and let it rip :D<br>It reached a peak of 43A (~2kW) at the end of the acceleration, settled at 25A (~1.2kW) and reached a peak RPM of 13400.</p><p>It was a bit scary tbh :D<br>(Not sure if the video accurately captured the sound it made)</p><p>(Pylontech thread: <a href="https://chaos.social/@patagona/113149877881417810" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">chaos.social/@patagona/1131498</span><span class="invisible">77881417810</span></a> )</p>
LeoDJ<p>There's still a lot left to do.<br>I need to implement the <a href="https://chaos.social/tags/XCP" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>XCP</span></a> stuff into the STM32 firmware, so it can run the <a href="https://chaos.social/tags/startergenerator" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>startergenerator</span></a> stand-alone.<br>Stuff like: <br>- Checking the firmware version on the ECU, so it doesn't poke the wrong memory address<br>- Reading and parsing the status of the motor<br>- And actually controlling the motor properly instead of just sending it a hardcoded 1 Nm torque request :D</p><p>And then also cleaning it up enough, documenting and testing it thoroughly, so it can be published.</p>
LeoDJ<p>I spent many dozens of hours losing track of time in <a href="https://chaos.social/tags/Ghidra" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Ghidra</span></a> (I swear, it's worse than <a href="https://chaos.social/tags/Factorio" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Factorio</span></a>)</p><p>Until I had figured out the <a href="https://chaos.social/tags/CAN" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CAN</span></a> message handling, signal parsing and where and when which <a href="https://chaos.social/tags/DTC" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DTC</span></a> codes get set.<br>With that knowledge I could figure out, slowly but surely, what the <a href="https://chaos.social/tags/startergenerator" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>startergenerator</span></a> needs to run.<br>Even <a href="https://chaos.social/tags/FBS4" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FBS4</span></a> was pretty trivial to circumvent (a single 1 written to the right memory location via <a href="https://chaos.social/tags/XCP" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>XCP</span></a>)</p><p>And after implementing the ~25 CAN messages in my STM32 code I finally got this today:</p>
LeoDJ<p>Update time:<br>At the end of December I implemented most of the messages the <a href="https://chaos.social/tags/startergenerator" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>startergenerator</span></a> wants to see.<br>I knew I got it right enough because the 7 DTC codes it was previously spitting out shrank to just 1. The ones that went away were something like "communication failure power train controller", but the one remaining DTC was a bit disheartening...</p><p>"P143468: Imob_E_LOCKED - The driving authorization has not been released."</p>
LeoDJ<p>- Helped <span class="h-card" translate="no"><a href="https://chaos.social/@crexodon" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>crexodon</span></a></span> a bit with the <a href="https://chaos.social/tags/Unterland" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Unterland</span></a> badge<br>- Quickly hacked together some Art-Net support for <span class="h-card" translate="no"><a href="https://chaosfurs.social/@twizzarak" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>twizzarak</span></a></span>'s tail<br>- "Fixed" the water-damaged motor <a href="https://chaos.social/tags/ECU" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ECU</span></a> of my car<br>- Finally got CAN communication with the <a href="https://chaos.social/tags/startergenerator" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>startergenerator</span></a><br>- <span class="h-card" translate="no"><a href="https://chaos.social/@patagona" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>patagona</span></a></span> and I took a look at some cheap <a href="https://chaos.social/tags/BK7231N" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BK7231N</span></a> based string lights and built a <a href="https://chaos.social/tags/ESPHome" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ESPHome</span></a> firmware<br>- Attended a number of repair cafés and helped repair a handful of devices<br>3/3</p>
LeoDJ<p>- Bought a Mercedes <a href="https://chaos.social/tags/startergenerator" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>startergenerator</span></a> and started reverse-engineering it<br>- Implemented gamma correction for <a href="https://chaos.social/tags/PixelBridge" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PixelBridge</span></a><br>- Built a control board and instrument display for the <a href="https://chaos.social/tags/ePocketBike" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ePocketBike</span></a><br>- Dabbled in upholstry and built a new seat for the <a href="https://chaos.social/tags/ePocketBike" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ePocketBike</span></a><br>- Acquired some big <a href="https://chaos.social/tags/SSD1303" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SSD1303</span></a> OLEDs and desgined a breakout board + Arduino library for it.<br>- Released the <a href="https://chaos.social/tags/PawConnect" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PawConnect</span></a> (Tag-Connect <a href="https://chaos.social/tags/TC2030" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TC2030</span></a> compatible f̶o̶o̶t̶ pawprint)<br>- Built the now famous <a href="https://chaos.social/tags/PDBrick" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PDBrick</span></a> together with <span class="h-card" translate="no"><a href="https://chaos.social/@techbeard" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>techbeard</span></a></span><br>2/3</p>
LeoDJ<p>Got out the <a href="https://chaos.social/tags/startergenerator" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>startergenerator</span></a> again today. <br>But (destructively) removing the back cover of the <a href="https://chaos.social/tags/BSG" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BSG</span></a> revealed even less than I had feared...</p><p>Just a big welded(!) copper distribution plate and more plastic and silicon.</p><p>Only a hint of ceramic PCB can be seen through a tiny little hole, that's it.</p><p>Going any further than that really needs some effort and would very likely lead to damage of the power electronics, so I'll probably stick to the <a href="https://chaos.social/tags/CAN" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CAN</span></a> fuzzing / information digging approach for now...</p>
LeoDJ<p>Trying to send some <a href="https://chaos.social/tags/CAN" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CAN</span></a> messages to the <a href="https://chaos.social/tags/startergenerator" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>startergenerator</span></a> didn't prove successful either.<br>I'm not well versed in CAN, but the dongle just kept trying to send the single message on repeat.<br>So I guess it didn't receive a CAN ACK?<br>Afaik, all transceivers in a bus should ACK a frame, no matter if they're addressed or not.</p><p>Not sure why it didn't work. Maybe I was on the wrong baud rate or this device behaves weirdly and only sends ACKs after getting a magic message?</p><p><a href="https://chaos.social/tags/CANhacking" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CANhacking</span></a> <a href="https://chaos.social/tags/carhacking" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>carhacking</span></a></p>
LeoDJ<p>After much digging I at least found the pinout in some Mercedes shop software.</p><p>But unsurprisingly the <a href="https://chaos.social/tags/startergenerator" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>startergenerator</span></a> didn't send any messages on its own on the <a href="https://chaos.social/tags/CAN" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CAN</span></a> bus when hooked up to 12V.<br>It did draw 11 mA tho, so at least the pinout seems correct and the controller appears awake.</p>
LeoDJ<p>Bought a <a href="https://chaos.social/tags/Mercedes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Mercedes</span></a> <a href="https://chaos.social/tags/48V" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>48V</span></a> <a href="https://chaos.social/tags/MHEV" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>MHEV</span></a> <a href="https://chaos.social/tags/startergenerator" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>startergenerator</span></a> for <a href="https://chaos.social/tags/reverseengineering" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>reverseengineering</span></a>. <br>The specs are impressive, especially for the price point of a few hundred euros.</p><p>- 48V / ~200A<br>- 12.5 kW peak<br>- 165 Nm peak</p><p>The main difficulty lies in finding out the <a href="https://chaos.social/tags/CAN" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CAN</span></a> commands for initialization and control. </p><p>I don't have access to a Mercedes E200 EQ Boost (or similar), so "just sniffing" is out. <br>Maybe somebody could help me with that tho? ^^'</p><p><a href="https://chaos.social/tags/CANhacking" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CANhacking</span></a> <a href="https://chaos.social/tags/carhacking" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>carhacking</span></a> <a href="https://chaos.social/tags/BSG" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>BSG</span></a></p>