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 05-31-2009, 06:27 PM   #1511 (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
Those sound like good variable names. I did global for everything at first because I wasn't sure what I wanted to be local, and I didn't want to re-initialize variables each time. It's a practice that old school 3d video game programmers, a la Andree Lamothe, did in the late 80's & early 90s.

I believe the interrupts are re-enabled by resetting the SREG register to what it was before disabling interrupts, rather than using sti(). It works in the simulator, as far as I can tell, but in the car, even the high pedal lockout isn't working! I think there is a fundamental problem with the old hardware from the blown up control section. Voltage spikes are now much worse in the control section than when I first tested it on the first controller that blew up. I really don't think the software is all to blame. I can't really do much until I get a new oscilloscope, which will be very soon, either by a friend that's checking on some for me, or by getting another on Ebay.

__________________
kits and boards
  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 05-31-2009, 06:39 PM   #1512 (permalink)
EvEagle
 
Join Date: Apr 2009
Location: Lansing, MI
Posts: 40
Thanks: 0
Thanked 5 Times in 4 Posts
Paul, have you thought about a USB oscilloscope? There's one on Ebay for $70 buy it now.. 4 channel

USB PC OSCILLOSCOPE - eBay (item 260419612432 end time Jun-08-09 16:31:36 PDT)

Evan
  Reply With Quote
Old 05-31-2009, 06:59 PM   #1513 (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
Hey edown! I WAS thinking of getting a USB oscilloscope... Weird... I wasn't sure how good they are, but I bet they work well.
__________________
kits and boards
  Reply With Quote
Old 06-01-2009, 05:47 AM   #1514 (permalink)
EcoModding Lurker
 
Join Date: May 2009
Location: Bucharest,RO and Copenhagen,DK
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by MPaulHolmes View Post
...

EDIT: Hey, I think I sent it! I had to go to REPO BROWSER. Duh! hahaha! Then I dragged and dropped (which I never do, I was desperate) the file onto the REPO BROWSER.
Using the REPO BROWSER is the way to work DIRECTLY on the server. You are not supposed to do that normally ...

It sounds like you skipped the first part of the how to I've sent you: SVN CHECKOUT. The option you are looking for (COMMIT) appears only in "special" local directories that you create using checkout. Check this out :
Attached Thumbnails
Click image for larger version

Name:	svnSTEP1.jpg
Views:	65
Size:	52.2 KB
ID:	3632   Click image for larger version

Name:	svnSTEP2.jpg
Views:	62
Size:	66.1 KB
ID:	3633   Click image for larger version

Name:	svnSTEP3.jpg
Views:	61
Size:	91.7 KB
ID:	3634   Click image for larger version

Name:	svnSTEP4.jpg
Views:	53
Size:	56.8 KB
ID:	3635   Click image for larger version

Name:	svnSTEP5.jpg
Views:	52
Size:	67.8 KB
ID:	3636  


Last edited by charlie_fd; 06-01-2009 at 05:50 AM.. Reason: minor spelling mistakes
  Reply With Quote
Old 06-02-2009, 02:30 AM   #1515 (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
Thanks, Charlie. I think I get it now. Before I was checking out, which was making that directory with the little green thing on it, but I wasn't going in there. I was just then trying to send the project from where I was working on it.

Oh the humanity... I soldered on a big capacitor on the output of the DC-DC, which made the signal cleaner. The oscilloscope sort of healed itself, but is still really flickery. It's days may be numbered. The control section had a bad mosfet driver, and now it has other bad stuff too. It's just acting strange. I need a new control section! Fortunately, the 3 control section boards are all done, and are on their way to the engineer for assembly and testing.
__________________
kits and boards
  Reply With Quote
Old 06-02-2009, 09:04 AM   #1516 (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
Quote:
Originally Posted by MPaulHolmes View Post
I believe the interrupts are re-enabled by resetting the SREG register to what it was before disabling interrupts, rather than using sti().
That usually works, but it is only necessary when enabling interrupts from within a function that is going to be called from both interrupt enabled code and interrupt disabled code.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Old 06-02-2009, 11:45 PM   #1517 (permalink)
Losing the MISinformation
 
Intrigued's Avatar
 
Join Date: Oct 2008
Location: Southern Missouri
Posts: 393

Quad Cam - '00 Oldsmobile Intrigue GX
Last 3: 25.94 mpg (US)
Thanks: 15
Thanked 3 Times in 3 Posts
Quote:
Originally Posted by MPaulHolmes View Post
It's days may be numbered.
29... 28... 27...

You guys may as well be working on HAL for all the help I could be. I guess I'll just stay up in the nosebleed section and watch with my binocs...
__________________


The brake pedal is my enemy. The brake pedal is my enemy. The brake pedal...
  Reply With Quote
Old 06-03-2009, 12:04 AM   #1518 (permalink)
Deadly Efficient
 
Tango Charlie's Avatar
 
Join Date: Jun 2008
Location: Goshen, Indiana
Posts: 1,234

Olivia - '03 Pontiac Vibe base
90 day: 36.01 mpg (US)

R2-D2 - '00 Honda Insight
90 day: 58.81 mpg (US)
Thanks: 132
Thanked 175 Times in 91 Posts
There's plenty of room up here for ya, Intrigued.

Come to the nosebleed section... we have peanuts!
__________________
-Terry
  Reply With Quote
Old 06-03-2009, 12:04 AM   #1519 (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
Speaking of HAL (well, hell. haha!), want to hear a funny story, Intrigued? Our church decided to have another service at a movie theater near my house, so it's easier to go there since it's so close. They have it in the same room that they show "Drag Me To Hell"! haha. So, when people are looking for the right room, the usher people say, "Oh it's in the drag me to hell room"

haha!
__________________
kits and boards
  Reply With Quote
Old 06-03-2009, 12:47 AM   #1520 (permalink)
Losing the MISinformation
 
Intrigued's Avatar
 
Join Date: Oct 2008
Location: Southern Missouri
Posts: 393

Quad Cam - '00 Oldsmobile Intrigue GX
Last 3: 25.94 mpg (US)
Thanks: 15
Thanked 3 Times in 3 Posts
LOL! I'd rather they drag me AWAY from hell...

Hey, TC! Thinking about peanuts... back in the '70s when I was helping build our city football stadium we'd stop at the gas station on the way out, and buy a bottle of Pepsi and a bag of Peanuts. Then at break time we'd open the peanuts and pour them into the Pepsi...

...(Homer Simpson voice)... MMMMmmmm.... Peanuts and Pepsi...

__________________


The brake pedal is my enemy. The brake pedal is my enemy. The brake pedal...
  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 11:53 PM
Paul & Sabrina's Cheap EV Conversion MPaulHolmes Fossil Fuel Free 542 11-12-2016 10:09 PM
Three Dirt Cheap DIY Electric Cars - Part 5 SVOboy EcoModder Blog Discussion 0 12-12-2008 05: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