Hi power inverter for Nissan leaf motor. Dyno's 302.3hp p15

Electric Motors and Controllers
User avatar
izeman   100 GW

100 GW
Posts: 5107
Joined: Jun 21 2011 8:25am
Location: Vienna, Austria

Re: Hi power high voltage inverter build for nissan leaf mot

Post by izeman » Mar 29 2017 8:53am

Arlo1 wrote:I just noticed you are in Vancouver. when do you want to go for a ride?
damn. never had a bigger wish to be canadian than now! :) unfortunately i'm 8.500km away ...

User avatar
charlesmcnall   1 mW

1 mW
Posts: 17
Joined: Jul 12 2016 1:05pm
Location: SLC, UT

Re: Hi power high voltage inverter build for nissan leaf mot

Post by charlesmcnall » Mar 29 2017 10:05am

hillzofvalp wrote:Luke, you would ditch all Leaf systems in doing that right...? Including the bms which I think limits to around 275A? I want to do the same it just sounds like a huge PITA. Please try! :wink:
I also was planning on swapping the leaf IGBTs and swapping the current sensors also to make it think it was drawing less current.
Do you know if the battery BMS/ current sensor has a battery over current shutdown? or does it purely just limit phase amps?
Electric Ninja 250 http://evalbum.com/preview.php?vid=5243
Lemond Etape 1400W hub motor 48V 15ah - need to make EValbum
6hp Electric snowblower conversion http://evalbum.com/preview.php?vid=5250

User avatar
Arlo1   100 GW

100 GW
Posts: 8420
Joined: Apr 26 2009 10:36pm
Location: Nanaimo
Contact:

Re: Hi power high voltage inverter build for nissan leaf mot

Post by Arlo1 » Mar 29 2017 11:09am

charlesmcnall wrote:
hillzofvalp wrote:Luke, you would ditch all Leaf systems in doing that right...? Including the bms which I think limits to around 275A? I want to do the same it just sounds like a huge PITA. Please try! :wink:
I also was planning on swapping the leaf IGBTs and swapping the current sensors also to make it think it was drawing less current.
Do you know if the battery BMS/ current sensor has a battery over current shutdown? or does it purely just limit phase amps?
Have you seen the guts of a OEM leaf inverter? I don't know of any replacement igbts you can just swap out..... Nissan does a lot of stuff to limit the power you can't trick it very easy.
Does your project need a high performance motor drive, battery charger or other power electronics developed? Let's talk!
www.powerdesigns.ca
Leaf motor controller build. http://endless-sphere.com/forums/viewto ... 27#p963227
YSR build http://www.youtube.com/watch?v=BRo8r5g4NBg
Never above 4.2v never below 2.7v EVER!!!
Support me on Patreon. https://www.patreon.com/user/posts?u=6842045
http://www.undergroundelectrics.ca/

kiwifiat   100 W

100 W
Posts: 264
Joined: Mar 16 2013 5:49pm
Location: Vancouver, Canada

Re: Hi power high voltage inverter build for nissan leaf mot

Post by kiwifiat » Mar 30 2017 12:13am

Arlo1 wrote:
I just noticed you are in Vancouver. when do you want to go for a ride?

I used a motorcycle sprocket and cut the middle out. Its 48tooth If I can make 110km/h ok with 48 I might make it 24 tooth. But I want to be sure I can read at 210-220 km/h. I will try to get time to test this as well. I have a new code splinter has given me I will test a bit more and share.
I would say splinter gets the credit for the code. I just did a bunch of digging on online and found snipits and put them together till I saw the gauges working ;) Then I asked for help when I found that was not good enough. :)
Next time I'm on the island I'll be knocking on your door for sure. At 250km/h a 24 tooth pickup will produce a 908Hz signal which is more than fast enough to calculate speed and it gives 76mm resolution on distance. I am having a play with the nextion IDE and simulator so I should have something next week. I slowed screen updates to 12.5Hz and it still looks pretty good.
“You never know if quotes on the internet are genuine.” - Abraham Lincoln

User avatar
Arlo1   100 GW

100 GW
Posts: 8420
Joined: Apr 26 2009 10:36pm
Location: Nanaimo
Contact:

Re: Hi power high voltage inverter build for nissan leaf mot

Post by Arlo1 » Mar 30 2017 12:30am

