Search found 66 matches

by 7yatna
Tue Apr 09, 2024 6:35 am
Forum: Tesla
Topic: NEED Tesla Model S Parking Brake CAN traffic log
Replies: 1
Views: 455

Re: NEED Tesla Model S Parking Brake CAN traffic log

hey there,

probably a long shot, did you manage to find the can ids or even full can bus 6 (Chassis can log ) ? im tinkering with that too.

thanks
by 7yatna
Wed Jul 05, 2023 7:21 am
Forum: Inverters / Motor Controllers
Topic: Added LinBus class to libopeninv
Replies: 19
Views: 2227

Re: Added LinBus class to libopeninv

heater.h needs to include linbus.h otherwise it doesn't know the type LinBus ;) Oh My god, i was that close. I just added linbus.h into heater.h and compiled with no warnings at all. i will test tomorrow the lin communications today i switched gears and worked on getting the Gs450H spinning. after ...
by 7yatna
Tue Jul 04, 2023 10:51 pm
Forum: Inverters / Motor Controllers
Topic: Added LinBus class to libopeninv
Replies: 19
Views: 2227

Re: Added LinBus class to libopeninv

I tried doing and replicating the setcanhardware() but obviously i have a problem with keeping up where the poiinters and what declared and not. i moved the setlininterface to the base class. and really not follwoing why and which variables i need to declare. even the amperaheater files .cpp/.h that...
by 7yatna
Tue Jul 04, 2023 9:18 pm
Forum: Inverters / Motor Controllers
Topic: Added LinBus class to libopeninv
Replies: 19
Views: 2227

Re: Added LinBus class to libopeninv

i found something else that will make no Comms, in zombie there is a pin called linnslp which causes the TJA chip to sleep i measured the pin and it is LOW which in my bench testsetup will kill all comms. it is on GPIO11. any ideas where we can make this pin goes HIGH ? im thinking we can put it in ...
by 7yatna
Tue Jul 04, 2023 9:02 pm
Forum: VW (VAG, Volkswagen, Audi, Porsche etc.)
Topic: VW A/C Compressor
Replies: 105
Views: 22115

Re: VW A/C Compressor

I wonder if it would be possible to get a LIN log from a working car and what software could be used to find out control messages for these LIN devices? It will be a great resource but as usually, people whop are willing to tap into their busses and taking pieces off to connect a sniffer are very v...
by 7yatna
Tue Jul 04, 2023 8:40 pm
Forum: Inverters / Motor Controllers
Topic: Added LinBus class to libopeninv
Replies: 19
Views: 2227

Re: Added LinBus class to libopeninv

Hi Guys, I took both of your advice and now we compile with no issues. I made a setlininterface in the vwheater and added linbus .o and we are rolling. Unfortunately there is no lin comms going out. which after thinking about stuff, i didnt call SetlinInterface function to link the pointers. so i we...
by 7yatna
Tue Jul 04, 2023 8:56 am
Forum: VW (VAG, Volkswagen, Audi, Porsche etc.)
Topic: VW A/C Compressor
Replies: 105
Views: 22115

Re: VW A/C Compressor

i tried all the addresses one after the other to find the control address and noticed a change in the response to the correct one. i did the same thing but it looks like the control message format for my compressor is a little bit diffrent so no change in the feedback message. i will take another t...
by 7yatna
Tue Jul 04, 2023 2:34 am
Forum: VW (VAG, Volkswagen, Audi, Porsche etc.)
Topic: VW A/C Compressor
Replies: 105
Views: 22115

Re: VW A/C Compressor

Hi Guys, here is an arduino scketch based on Muehlpower code i just added couple of things. this did control my heater and ran it about 720W. and it the log i posted earlier was from this code session. int LIN_baud = 19200; int DB = 0; uint8_t data1[10]; uint8_t buff[42]; int AC_ID = 0xBF; int BH_ID...
by 7yatna
Tue Jul 04, 2023 2:27 am
Forum: Inverters / Motor Controllers
Topic: Added LinBus class to libopeninv
Replies: 19
Views: 2227

Re: Added LinBus class to libopeninv

