Posts

Showing posts from October, 2020

VOLVO+ Development Story (11), A-SS function release

Image
New feature A-SS OFF release and camping mode FW fix XC60 ASS-OFF feature VOLVO+ Development Story (8), A-SS function definition VOLVO+ Development Story (9), A-SS development Demo Video Camping mode VOLVO+ Development Story (10), camping mode Thanks Mr. Chen in Hsinchu city, help me hardware knowledge, review schematics Thanks to everyone who bought VOLVO+. If no body likes it, the project is meanless Thanks to everyone who helped me verifying A-SS OFF Special Thanks to Mr. Hsu, the project can't be success without your help Special thanks to Mr. Hsu, the project successes with your help

VOLVO+ Development Story (10), camping mode

Image
Camping mode VOLVO XC60 is suitable for camping. Some customers told me they're unloading. Several minutes later, the tailgate can't close anymore Opps, I didn't test the scearuo before. Here is the engineering report: The car put idle, and several minutes, both car and VOLVO+ go to sleep mode In sleep mode, VOLVO+ wakes up every 3 seconds (3000ms). The on duration is roughly 10ms to detect packets on the CAN bus. It shall detect packet then enter active mode Therefore, humans shall press the tailgate button in the 10ms window, whose probability is 10/3000 = 0.3% (1 success in 300 trials). Try to tweak parameters: Every second (1000ms) listens 10ms. Success rate 1%. 1 success in 100 trial, too bad Every seconds (1000ms) listens 500ms. Success rate 50%. 1 success in 2 trials. Extremely bad power consumption VOLVO+ enters sleep 10 minutes later after cars entering sleep mode. It sacrifices some battery life, but not solves the problem (why can't I have a party with tailga

VOLVO+ Development Story (9), A-SS development

Image
VOLVO made the A-SS default on. I spent hundreds of hours to learn CAN bus programming from scratch to make the A-SS default off. The article illustrates the idea to hack car, and A-SS OFF development detail.  Build development Tool I typically interact with CAN bus via Raspberry Pi + Linux toolchain Pro Raspberry Pi had built-in WiFi, bluetooth, high performance Convenient can-utils package It's basically a computer and we can write program Con No commercial or GUI based tool, higher entry barrier No technical support, develop everything on our own No solid mechanical structure, I spend a lot of time debugging toolkit before doing experiment Hardware selection Raspberry Pi 3B+ Candlelight FW based USB-to-CAN bus converter Adjustable DC-to-DC converter module for 12V-to-5V I made several HW and picture below is the one I'm using I also had a outdoor version, which used Raspberry Pi ZW to reduce size Debian Linux had can-utils package, whose candump can sniffer CAN bus The com