Awesome thanks. Today I ground off every second tooth. Part of the reason I want as many teeth as possible is I want to use the speedo to read 0-60 times. I had it up to 160 tonight. More testing tomorrow. After finding some issues with 1 current sensor and the way the signal was getting to the brain I was able to increase the power to 700 phase amps 600 battery and 450 field weakening. At this power I pinned it at 60 and it spun the tires till it hooked up at 100km/h then slamed me into the seat as it rocketed to 160 where I let off the throttle.

Tomorrow I try 750a phase 650a battery and 500a field weakening and slicks ! :)
Does your project need a high performance motor drive, battery charger or other power electronics developed? Let's talk!
www.powerdesigns.ca
Leaf motor controller build. http://endless-sphere.com/forums/viewto ... 27#p963227
YSR build http://www.youtube.com/watch?v=BRo8r5g4NBg
Never above 4.2v never below 2.7v EVER!!!
Support me on Patreon. https://www.patreon.com/user/posts?u=6842045
http://www.undergroundelectrics.ca/

kiwifiat   100 W

100 W
Posts: 264
Joined: Mar 16 2013 5:49pm
Location: Vancouver, Canada

Re: Hi power high voltage inverter build for nissan leaf mot

Post by kiwifiat » Mar 30 2017 1:19am

Arlo1 wrote:Awesome thanks. Today I ground off every second tooth. Part of the reason I want as many teeth as possible is I want to use the speedo to read 0-60 times. I had it up to 160 tonight. More testing tomorrow. After finding some issues with 1 current sensor and the way the signal was getting to the brain I was able to increase the power to 700 phase amps 600 battery and 450 field weakening. At this power I pinned it at 60 and it spun the tires till it hooked up at 100km/h then slamed me into the seat as it rocketed to 160 where I let off the throttle.

Tomorrow I try 750a phase 650a battery and 500a field weakening and slicks ! :)
60 MPH is 96Km/h which equates to 0.0028671875 s between pulses with a 24 tooth wheel and tyre circ of 1.835m Should be easy using micros() to measure the interval in the interrupt routine and report total time elapsed to get your 0-60. I'm really looking forward to a ride!
“You never know if quotes on the internet are genuine.” - Abraham Lincoln

User avatar
Arlo1   100 GW

100 GW
Posts: 8420
Joined: Apr 26 2009 10:36pm
Location: Nanaimo
Contact:

Re: Hi power high voltage inverter build for nissan leaf mot

Post by Arlo1 » Mar 31 2017 2:19am

This is with 0 field weakening... I had tried 750 phase amps and I can't get the slicks to hook up at 750 phase amps no matter how many burnouts I do.
At the track it will be much more sticky so I will hope to turn it up more.
I also auto completed the current menu and forgot the field weakening at 0 So at 100 the current falls off fast. And top speed was 130 anyways it was a fun night.

Strapped the front end as well

Attachments
010.jpg
Before
010.jpg (72.13 KiB) Viewed 3592 times
019.jpg
After
019.jpg (74.27 KiB) Viewed 3592 times
023.jpg
023.jpg (92.57 KiB) Viewed 3592 times
Does your project need a high performance motor drive, battery charger or other power electronics developed? Let's talk!
www.powerdesigns.ca
Leaf motor controller build. http://endless-sphere.com/forums/viewto ... 27#p963227
YSR build http://www.youtube.com/watch?v=BRo8r5g4NBg
Never above 4.2v never below 2.7v EVER!!!
Support me on Patreon. https://www.patreon.com/user/posts?u=6842045
http://www.undergroundelectrics.ca/

User avatar
fechter   100 GW

100 GW
Posts: 15399
Joined: Dec 31 2006 3:23pm
Location: California Bay Area, USA

Re: Hi power high voltage inverter build for nissan leaf mot

Post by fechter » Mar 31 2017 8:31am

Wow, that thing really moves!

What about some kind of automatic traction control to keep it from breaking loose?
"One test is worth a thousand opinions"

User avatar
Arlo1   100 GW

100 GW
Posts: 8420
Joined: Apr 26 2009 10:36pm
Location: Nanaimo
Contact:

Re: Hi power high voltage inverter build for nissan leaf mot

Post by Arlo1 » Mar 31 2017 10:15am

fechter wrote:Wow, that thing really moves!

What about some kind of automatic traction control to keep it from breaking loose?
Thanks

and in time.

Part of why the speed is read from the rear wheel is so I can do traction control.
Does your project need a high performance motor drive, battery charger or other power electronics developed? Let's talk!
www.powerdesigns.ca
Leaf motor controller build. http://endless-sphere.com/forums/viewto ... 27#p963227
YSR build http://www.youtube.com/watch?v=BRo8r5g4NBg
Never above 4.2v never below 2.7v EVER!!!
Support me on Patreon. https://www.patreon.com/user/posts?u=6842045
http://www.undergroundelectrics.ca/

