Search found 1084 matches

by uhi22
Thu May 08, 2025 8:05 am
Forum: Batteries and Charging
Topic: QCA7000 Foccci+Clara User thread
Replies: 228
Views: 100792

Re: QCA7000 Foccci+Clara User thread


A mechanical opening remains unnoticed


Now introduced a parameter to select the intended lock control behavior: LockControlVariant
with the possibilities
0=TimeBased_VirtualFeedback. The motor is controlled for the LockRunTime, once a new request comes in. The hardware feedback is ignored. The ...
by uhi22
Wed May 07, 2025 4:03 pm
Forum: Batteries and Charging
Topic: Charging works on CCS2 Tesla V2 but not V3
Replies: 26
Views: 8954

Re: Charging works on CCS2 Tesla V2 but not V3

Exactly. Or find the wire inside the car, cut it and plug the electronics in between.
by uhi22
Wed May 07, 2025 3:53 pm
Forum: Batteries and Charging
Topic: QCA7000 Foccci+Clara User thread
Replies: 228
Views: 100792

Re: QCA7000 Foccci+Clara User thread

Does UdcDivider 2.72 not work?
by uhi22
Wed May 07, 2025 7:59 am
Forum: Batteries and Charging
Topic: QCA7000 Foccci+Clara User thread
Replies: 228
Views: 100792

Re: QCA7000 Foccci+Clara User thread

For the inlet voltage plausibilization, implemented a draft. It works like this:
- The voltage measured by the hardware board is always reported in spot value InletVoltageHw.
- The voltage reported by the charging station is available in spot value EvsePresentVoltage.
- If the hardware measurement ...
by uhi22
Mon May 05, 2025 6:57 pm
Forum: Batteries and Charging
Topic: QCA7000 Foccci+Clara User thread
Replies: 228
Views: 100792

Re: QCA7000 Foccci+Clara User thread

Good ideas.

- For the separate control of the DC contactors via ActuatorTest, created issue https://github.com/uhi22/ccs32clara/issues/53 and implemented the feature. Binaries available in the continuous integration build #99 on https://github.com/uhi22/ccs32clara/actions

- For the inlet voltage ...
by uhi22
Sun May 04, 2025 6:19 pm
Forum: Batteries and Charging
Topic: QCA7000 Foccci+Clara User thread
Replies: 228
Views: 100792

Re: QCA7000 Foccci+Clara User thread


Oh, and when you're testing it I suggest doing so with an actual plug rather than through the web interface. For some reason it doesn't always want to respond to open/close commands there. So you could find yourself confused why it's not working, only to realize it's actually working just fine ...
by uhi22
Sun May 04, 2025 5:20 pm
Forum: Batteries and Charging
Topic: QCA7000 Foccci+Clara User thread
Replies: 228
Views: 100792

Re: QCA7000 Foccci+Clara User thread

How to kill the lock motor? Just tested, and found:
Preconditions: LockClosedThresh=2000, LockOpenThresh=1900. LockRunTime 1500ms. Feedback line open, so it is at high level, I get AdcLockFeedback=4036.
Action: Power-on.
Observed: Lock motor is controlled into direction "unlock" for ever.
Expected ...
by uhi22
Sun May 04, 2025 8:26 am
Forum: Batteries and Charging
Topic: Develop a QCA7000 board?
Replies: 689
Views: 9666383

Re: Develop a QCA7000 board?

I also have seen cases where the 1.2V got higher then intended. These were solder issues, like missing ground on certain pins or missing ground on center pad. The good news is: all my QCAs survived these situations and work perfect after proper soldering .
by uhi22
Sun May 04, 2025 8:17 am
Forum: User Interface
Topic: what am I doing wrong ??? ESP32 flashing
Replies: 68
Views: 23909

Re: what am I doing wrong ??? ESP32 flashing

I had some frustrating experiences with such jumper wires and in the meanwhile I'm back to soldering. Sure with good quality connectors there is no issue, but the cheap jumpers which I got were best placed into the trash bin.
by uhi22
Sat May 03, 2025 4:56 pm
Forum: VW (VAG, Volkswagen, Audi, Porsche etc.)
Topic: VW Mild Hybrid Starter Alternator
Replies: 134
Views: 90038

Re: VW Mild Hybrid Starter Alternator


messages are send to address 0x3c0, byte 0 is CRC byte 1 is cyclic for the first half of the byte (0 to F) and the is enable signal byte 6 is forward/reverse (3f/40) and byte 7 is throttle 0-100 for forward and 100-0 for reverse.
...
hopefully someone can help with figuring how the checksum CRC is ...
by uhi22
Sat May 03, 2025 5:03 am
Forum: User Interface
Topic: what am I doing wrong ??? ESP32 flashing
Replies: 68
Views: 23909

Re: what am I doing wrong ??? ESP32 flashing

Really a pity. Some ESP are more crappy then others, maybe you can try whether an other one feels better. Power supply may be one issue. They need a lot of current for WiFi, and if the capacitors are too small they run into strange effects. Maybe add some 100n ceramic Cs and 100uF elcap.
by uhi22
Fri May 02, 2025 8:31 pm
Forum: Batteries and Charging
Topic: QCA7000 Foccci+Clara User thread
Replies: 228
Views: 100792

Re: QCA7000 Foccci+Clara User thread

Regarding the lock motor control and feedback variants, created a separate issue for the detailled discussions.
https://github.com/uhi22/ccs32clara/issues/51
by uhi22
Fri May 02, 2025 8:12 pm
Forum: Batteries and Charging
Topic: QCA7000 Foccci+Clara User thread
Replies: 228
Views: 100792

Re: QCA7000 Foccci+Clara User thread