and ignore the warning of the suburau class, it is because the digital pots are not implemented yet.
by 7yatna
Tue Jul 04, 2023 2:26 am
Forum: Inverters / Motor Controllers
Topic: Added LinBus class to libopeninv
Replies: 19
Views: 2227

Re: Added LinBus class to libopeninv

Hi Johu, it looks like the Job is bigger than what i though. im so stuck and lost between the pointers. the Zombie is a little bit bigger than your Volvo. so here where i`m. all the modified Files are attached everything else before this lin implementation was working, compiling and running on my VC...
by 7yatna
Mon Jul 03, 2023 8:46 am
Forum: Inverters / Motor Controllers
Topic: Added LinBus class to libopeninv
Replies: 19
Views: 2227

Re: Added LinBus class to libopeninv

m.art.y wrote: Mon Jul 03, 2023 8:42 am Hm, in the Zombie there is a list of heaters you can select and one of them is VW. Not tested if it works myself but wouldn't it be controller by LIN?
Not implemented to be worked on. I`m the one who is working on it.
by 7yatna
Mon Jul 03, 2023 8:40 am
Forum: Inverters / Motor Controllers
Topic: Added LinBus class to libopeninv
Replies: 19
Views: 2227

Re: Added LinBus class to libopeninv

I took a walk in your code and it looks like you used the Digital pots, is it right ? coming on my list is to used the fuel gauge to reflect SOC. the BMW e60 uses two fuel senders each is about 500 Ohm im planning to use the digital Pots to do that. is the implementation in set fuel gauge function d...
by 7yatna
Mon Jul 03, 2023 8:30 am
Forum: Inverters / Motor Controllers
Topic: Added LinBus class to libopeninv
Replies: 19
Views: 2227

Re: Added LinBus class to libopeninv

you are awesome Johu,

I just tested the VW Heater code today and got some toasty water out. Now i will implement in Zombie. as far as i noticed the Zombie has Lin but nothing is being controlled by Lin in Zombie files.

I will give it a try tomorrow and test the Heater by zombie.

thanks,
Karim
by 7yatna
Mon Jul 03, 2023 6:58 am
Forum: Inverters / Motor Controllers
Topic: Added LinBus class to libopeninv
Replies: 19
Views: 2227

Re: Added LinBus class to libopeninv

Ok that looks pretty simple.

now if i want to implment Lim on zombie. do i need to configure it first before i send the messages?

an actual example of a function sending will be appreciated.

thanks
karim
by 7yatna
Sun Jul 02, 2023 7:14 pm
Forum: Inverters / Motor Controllers
Topic: My Car tried to Kill me today (1973 Beetle +SDU Conversion), Potential Cruise Control Bug ?
Replies: 114
Views: 24846

Re: My Car tried to Kill me today (1973 Beetle +SDU Conversion), Potential Cruise Control Bug ?

I'm just here cause someone came up with a better thread title than one of mine ! but I luv these tow shackles 20221228_134904 arrows.jpg two shackles that will give you a buzz if you pull hard. i used the original cables without modifications. I gotta tell you something gregski I used those module...
by 7yatna
Sun Jul 02, 2023 7:50 am
Forum: Inverters / Motor Controllers
Topic: My Car tried to Kill me today (1973 Beetle +SDU Conversion), Potential Cruise Control Bug ?
Replies: 114
Views: 24846

Re: My Car tried to Kill me today (1973 Beetle +SDU Conversion), Potential Cruise Control Bug ?

We have now established that the physical brake signal is most likely not the culprit. I'm assuming you traced din_brake in the web interface and it follows your brake pedal. Sorry if people are irritated by the inactivity prior to knowing this. This is not the first post mortem analysis I do on ra...
by 7yatna
Sat Jul 01, 2023 6:23 am
Forum: Inverters / Motor Controllers
Topic: My Car tried to Kill me today (1973 Beetle +SDU Conversion), Potential Cruise Control Bug ?
Replies: 114
Views: 24846

Re: My Car tried to Kill me today (1973 Beetle +SDU Conversion), Potential Cruise Control Bug ?

