Search found 260 matches

by doobedoobedo
Thu Sep 21, 2023 2:34 pm
Forum: Getting Started
Topic: Guide to CAN for toddlers (or people with arduino UNO)
Replies: 3
Views: 3591

Re: Guide to CAN for toddlers (or people with arduino UNO)

If you're using UNO or any other 328p based Arduino then you need to take account of endianness. The arm based ones like the DUE are the same as OI so you don't need to worry about it.
by doobedoobedo
Fri Mar 24, 2023 1:43 am
Forum: General
Topic: Battery Pack Power Density
Replies: 28
Views: 1345

Re: Battery Pack Power Density

High power cells are physically constructed differently. Internally they are constructed as if they were many smaller cells in parallel, by interleaving. Certainly the hobby lipos I fully discharged and opened up were.
by doobedoobedo
Mon Jun 29, 2020 8:31 pm
Forum: Toyota/Lexus
Topic: Gen 3 inverter converter control software
Replies: 275
Views: 66919

Re: Gen 3 inverter converter control software

I'm looking at single phase charging (240V AC rectified is ~340V). My intention was to use the MG inputs then the buck/boost converter to boost up to battery voltage (100S in my case so aroung 415V) but seeing the 300V on the cap in the Yaris inverter has made me think twice.
by doobedoobedo
Mon Jun 29, 2020 7:15 pm
Forum: Toyota/Lexus
Topic: Gen 3 inverter converter control software
Replies: 275
Views: 66919

Re: Gen 3 inverter converter control software

A (potential) warning to anyone who wants to use this a Yaris inverter (as stated in Celeron's GitHub) the dc capacitors are rated at 300v (low) and 650v (high) (as stamped on the capacitor casing - attached). This does also beg the question that if the high side capacitor is 650v then it makes it ...
by doobedoobedo
Mon Jun 22, 2020 9:45 pm
Forum: Toyota/Lexus
Topic: Gen 3 inverter converter control software
Replies: 275
Views: 66919

Re: Gen 3 inverter converter control software

I fear your avoid_explosions function may get optimised away by the compiler.
by doobedoobedo
Sat Jun 20, 2020 10:11 pm
Forum: General
Topic: Weird Speedometer Question
Replies: 72
Views: 11794

Re: Weird Speedometer Question

I take it all back - typos in the datasheet :x

It's now working on timer 2!
by doobedoobedo
Sat Jun 20, 2020 9:32 pm
Forum: General
Topic: Registering and changing tax class of an EV conversion in the UK
Replies: 304
Views: 63216

Re: Registering and changing tax class of an EV conversion in the UK

Thanks for highlighting this Kevin.

The easiest way to contact your MP (you don't even need to know who they are) is through https://www.writetothem.com/?a=westminstermp
by doobedoobedo
Sat Jun 20, 2020 5:31 pm
Forum: General
Topic: Weird Speedometer Question
Replies: 72
Views: 11794

Re: Weird Speedometer Question

OK I had a look at this last night. My original code was for ESP so I looked at porting it to the 328p which I have successfully done - however there is an issue which I'll explain. The 328p has 3 timers: Timer 0 is used by arduino for the millis() function which is needed by the original code. Time...
by doobedoobedo
Wed Jun 17, 2020 8:34 pm
Forum: Toyota/Lexus
Topic: Toyota Auris and Yaris Inverter Logic board
Replies: 140
Views: 40532

Re: Toyota Auris and Yaris Inverter Logic board

Is the Yaris/Auris inverter/converter the same as the Prius-C inverter (apparently also called the Prius AQUA)? Part numbers of Prius-C inverters include G9200-52010/G9201-52011. Thanks My Yaris inverter has a sticker on it which says G9200-52031 if that helps. Also in case anyone is interested it ...
by doobedoobedo
Mon Jun 15, 2020 4:36 pm
Forum: Toyota/Lexus
Topic: Gen 3 inverter converter control software
Replies: 275
Views: 66919

Re: Gen 3 inverter converter control software

Picked up the inverter today. It's considerably more compact than my leaf inverter considering everything that's in there.
by doobedoobedo
Fri Jun 12, 2020 9:02 pm
Forum: Toyota/Lexus
Topic: Gen 3 inverter converter control software
Replies: 275
Views: 66919

Re: Gen 3 inverter converter control software

Ah feck... This is going to get confusing ... I was looking at the Yaris V2 diagram on github. Most of us seem to have Yaris inverters but we are talking on a Prius Inverter thread 🤔 OK I see the Auris V2 schematic on github. Also current sensors on those pins - pretty sure that's the right one now...
by doobedoobedo
Fri Jun 12, 2020 7:09 pm
Forum: Toyota/Lexus
Topic: Gen 3 inverter converter control software
Replies: 275
Views: 66919

Re: Gen 3 inverter converter control software

Lucky you doobedoobedo, I saw that one too, Im on the other side of the country so I paid a little extra for mine, but agreed the Yaris inverters are insanely cheap and I would be very surprised if the inverter was not as powerful as a gen2 prius inverter. Based on JB Schematic (Note to JB the resi...
by doobedoobedo
Fri Jun 12, 2020 11:27 am
Forum: Toyota/Lexus
Topic: Gen 3 inverter converter control software
Replies: 275
Views: 66919

Re: Gen 3 inverter converter control software

No need to send the inverter, in fact I'd rather you kept it. The one I linked is local to me. I can't believe how cheap they are :). I wouldn't say no to a board though, happy to change out the resistors myself. I'm assuming there are current sensors the 328p will have access to, or would it need t...
by doobedoobedo
Thu Jun 11, 2020 11:14 pm
Forum: General
Topic: Weird Speedometer Question
Replies: 72
Views: 11794

Re: Weird Speedometer Question

Sorry I've not been particularly active. Glad your tacho works :).

I have code for outputing any wave pattern on a pin, so 58 then miss 2 isn't a problem. I'll take a look at combining with the other code.
by doobedoobedo
Thu Jun 11, 2020 11:04 pm
Forum: Toyota/Lexus
Topic: Gen 3 inverter converter control software
Replies: 275
Views: 66919

Re: Gen 3 inverter converter control software

I've not really been following the Prius/Yaris stuff, so humour me. Is this the inverter it needs to be coded for? https://www.ebay.co.uk/itm/Genuine-OEM-Toyota-Yaris-Hybrid-G9200-52031-INVERTER-G920052031/114127625920?hash=item1a92895ec0:g:ic4AAOSwtIdc3UVo Would I need any other control boards? I c...
by doobedoobedo
Mon May 18, 2020 11:46 pm
Forum: Projects
Topic: Leaf powered RX8
Replies: 50
Views: 9776

Re: Leaf powered RX8

Not done an update here for a while. I've decided to mount the motor where the transmission used to be. I have metal for the frame arriving tomorrow. Still trying to trick the PCM into thinking the engine is still there. The crank position sensor is a horrible shape and analog, but I'll get there. O...
by doobedoobedo
Thu May 14, 2020 11:47 pm
Forum: General
Topic: Weird Speedometer Question
Replies: 72
Views: 11794

Re: Weird Speedometer Question

Ok i got across the hash and i found my Arduino has some faulty solder on it. I solved that and now i have a twitching speedo. Can you clear up something for me please? I cant turn my wheels fast enough with all the vibrations so i will have to assume everything works. I tried with various settings...
by doobedoobedo
Wed May 13, 2020 8:49 pm
Forum: General
Topic: Weird Speedometer Question
Replies: 72
Views: 11794

Re: Weird Speedometer Question

Everything goes better on the bench.

You've made me look at my waveform generator again (which I'll realease for esp8266 or esp32 depending on which I decide to use) And I think I messed up, so thanks :)