User avatar
HighHopes   10 kW

10 kW
Posts: 886
Joined: Mar 28 2013 6:25pm

Re: Hi power high voltage inverter build for nissan leaf mot

Post by HighHopes » Apr 03 2017 7:54pm

grrr... ontario changed registration rules for homebuilts. now must have all the safety things of modern cars such as electronic stability control. now i have to draw a box in my block diagram to include this. bit of a nanny state over here. hope you register your vehicle before the new rulez apply in BC too!
Does your project need a high performance motor drive? Let's talk!
www.powerdesigns.ca

User avatar
Arlo1   100 GW

100 GW
Posts: 8420
Joined: Apr 26 2009 10:36pm
Location: Nanaimo
Contact:

Re: Hi power high voltage inverter build for nissan leaf mot

Post by Arlo1 » Apr 03 2017 9:15pm

HighHopes wrote:grrr... ontario changed registration rules for homebuilts. now must have all the safety things of modern cars such as electronic stability control. now i have to draw a box in my block diagram to include this. bit of a nanny state over here. hope you register your vehicle before the new rulez apply in BC too!
No need. My insurance guy asked the higher up people at ICBC. They said as long as its got 2 or more original Vin plates/decals it can stay insured as a Honda CRX. But the value for collision will not be more then the book value of the crx. That doesn't matter to me I just put the bare min I need on the car to be allowed on the road.
Does your project need a high performance motor drive, battery charger or other power electronics developed? Let's talk!
www.powerdesigns.ca
Leaf motor controller build. http://endless-sphere.com/forums/viewto ... 27#p963227
YSR build http://www.youtube.com/watch?v=BRo8r5g4NBg
Never above 4.2v never below 2.7v EVER!!!
Support me on Patreon. https://www.patreon.com/user/posts?u=6842045
http://www.undergroundelectrics.ca/

kiwifiat   100 W

100 W
Posts: 264
Joined: Mar 16 2013 5:49pm
Location: Vancouver, Canada

Re: Hi power high voltage inverter build for nissan leaf mot

Post by kiwifiat » Apr 03 2017 10:35pm

I have been playing about with the Nextion editor and simulator and one of things I have noticed is that is really easy to overflow the receive buffer and that once that happens the display does not respond in real time to updates. There is quite a bit of dialog on the Nextion forum about screen updates and it seems that some users have struggles to get more than around 3Hz update rate for more complex gui designs. I setup a mock-up with two gauges and four numerical fields and found that if I update them all at the same time then the display becomes unresponsive. I have added a couple of addition variables to the Nextion design and a timer to trigger requests. The time event is counted and I take a modulus 3 of the count variable and send an update request for the gauges every trigger and an update for the numerical fields once every 3 timer events. This has made the screen much more responsive to updates and the gauges get the priority.

Here is the main loop code I'm running on the arduino end that calls the gauge update function and the numerical field update as requested.

Code: Select all

void loop() {
  byte inByte;
  if (Serial.available()) {   //wait for a data request from nextion display and assign to inByte
    inByte = Serial.read();
   
  }
  if (inByte == 36) {         // if data request is "$" update gauges only
    DashUpdate();
  };

  if (inByte == 33) {         // if data request is "!" update number fields

    LcdUpdate();

  }




}
nextion_data_req_800x.png
nextion_data_req_800x.png (169.31 KiB) Viewed 3509 times
Can you tell me if you have the enhanced Nextion 7" or the standard edition? It is a pity we are not a bit closer as it would be really helpful to have access to the actual Nextion device as I am wondering how well the simulator mimics the real thing.
“You never know if quotes on the internet are genuine.” - Abraham Lincoln

User avatar
Arlo1   100 GW

100 GW
Posts: 8420
Joined: Apr 26 2009 10:36pm
Location: Nanaimo
Contact:

Re: Hi power high voltage inverter build for nissan leaf mot

Post by Arlo1 » Apr 03 2017 11:17pm