A UdcOffset parameter in addition to the UdcDivider would also be good, as the BMW measuring system, for example, does not output 0V at 0V HV.


Just added the parameter UdcOffset (in digits) and a spot value AdcInletVoltage for easy calibration. Have set the default values to fit (nearly) to ...
by uhi22
Fri May 02, 2025 5:13 pm
Forum: Batteries and Charging
Topic: QCA7000 Foccci+Clara User thread
Replies: 228
Views: 100792

Re: QCA7000 Foccci+Clara User thread

The currently implemented range detection is:
- We have two cases: (A) "closed" is higher resistance and (B) "open" is higher resistance.
- For (A):
if AdcLockFeedback is low (between 0 and <LockOpenThresh), we detect OPEN.
if AdcLockFeedback is middle (between LockOpenThresh and LockClosedThresh ...
by uhi22
Fri May 02, 2025 4:50 pm
Forum: Batteries and Charging
Topic: QCA7000 Foccci+Clara User thread
Replies: 228
Views: 100792

Re: QCA7000 Foccci+Clara User thread

I see room for improvements:
- It is not clear, how to adjust the two threshold values. It does NOT help to adjust them to exactly the measured values in both states, because then we just get random behavior. We need to define whether they shall be set below or above the measured values. Or set them ...
by uhi22
Thu May 01, 2025 8:10 pm
Forum: Batteries and Charging
Topic: QCA7000 Foccci+Clara User thread
Replies: 228
Views: 100792

Re: QCA7000 Foccci+Clara User thread


If the plug is not fully inserted, I have the choice between “I don't notice that it's not locked” and “the motor smokes because it doesn't switch off”.


Good point. Need to check what happens in case of not fully inserted plug. The goal would be: do not allow charging, set an error to make the ...
by uhi22
Mon Apr 28, 2025 2:40 pm
Forum: Batteries and Charging
Topic: Looking for EV Owners to Help Test Our DC Fast Chargers!
Replies: 4
Views: 1512

Re: Looking for EV Owners to Help Test Our DC Fast Chargers!

What is the half price of the 7kW? Is this three-phase euro 230/400V?
by uhi22
Mon Apr 28, 2025 7:50 am
Forum: VW (VAG, Volkswagen, Audi, Porsche etc.)
Topic: Reverse engineering the MQB Electric steering rack
Replies: 12
Views: 4058

Re: Reverse engineering the MQB Electric steering rack

Good news: The CRC algorithm is the same as used in Tesla. Created a program which reads the above two log files, calculates the CRC for each message and compares it with the transmitted CRC. Result: All pass. CRC ok: 91622, CRC fail: 0
Github: https://github.com/uhi22/tesla-crc/tree/main/vag
by uhi22
Sun Apr 27, 2025 9:27 pm
Forum: BYD
Topic: 【Technical Inquiry】Looking for Methods to Capture EVCC Data from BYD New Energy Vehicles
Replies: 2
Views: 1871

Re: 【Technical Inquiry】Looking for Methods to Capture EVCC Data from BYD New Energy Vehicles

I see two ways:
1. The cheap: capture the SPI traffic in the vehicle or charger, between the modem (QCA7000) and the host, using a Saleae logic analyzer (clone). I have a python script on my github to convert the saleae data into pcap, to view it with wireshark.
2. The expensive, universal, state-of ...
by uhi22
Fri Apr 25, 2025 5:25 pm
Forum: VW (VAG, Volkswagen, Audi, Porsche etc.)
Topic: Reverse engineering the MQB Electric steering rack
Replies: 12
Views: 4058

Re: Reverse engineering the MQB Electric steering rack

Ahh, I just see the attached logs above, I will have a look into them in the next days.
If you have longer logs you could extract the lines with the esp_21 message (eg using linux grep command) and provide the extract.
by uhi22
Fri Apr 25, 2025 3:27 pm
Forum: VW (VAG, Volkswagen, Audi, Porsche etc.)
Topic: Reverse engineering the MQB Electric steering rack
Replies: 12
Views: 4058

Re: Reverse engineering the MQB Electric steering rack

The snippet of the DBC above shows that the checksum is at bit 0 and has 8 bits, and the counter starts at bit 8 (means: in the second byte), and has four bits.
The CRC algorithm may be similar to one of the profiles described in the AUTOSAR E2E specification. I described a similar method which ...
by uhi22
Thu Apr 24, 2025 8:41 pm
Forum: VW (VAG, Volkswagen, Audi, Porsche etc.)
Topic: Reverse engineering the MQB Electric steering rack
Replies: 12
Views: 4058

Re: Reverse engineering the MQB Electric steering rack

The shown code does not include the alive counter (which should increment with each message), and also does not contain the table with magic bytes. So it cannot produce valid E2E protected messages.
by uhi22
Tue Apr 15, 2025 5:54 am
Forum: Batteries and Charging
Topic: Leaf J1772 Confusion
Replies: 1
Views: 2816

Re: Leaf J1772 Confusion

The orange connector is just the power connector, L, N, PE, containing a HV-interlock bridge to detect an unplugged connector. Seems the CP and PP was running on a separate connector that was cut during dismantling.
by uhi22
Fri Apr 11, 2025 9:20 am
Forum: Batteries and Charging
Topic: Selfmade CCS Inlet?
Replies: 21
Views: 4953

Re: Selfmade CCS Inlet?

The "CCS plug" is female. The pins are intended for "low-power" vehicles.
by uhi22
Fri Apr 11, 2025 7:20 am
Forum: Batteries and Charging
Topic: Selfmade CCS Inlet?
Replies: 21
Views: 4953

Re: Selfmade CCS Inlet?

The PE pins of 32A CEE red have the matching diameter and length. Found two different types.
CEE red 32A PE pin
CEE red 32A PE pin