Go Back   EcoModder Forum > EcoModding > Fossil Fuel Free
Register Now
 Register Now
 

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 06-20-2009, 08:01 PM   #21 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,368
Thanked 1,202 Times in 765 Posts
You guys are awesome! Keep it up!

__________________
kits and boards
  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 06-21-2009, 11:17 PM   #22 (permalink)
EcoModding Lurker
 
Join Date: Jun 2009
Location: Ontario, Canada
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Is the PWM duty going to be returned with a value of 0 to 100 ......percent duty cycle

no point having the scale go to 512 if its only ever going to go to 100...

Cheers,

Trevor
  Reply With Quote
Old 06-22-2009, 12:20 AM   #23 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,368
Thanked 1,202 Times in 765 Posts
Right now the pwm duty has a resolution of 512, but the accuracy is only maybe 7 or 8 bits. I'm planning on increasing the accuracy (since there's now time because there are no while(); stuff during A/D conversions. So, if the resolution is greater than 8 bits, will that be a problem with the software that's assuming 8 bits? Or will there be a conversion to 8 bit, or should I cut it out with the 9 bit resolution stuff?
__________________
kits and boards
  Reply With Quote
Old 06-22-2009, 05:49 AM   #24 (permalink)
EcoModding Lurker
 
Join Date: May 2009
Location: Bucharest,RO and Copenhagen,DK
Posts: 42
Thanks: 0
Thanked 1 Time in 1 Post
The software now is sending/receiving 16 bit values. Values up to 15 bit will work since we need a sync bit. With the sync values we are using now (0xF0) you can go up to 12bit before we need to change that
__________________
_____________________________________________

http://svn.fastdigitech.ro/trac/openrevolt/browser

http://svn.fastdigitech.ro/repos/openrevolt
  Reply With Quote
Old 06-22-2009, 06:13 AM   #25 (permalink)
EcoModding Lurker
 
Join Date: Jun 2009
Location: Ontario, Canada
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
ah, ok, I understand.

ya the client is just the slave......it can do anything you need.

that being said do we want to translate that into a % duty cycle on the client side?
  Reply With Quote
Old 06-22-2009, 10:42 PM   #26 (permalink)
EcoModding Lurker
 
Join Date: Apr 2009
Location: Melbourne, Australia
Posts: 21
Thanks: 1
Thanked 0 Times in 0 Posts
Awesome work guys! Keep it up.
I will be watching this with interest, could be very interesting to have this running on board.
  Reply With Quote
Old 06-22-2009, 11:25 PM   #27 (permalink)
EcoModding Lurker
 
Join Date: Jun 2009
Location: Ontario, Canada
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Writing to CSV

I think I have a few more things nailed down.

-write to file is done.....writes to csv (Comma delimited)
-Auto Scale or fixed 0-512
-Cleaned some things up a little
-add some more comments.
-Changed suffix to match Charlies change...


Write to File, eg. Graph in Excel

Cheers,

Trevor

  Reply With Quote
Reply  Post New Thread


Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Paul & Sabrina's cheap DIY 144v motor controller MPaulHolmes Open ReVolt: open source DC motor controller 7381 08-02-2023 10:55 PM
Ben Nelson's Electro-Metro Build thread bennelson Fossil Fuel Free 1499 12-22-2019 07:24 PM
Longtime Lurker Looking for Miles ZX40 Electric Micro van mods & information rmay635703 Fossil Fuel Free 49 07-06-2014 10:27 PM
Hybrid PWM/Contactor controller turbo-boost bennelson Fossil Fuel Free 24 05-12-2011 10:26 AM
Fun with Voltage Controller Heatsinks Dradus Fossil Fuel Free 14 05-02-2008 03:16 PM



Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com