Go Back   EcoModder Forum > EcoModding > Fossil Fuel Free > Open ReVolt: open source DC motor controller
Register Now
 Register Now
 

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 03-16-2012, 12:22 PM   #5561 (permalink)
EcoModding Apprentice
 
Join Date: Oct 2009
Location: Jyvaskyla, Finland
Posts: 143

Golfwagen - '89 Volkswagen Golf mk2
90 day: 107.14 mpg (US)
Thanks: 47
Thanked 35 Times in 28 Posts
Cool. You could drill some holes to the sides of that clear plastic, put leds there and illuminate the logo that way. Should look nice under the hood, especially if it is dark.


Last edited by mora; 03-16-2012 at 02:25 PM.. Reason: forgot to mention leds, hehehe.
  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 03-16-2012, 01:06 PM   #5562 (permalink)
EcoModding Apprentice
 
Join Date: Mar 2011
Location: alaska
Posts: 141
Thanks: 10
Thanked 37 Times in 19 Posts
Please please please don't use plexiglas for your enclosure. Use polycarbonate. The difference in strength is orders of magnitude. Plexiglass will shatter just trying to drill it. Polycarbonate is more expensive, but it's essentially indestructible. I used makralon for my enclosure and other boxes. To fasten it together, I drilled and tapped 6-32 holes into the edges and used hex head screws. I'm confident that I could drop my controller from any height and it would survive without a scratch
  Reply With Quote
The Following 2 Users Say Thank You to isaac_alaska For This Useful Post:
adamj12b (03-16-2012), mrbigh (03-26-2012)
Old 03-16-2012, 01:15 PM   #5563 (permalink)
EV test pilot
 
bennelson's Avatar
 
Join Date: Jan 2008
Location: Oconomowoc, WI, USA
Posts: 4,435

Electric Cycle - '81 Kawasaki KZ440
90 day: 334.6 mpg (US)

S10 - '95 Chevy S10
90 day: 30.48 mpg (US)

Electro-Metro - '96 Ben Nelson's "Electro-Metro"
90 day: 129.81 mpg (US)

The Wife's Car - Plug-in Prius - '04 Toyota Prius
90 day: 78.16 mpg (US)
Thanks: 17
Thanked 663 Times in 388 Posts
No, in this case I was really just using "plexiglass" as a generic term for rigid clear plastic. I know that there are a lot of different types of clear plastics, and I'll need to figure out which one I want to use for the final project.

I'll also have to figure out the thickness for if I really do want to edge-light with LEDs, which I think would be really cool.
__________________


300mpg.org Learn how to BUILD YOUR OWN ELECTRIC CAR CHEAP
My YouTube Videos
  Reply With Quote
Old 03-16-2012, 01:23 PM   #5564 (permalink)
EcoModding Apprentice
 
Join Date: Mar 2011
Location: alaska
Posts: 141
Thanks: 10
Thanked 37 Times in 19 Posts
oh okay. scared me for a second there...haha. i used 1/4" and .177 and 1/8 for my case. .177 is thick enough to drill and tap for 6-32 screws if you're reallly careful to get them straight up and down. a mill works great for it..or a good vise on a drill press.
  Reply With Quote
Old 03-16-2012, 01:49 PM   #5565 (permalink)
EcoModding Apprentice
 
Join Date: Nov 2010
Location: Annapolis
Posts: 159
Thanks: 0
Thanked 32 Times in 27 Posts
Quote:
Originally Posted by MPaulHolmes View Post
Oh it could be pretty much any pin you want to use. I think Damien's used pin b4 or b5, but I forgot. It would take like 10 seconds to find and replace the pin in the code, so it's no big deal.
Which firmware has tachometer input support? I didn't realise that it had been added.

When we added tachometer code I tried several approaches. I found that using an input capture pin was easiest. The hardware input filter is significant plus when you consider what would otherwise need to be done to work around a slightly noisy input. Requiring a specific type of pin isn't as flexible, but it's worth the limitation.

