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 06-07-2009, 09:03 PM   #1611 (permalink)
EcoModder Student
 
esoneson's Avatar
 
Join Date: Nov 2008
Location: Youngsville, NC
Posts: 117
Thanks: 11
Thanked 12 Times in 11 Posts
Quote:
Originally Posted by dcb View Post
too picky
Ever notice that esoneson spelled backwards is nose nose..........no picky.

"I swear it was only a scratch!" Seinfeld

__________________
1995 BMW 318i EV in the making
  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 06-07-2009, 09:18 PM   #1612 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location:
Posts: 5,038

pimp mobile - '81 suzuki gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Volkswagen Golf TDI
90 day: 53.56 mpg (US)
Thanks: 158
Thanked 267 Times in 210 Posts
LOL, not sure I get that, but it is a funny reference

I just have to say that Paul, you are a case study in patience, grace, and perseverance.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Old 06-07-2009, 09:38 PM   #1613 (permalink)
EcoModding Apprentice
 
Join Date: May 2009
Location: Australia
Posts: 109
Thanks: 0
Thanked 1 Time in 1 Post
He is doing good, it was a bold step taking this on. Got to admire that.
  Reply With Quote
Old 06-07-2009, 09:43 PM   #1614 (permalink)
EcoModding Lurker
 
Join Date: Jun 2009
Location: Toronto, Ontario, Canada
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by patx View Post

On the BOM, the cristal is not listed... what is the part number ?!?

...

Can you please update wiki with all latest file...
patx: there is an svn repository...I added a link to it in the software section of the wiki. You should be able to pull the latest files out of there because I think Paul has been keeping it updated.
I believe that the part number for the crystal was given at some point in the thread, but I can't find it right now...we should remember to update the wiki if we find it.
  Reply With Quote
Old 06-07-2009, 10:25 PM   #1615 (permalink)
EcoModding Apprentice
 
Join Date: May 2009
Location: Australia
Posts: 109
Thanks: 0
Thanked 1 Time in 1 Post
This is from the latest file in the repository.

In the main() function

sei(); // Enable interrupts

while (1) { // do this forever
cSREG = SREG; /* store SREG value */
cli(); // disable interrupts


I was just wondering where the interrupts get turned on again. Obviously they are else it would not work, I just can't find it
  Reply With Quote
Old 06-07-2009, 10:26 PM   #1616 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,831

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,367
Thanked 1,115 Times in 730 Posts
I am a case study in Rivest, Shamir & Adleman too! (hehe. P.G.P.)

There are a couple problems with the current control boards that were just ordered, and that are undergoing testing. First, switch Pin 2 and Pin 3 of the LM 393. Next, the holes for Q1, Q2, Q3, U10, J2, J3, J4 are too small after the PCB company added the tinning layer. The gerber files will all be fixed soon, so anyone wanting to build their own based on the currently available gerber files may not want to send those in just yet.

I need to convert the most recent schematic to the program that I have, which is ExpressSCH. Then I'll update the changes for Pin 2 and Pin 3 of the LM393 comparator. Also, C23 and C24 should be 20pF instead of 15pF. Also, I'm going to try 20 Ohm gate resistors (0.25 watt, metal film, 1%) instead of 30 Ohm. 30 Ohm is unnecessarily large.

P/N for crystal:
FOXLF160-20 from Mouser.com

P/N for C23 and C24:
140-50N2-200J-RC from Mouser.com
__________________
kits and boards

Last edited by MPaulHolmes; 06-07-2009 at 10:35 PM..
  Reply With Quote
Old 06-07-2009, 10:30 PM   #1617 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,831

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,367
Thanked 1,115 Times in 730 Posts
SREG = cSREG;

is when they get turned back on again. cSREG is an unsigned byte, so when I do the following when the interrupts are enabled:

cSREG = SREG;

The state of all the status registers is saved.

And when I do:

SREG = cSREG;
The status register gets put back just how it was before doing cli(); This re-enables the interrupts.
__________________
kits and boards
  Reply With Quote
Old 06-07-2009, 10:31 PM   #1618 (permalink)
EcoModding Apprentice
 
Join Date: May 2009
Location: Australia
Posts: 109
Thanks: 0
Thanked 1 Time in 1 Post
Nice.

You just reminded me of something I had completely forgotten.
Back in the days....when we first started using PCB CAD (protel) we made the same hole size mistakes....many times, quite often it was because the standard library parts were wrong (often it was user error). Eventually we built up our own library of component footprints. Also learned to check things thrice whenever creating a new component!!
  Reply With Quote
Old 06-07-2009, 10:49 PM   #1619 (permalink)
EcoModding Apprentice
 
Join Date: May 2009
Location: Orrville, Ohio
Posts: 108
Thanks: 9
Thanked 2 Times in 2 Posts
Thumbs up Apology

Quote:
Originally Posted by squiggles View Post
"The Wombat has turned into a POSSUM!!!!"

Why such an Australian flavour? I know this is a multinational effort but calling anything a wombat is a bit rough. Actually I knew a girl we called Wombat but that is a story for a different forum...
Am sorry if I offended. I was reading the "name the controller contest"thread and someone submitted that name and included a picture. He was a cute fellow, and being a person that likes animals, I took to it. I don't know anything about them, or where they live, so again I am sorry if I upset anyone. Am reading along the thread, and I believe I am learning about electronics. Keep up the good work. Take care, Watt
  Reply With Quote
Old 06-07-2009, 10:54 PM   #1620 (permalink)
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,831

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,367
Thanked 1,115 Times in 730 Posts
I finally figured out how to update the wiki (a tiny bit). I added the crystal. Also changed C23 and C24 to 20pF and updated part number for them.

By the way, the wombat was my favorite picture. That really stuck with me. We should call at least one of the versions the wombat! I also don't know what one is.

EDIT: Thrice! Good word!

(from the old show, the Golden Girls)
Miami is Nice, so I'll say it thrice, miami is nice, miami is nice.

Miami, you are cuter than... an Inter-******.

__________________
kits and boards

Last edited by MPaulHolmes; 06-07-2009 at 11:01 PM..
  Reply With Quote
Reply  Post New Thread


Thread Tools


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 3471 06-01-2020 10:53 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 - 2020, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com