kiwifiat wrote:I have been playing about with the Nextion editor and simulator and one of things I have noticed is that is really easy to overflow the receive buffer and that once that happens the display does not respond in real time to updates. There is quite a bit of dialog on the Nextion forum about screen updates and it seems that some users have struggles to get more than around 3Hz update rate for more complex gui designs. I setup a mock-up with two gauges and four numerical fields and found that if I update them all at the same time then the display becomes unresponsive. I have added a couple of addition variables to the Nextion design and a timer to trigger requests. The time event is counted and I take a modulus 3 of the count variable and send an update request for the gauges every trigger and an update for the numerical fields once every 3 timer events. This has made the screen much more responsive to updates and the gauges get the priority.

Here is the main loop code I'm running on the arduino end that calls the gauge update function and the numerical field update as requested.

Code: Select all

void loop() {
  byte inByte;
  if (Serial.available()) {   //wait for a data request from nextion display and assign to inByte
    inByte = Serial.read();
   
  }
  if (inByte == 36) {         // if data request is "$" update gauges only
    DashUpdate();
  };

  if (inByte == 33) {         // if data request is "!" update number fields

    LcdUpdate();

  }




}
nextion_data_req_800x.png
Can you tell me if you have the enhanced Nextion 7" or the standard edition? It is a pity we are not a bit closer as it would be really helpful to have access to the actual Nextion device as I am wondering how well the simulator mimics the real thing.
Cool thanks for looking into this.
Nextion Enhanced NX8048K070 - Generic 7.0'' HMI Touch Display
Its best to play with something loose rather then whats in my car as I daily drive it ;)
Does your project need a high performance motor drive, battery charger or other power electronics developed? Let's talk!
www.powerdesigns.ca
Leaf motor controller build. http://endless-sphere.com/forums/viewto ... 27#p963227
YSR build http://www.youtube.com/watch?v=BRo8r5g4NBg
Never above 4.2v never below 2.7v EVER!!!
Support me on Patreon. https://www.patreon.com/user/posts?u=6842045
http://www.undergroundelectrics.ca/

User avatar
Lebowski   1 GW

1 GW
Posts: 3399
Joined: Jun 28 2011 1:38am
Location: beautiful Zurich, Switzerland

Re: Hi power high voltage inverter build for nissan leaf mot

Post by Lebowski » Apr 04 2017 6:58am

kiwifiat wrote:
nextion_data_req_800x.png
Can you tell me if you have the enhanced Nextion 7" or the standard edition? It is a pity we are not a bit closer as it would be really helpful to have access to the actual Nextion device as I am wondering how well the simulator mimics the real thing.
I see your dial only goes up to a measly 100kW ? :mrgreen:

User avatar
Arlo1   100 GW

100 GW
Posts: 8420
Joined: Apr 26 2009 10:36pm
Location: Nanaimo
Contact:

Re: Hi power high voltage inverter build for nissan leaf mot

Post by Arlo1 » Apr 04 2017 10:32am

Lebowski wrote:
I see your dial only goes up to a measly 100kW ? :mrgreen:
Lol yeah.. I am putting 610-620 amps in at 410v under load with plans to go to 750 amps on this setup.

So the KW gauge would need to be higher.
In fact I might change mine around to have an analog Kw and an analog Amp gauge.
Does your project need a high performance motor drive, battery charger or other power electronics developed? Let's talk!
www.powerdesigns.ca
Leaf motor controller build. http://endless-sphere.com/forums/viewto ... 27#p963227
YSR build http://www.youtube.com/watch?v=BRo8r5g4NBg
Never above 4.2v never below 2.7v EVER!!!
Support me on Patreon. https://www.patreon.com/user/posts?u=6842045
http://www.undergroundelectrics.ca/

User avatar
grindz145   100 MW

100 MW
Posts: 2955
Joined: Apr 07 2009 12:10pm
Location: Rochester NY
Contact:

Re: Hi power high voltage inverter build for nissan leaf mot

Post by grindz145 » Apr 04 2017 11:16am

Arlo1 wrote:
Lebowski wrote:
I see your dial only goes up to a measly 100kW ? :mrgreen:
Lol yeah.. I am putting 610-620 amps in at 410v under load with plans to go to 750 amps on this setup.

So the KW gauge would need to be higher.
In fact I might change mine around to have an analog Kw and an analog Amp gauge.

This is potentially my favorite project on ES, and generally speaking, I frocking hate cars. It's just that badass!

User avatar
liveforphysics   100 GW

100 GW
Posts: 14163
Joined: Oct 29 2008 1:48am
Location: Long Beach, CA, USA

Re: Hi power high voltage inverter build for nissan leaf mot

Post by liveforphysics » Apr 04 2017 2:20pm