One more though on this - would it be sensible to make it so that switching to neutral, or changing direction, also cancels cruise? At the moment the brake input has no redundancy, all you need is a broken wire or switch and cruise can't be cancelled. Adding logic to check for a change in direction...
by 7yatna
Sat Jul 01, 2023 6:15 am
Forum: Inverters / Motor Controllers
Topic: My Car tried to Kill me today (1973 Beetle +SDU Conversion), Potential Cruise Control Bug ?
Replies: 114
Views: 24846

Re: My Car tried to Kill me today (1973 Beetle +SDU Conversion), Potential Cruise Control Bug ?

Yes, absolutely @7yatna : have you checked whether your brake signal was the culprit? Sorry Guys got dragged into some life stuff. I did check the car and the brake signal is 100% perfect no issues at all both same day it happened and every single time i drove the car. i do not think it was the bra...
by 7yatna
Sat Jul 01, 2023 6:13 am
Forum: VW (VAG, Volkswagen, Audi, Porsche etc.)
Topic: VW A/C Compressor
Replies: 105
Views: 22115

Re: VW A/C Compressor

Hey Guys, SO im back at coding and getting the Heater and AC compressor to work. I copied Meuhl sketch and it was missing bunch of variables i added them up and now we have working Setup. I can send the control messages and ping the response messages and the is spot on. Both control and response. He...
by 7yatna
Sat Jun 17, 2023 7:40 am
Forum: Inverters / Motor Controllers
Topic: My Car tried to Kill me today (1973 Beetle +SDU Conversion), Potential Cruise Control Bug ?
Replies: 114
Views: 24846

My Car tried to Kill me today (1973 Beetle +SDU Conversion), Potential Cruise Control Bug ?

Hi Guys, sorry I`m overdue for posting my Car build thread, I Build more than taking pictures and Project #2 is taking a lot of my time now. So it was a beautiful day here in San Diego, CA so i decided to go to work with my 1973 SDU converted Beetle. The car has been Super reliable for almost a year...
by 7yatna
Thu May 25, 2023 4:34 pm
Forum: VW (VAG, Volkswagen, Audi, Porsche etc.)
Topic: VW A/C Compressor
Replies: 105
Views: 22115

Re: VW A/C Compressor

Thanks Pete,

this is great help.

Karim
by 7yatna
Thu May 25, 2023 12:14 am
Forum: VW (VAG, Volkswagen, Audi, Porsche etc.)
Topic: VW A/C Compressor
Replies: 105
Views: 22115

Re: VW A/C Compressor

At the electrical level LIN bus is always Ver1.3. Ver 2.0 and up just add extra messaging types at the software level but at the electrical layer is the same. Fairly sure the TJA1020 is compatible with all of them (it's what I've used to talk to my VW compressor and heater). Hi Pete, thank you for ...
by 7yatna
Wed May 24, 2023 8:43 pm
Forum: VW (VAG, Volkswagen, Audi, Porsche etc.)
Topic: VW A/C Compressor
Replies: 105
Views: 22115

Re: VW A/C Compressor

why shouldn't the TJA1020 work with the VAG components? have you tried it? My first attempts were with a simple NPN trasistor and it worked. I didnt try to be honest i just looked at the datasheets and TJA 1020 is Lin 1.3 Only and i know the VW is 2.2 so didnt try. I have TJA1020 i will connect it ...
by 7yatna
Wed May 24, 2023 4:58 pm
Forum: VW (VAG, Volkswagen, Audi, Porsche etc.)
Topic: VW A/C Compressor
Replies: 105
Views: 22115

Re: VW A/C Compressor

Hi, CAN bus and LIN run in different ways. Lin is a lot simpler. On CAN once the module has power it will constantly transmit its data regardless of if anything is listening. Lin works on a master/slave principal. so the master module has can transmit any control data it wants. but the slave module...
by 7yatna
Tue May 16, 2023 5:43 pm
Forum: VW (VAG, Volkswagen, Audi, Porsche etc.)
Topic: VW A/C Compressor
Replies: 105
Views: 22115

Re: VW A/C Compressor

After making lots of adaptors and brackets im ready to start testing my AC setup. I decided to use a watercooled condenser and evaporator. ESP32 for commutation. once i know its reliable and wont try to blow up anything I will put the code on my GitHub. I have also found the actual datasheet for th...