A flavour:
Screenshot_20200513_214809.png
by doobedoobedo
Wed May 13, 2020 7:33 pm
Forum: General
Topic: Weird Speedometer Question
Replies: 72
Views: 11794

Re: Weird Speedometer Question

Is that for your crank position sensor? (the 58/60 hole one) If so for 1000 rpm = 1kHz signal out which could be bit banged on a 16MHz arduino without too much hassle, just turn the pin on or off every 500us, you could even count and miss a couple, If I remember correctly you're passing the signal t...
by doobedoobedo
Wed May 13, 2020 4:33 pm
Forum: General
Topic: Weird Speedometer Question
Replies: 72
Views: 11794

Re: Weird Speedometer Question

If it's doing zero crossing detection you could try putting the output from the arduino through a ceramic capacitor which would give +/- 2.5V square wave. Hi Ron i was wondering, would your second sketch work with dual outputs? For example i would input RPM of the driveshaft to D2 input. Then it wo...
by doobedoobedo
Tue May 12, 2020 1:46 pm
Forum: General
Topic: Weird Speedometer Question
Replies: 72
Views: 11794

Re: Weird Speedometer Question

If it's doing zero crossing detection you could try putting the output from the arduino through a ceramic capacitor which would give +/- 2.5V square wave. If that isn't enough you could amplify the 5V to 12V with a transistor before the cap which would give you +/- 6V. Have you scoped the output fr...
by doobedoobedo
Tue May 12, 2020 11:38 am
Forum: General
Topic: Weird Speedometer Question
Replies: 72
Views: 11794

Re: Weird Speedometer Question

If it's doing zero crossing detection you could try putting the output from the arduino through a ceramic capacitor which would give +/- 2.5V square wave. If that isn't enough you could amplify the 5V to 12V with a transistor before the cap which would give you +/- 6V. Have you scoped the output fro...
by doobedoobedo
Tue May 12, 2020 9:16 am
Forum: General
Topic: Weird Speedometer Question
Replies: 72
Views: 11794

Re: Weird Speedometer Question

If you define source pulses 2, target pulses 12 it will output 6 50% duty cycle pulses per revolution starting after the 2nd full revolution with a single input pulse per revolution. It'll adjust the output period after each subsequent pulse. I'd really recommend using the second sketch I linked to.
by doobedoobedo
Mon May 11, 2020 11:50 pm
Forum: General
Topic: Weird Speedometer Question
Replies: 72
Views: 11794

Re: Weird Speedometer Question

The Arduino sketch below will (should) do what you need. Input pulses go to pin2 output is pin9. It does FP maths but that's OK for the speed it needs to run at. If anyone else wants to use it for a different reason and a different ratio just change SOURCE_PULSES and TARGET_PULSES. You won't get an...
by doobedoobedo
Sun May 10, 2020 5:35 pm
Forum: Classifieds
Topic: Leaf spline coupler
Replies: 85
Views: 19422

Re: Leaf spline coupler

The ghetto Leaf coupler is a Blue Print ADC43101 clutch disc or similar. It fits a bunch of japanese and korean vehicles and is cheap. Damien is using a Fiat Van clutch disc (watch from 2:35) :) Is this the clutch plate? Clutch Plate Fiat Ducato 2500 Turbo Diesel MK1 85-93 Clutch Disk? He mentions ...