grindz145 wrote:
Arlo1 wrote:
Lebowski wrote:
I see your dial only goes up to a measly 100kW ? :mrgreen:
Lol yeah.. I am putting 610-620 amps in at 410v under load with plans to go to 750 amps on this setup.

So the KW gauge would need to be higher.
In fact I might change mine around to have an analog Kw and an analog Amp gauge.

This is potentially my favorite project on ES, and generally speaking, I frocking hate cars. It's just that badass!
+1!
Each carcinogen vapor exposure includes a dice roll for cancer.

Each mutagen vapor exposure includes a dice roll for reproductive genetic defects in your children.

Each engine start sprays them into a shared atmosphere which includes beings not offered an opportunity to consent accepting these cancer experiences and defective genetics life experiences.

Every post is a free gift to the collective of minds composing the living bleeding edge of LEV development on our spaceship.

User avatar
grindz145   100 MW

100 MW
Posts: 2955
Joined: Apr 07 2009 12:10pm
Location: Rochester NY
Contact:

Re: Hi power high voltage inverter build for nissan leaf mot

Post by grindz145 » Apr 04 2017 2:56pm

liveforphysics wrote:
grindz145 wrote:
Arlo1 wrote:
Lebowski wrote:
I see your dial only goes up to a measly 100kW ? :mrgreen:
Lol yeah.. I am putting 610-620 amps in at 410v under load with plans to go to 750 amps on this setup.

So the KW gauge would need to be higher.
In fact I might change mine around to have an analog Kw and an analog Amp gauge.

This is potentially my favorite project on ES, and generally speaking, I frocking hate cars. It's just that badass!
+1!
And I learn that Luke uses ES with the swear filter on .... :lol: :lol: :lol: :twisted: :twisted: :twisted:

kiwifiat   100 W

100 W
Posts: 264
Joined: Mar 16 2013 5:49pm
Location: Vancouver, Canada

Re: Hi power high voltage inverter build for nissan leaf mot

Post by kiwifiat » Apr 04 2017 3:55pm

Arlo1 wrote:
Lebowski wrote:
I see your dial only goes up to a measly 100kW ? :mrgreen:
Lol yeah.. I am putting 610-620 amps in at 410v under load with plans to go to 750 amps on this setup.

So the KW gauge would need to be higher.
In fact I might change mine around to have an analog Kw and an analog Amp gauge.
if you think 100KW is funny you will think this is hilarious:
WattSpeed.png
But then it is only for my A2B. The pointer sweep on the gauge that I am using on the Nextion display is 270 degrees and the scale can read whatever you want. If you tell me what the maximum power delivered by the battery is I can set it up appropriately. In all seriously unless we map out efficiency at each operating point and make adjustments to the power reading we are only measuring power delivered by the battery not power to the road, so it is all just a bit of fun having a visual display of power delivered by the battery. Speed on the other hand is important and we want that to be as accurate as possible.
“You never know if quotes on the internet are genuine.” - Abraham Lincoln

User avatar
Arlo1   100 GW

100 GW
Posts: 8420
Joined: Apr 26 2009 10:36pm
Location: Nanaimo
Contact:

Re: Hi power high voltage inverter build for nissan leaf mot

Post by Arlo1 » Apr 04 2017 4:56pm

Knowing the power into the system is very important to me. If all the sudden it's using power when it's not supposed to that's bad VERY bad. Also if the power is low into the system I need to figure out why. Is it a weak battery ? A bad connection? Cold batteries? Something set wrong in the controller? It's very useful. When I went to race the 370z I forgot to set field weakening to 450amps and I could see the kW fall off at 100km/h...
But also at full throttle at 130km/h it was still using 60kw so I need to look into that as I expected it to be 20-30kw at 130km/h
Does your project need a high performance motor drive, battery charger or other power electronics developed? Let's talk!
www.powerdesigns.ca
Leaf motor controller build. http://endless-sphere.com/forums/viewto ... 27#p963227
YSR build http://www.youtube.com/watch?v=BRo8r5g4NBg
Never above 4.2v never below 2.7v EVER!!!
Support me on Patreon. https://www.patreon.com/user/posts?u=6842045
http://www.undergroundelectrics.ca/

User avatar
Arlo1   100 GW

100 GW
Posts: 8420
Joined: Apr 26 2009 10:36pm
Location: Nanaimo
Contact:

Re: Hi power high voltage inverter build for nissan leaf mot

Post by Arlo1 » Apr 04 2017 4:57pm