BTW, the add-on OBD2/CAN reporting code is available from Google Code. It requires a MCP2515 board added to the SPI/programming header. I haven't updated it recently, but it should still link into the Cougar code with a single line change.
  Reply With Quote
The Following User Says Thank You to DJBecker For This Useful Post:
MPaulHolmes (03-16-2012)
Old 03-16-2012, 03:57 PM   #5566 (permalink)
Master EcoModder
 
jackbauer's Avatar
 
Join Date: Sep 2009
Location: Ireland
Posts: 734
Thanks: 26
Thanked 304 Times in 171 Posts
I have a special version of the code that supports tach input with 2 pulses per rev (4 cyl). Its accurate to about 150rpm and has saved me on many the occasion from an overspeed. The hardware is comprised of a 4v7 zener , 2k2 resistor and a .1uf ceramic on one of the icsp pins (forget which one!). A later code also has brake input in a similar fashion.
__________________
Now, Cole, when you shift the gear and that little needle on the ammeter goes into the red and reads 2000 Amps, that's bad.
www.evbmw.com
  Reply With Quote
Old 03-16-2012, 04:03 PM   #5567 (permalink)
EcoModding Apprentice
 
Join Date: Mar 2011
Location: alaska
Posts: 141
Thanks: 10
Thanked 37 Times in 19 Posts
any chance you can get a picture of the different stuff you had to add? i'm guessing the zener diode is placed so the input to the microcontroller never goes higher than the zener voltage? and then the 2.2k resistor would be used as a current limiter into the pin? i think your code would work perfect for my controller, as my speed sensor is already attached to the motor and supplies two pules per revolution. (it's currently being fed to the BMS to display speed and watthours/mile, but i should be able to splice this line to the motor controller no problem)
  Reply With Quote
Old 03-16-2012, 08:04 PM   #5568 (permalink)
EcoModding Apprentice
 
Join Date: Nov 2010
Location: Annapolis
Posts: 159
Thanks: 0
Thanked 32 Times in 27 Posts
Quote:
Originally Posted by jackbauer View Post
I have a special version of the code that supports tach input with 2 pulses per rev (4 cyl). Its accurate to about 150rpm and has saved me on many the occasion from an overspeed. The hardware is comprised of a 4v7 zener , 2k2 resistor and a .1uf ceramic on one of the icsp pins (forget which one!). A later code also has brake input in a similar fashion.
Ahh, a "did something screw up" check is less demanding than trying to track RPM accurately enough to report over OBD2 and use for constant-RPM operation (cruise control or PTO/idle mode).
  Reply With Quote
Old 03-16-2012, 08:08 PM   #5569 (permalink)
EcoModding Apprentice
 
Join Date: Mar 2011
Location: alaska
Posts: 141
Thanks: 10
Thanked 37 Times in 19 Posts
yeah, that's all i need. something that will limit RPM to less than 7,200. Just enough to keep the motor from blowing itself apart.
  Reply With Quote
Old 03-17-2012, 04:38 AM   #5570 (permalink)
Master EcoModder
 
jackbauer's Avatar
 
Join Date: Sep 2009
Location: Ireland
Posts: 734
Thanks: 26
Thanked 304 Times in 171 Posts
Yeh that's how the circuit works Isaac. It reports rpm over rs232 along with the normal controller data and rpm limit is also programmable over rs232. Oh and happy St.Patrick's day everyone

__________________
Now, Cole, when you shift the gear and that little needle on the ammeter goes into the red and reads 2000 Amps, that's bad.
www.evbmw.com
  Reply With Quote
Reply  Post New Thread




Similar Threads
Thread Thread Starter Forum Replies Last Post
Paul and Sabrina's Cheap 3 Phase Inverter (AC Controller) with Field Oriented Control MPaulHolmes Fossil Fuel Free 3480 05-04-2022 05:43 PM
Paul & Sabrina's Cheap EV Conversion MPaulHolmes Fossil Fuel Free 542 11-12-2016 09:09 PM
Three Dirt Cheap DIY Electric Cars - Part 5 SVOboy EcoModder Blog Discussion 0 12-12-2008 04:10 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