liveforphysics wrote:
grindz145 wrote:
Arlo1 wrote:
Lebowski wrote:
I see your dial only goes up to a measly 100kW ? :mrgreen:
Lol yeah.. I am putting 610-620 amps in at 410v under load with plans to go to 750 amps on this setup.

So the KW gauge would need to be higher.
In fact I might change mine around to have an analog Kw and an analog Amp gauge.

This is potentially my favorite project on ES, and generally speaking, I frocking hate cars. It's just that badass!
+1!
;) Thanks guys. It's my favorite thread too :)
More to come for sure.
Does your project need a high performance motor drive, battery charger or other power electronics developed? Let's talk!
www.powerdesigns.ca
Leaf motor controller build. http://endless-sphere.com/forums/viewto ... 27#p963227
YSR build http://www.youtube.com/watch?v=BRo8r5g4NBg
Never above 4.2v never below 2.7v EVER!!!
Support me on Patreon. https://www.patreon.com/user/posts?u=6842045
http://www.undergroundelectrics.ca/

kiwifiat   100 W

100 W
Posts: 264
Joined: Mar 16 2013 5:49pm
Location: Vancouver, Canada

Re: Hi power high voltage inverter build for nissan leaf mot

Post by kiwifiat » Apr 06 2017 10:44pm

Arlo1 wrote:Knowing the power into the system is very important to me. If all the sudden it's using power when it's not supposed to that's bad VERY bad. Also if the power is low into the system I need to figure out why. Is it a weak battery ? A bad connection? Cold batteries? Something set wrong in the controller? It's very useful. When I went to race the 370z I forgot to set field weakening to 450amps and I could see the kW fall off at 100km/h...
But also at full throttle at 130km/h it was still using 60kw so I need to look into that as I expected it to be 20-30kw at 130km/h
This should satisfy the lust for speed and power:
Arlo_300KW.PNG
Arlo_300KW.PNG (115.44 KiB) Viewed 3407 times
“You never know if quotes on the internet are genuine.” - Abraham Lincoln

User avatar
Arlo1   100 GW

100 GW
Posts: 8420
Joined: Apr 26 2009 10:36pm
Location: Nanaimo
Contact:

Re: Hi power high voltage inverter build for nissan leaf mot

Post by Arlo1 » Apr 06 2017 10:53pm

Lol cool. I will work on mine more later. I like the see though background.
you will notice they don't like to start at 0 lol. Takes some math to make that work.

Also I need to get my amp gauge to zero when I first turn the car on. I will try giving the current sensor a clean regulated 5v exactly first as right now I am letting it get 5v from the arduino supply. That should help a lot.
Does your project need a high performance motor drive, battery charger or other power electronics developed? Let's talk!
www.powerdesigns.ca
Leaf motor controller build. http://endless-sphere.com/forums/viewto ... 27#p963227
YSR build http://www.youtube.com/watch?v=BRo8r5g4NBg
Never above 4.2v never below 2.7v EVER!!!
Support me on Patreon. https://www.patreon.com/user/posts?u=6842045
http://www.undergroundelectrics.ca/

kiwifiat   100 W

100 W
Posts: 264
Joined: Mar 16 2013 5:49pm
Location: Vancouver, Canada

Re: Hi power high voltage inverter build for nissan leaf mot

Post by kiwifiat » Apr 06 2017 11:09pm

Arlo1 wrote:Lol cool. I will work on mine more later. I like the see though background.
you will notice they don't like to start at 0 lol. Takes some math to make that work.

Also I need to get my amp gauge to zero when I first turn the car on. I will try giving the current sensor a clean regulated 5v exactly first as right now I am letting it get 5v from the arduino supply. That should help a lot.
Yes it is strange that the pointer starts at 3 O'clock on the nextion, it is the same with java and I wouldn't be surprised that the arm cpu used on the nextion is running embedded java. I can give you any background you want just pm me the image you want. I set the resolution to 800x480 that matches the nextion version you have. Also some options for the color of the gauge faces and some with integrated LCD's. I should get a chance to test your interrupt code over the next few days or so.
“You never know if quotes on the internet are genuine.” - Abraham Lincoln

kiwifiat   100 W

100 W
Posts: 264
Joined: Mar 16 2013 5:49pm
Location: Vancouver, Canada

Re: Hi power high voltage inverter build for nissan leaf mot

Post by kiwifiat » Apr 06 2017 11:14pm

Take a look at this site and let me know if anything suits:

https://harmoniccode.blogspot.ca/2010/0 ... brary.html
“You never know if quotes on the internet are genuine.” - Abraham Lincoln

Post Reply