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-03-2009, 01:21 AM   #1521 (permalink)
Moderate your Moderation.
 
Join Date: Nov 2008
Location: Troy, Pa.
Posts: 8,919

Pasta - '96 Volkswagen Passat TDi
90 day: 45.22 mpg (US)
Thanks: 1,369
Thanked 430 Times in 353 Posts
Quote:
Originally Posted by Intrigued View Post
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...
Hardware Abstraction Layer?... Just repair install... and then you're fine.

Unless you're talking about that computer in that one movie...

__________________
"¿ʞɐǝɹɟ ɐ ǝɹ,noʎ uǝɥʍ 'ʇı ʇ,usı 'ʎlǝuol s,ʇı"


Last edited by Christ; 06-03-2009 at 01:32 AM..
  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 06-03-2009, 07:31 AM   #1522 (permalink)
EcoModding Lurker
 
Join Date: Jan 2009
Location: Russia
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
I've sugest you great tool - USB Logic Analyzer

SparkFun Electronics - USB Logic Analyzer

Check out the video of the Logic Analyzer in action
Logic Videos
  Reply With Quote
Old 06-03-2009, 09:51 AM   #1523 (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 Christ View Post
Hardware Abstraction Layer?... Just repair install... and then you're fine.

Unless you're talking about that computer in that one movie...
2001: A Space Odyssey

HAL 9000 (Heuristically programmed ALgorithmic Computer)

NOT a one-letter shift from IBM...

Became operational on Jan 12, 1992 (1997 in the book)

One of the greatest movies of all time... until that last 10 minutes or so...

Can read your thoughts through your computer, and is glad you edited your remark...
Attached Thumbnails
Click image for larger version

Name:	Hal-9000.jpg
Views:	49
Size:	3.1 KB
ID:	3640  
__________________


The brake pedal is my enemy. The brake pedal is my enemy. The brake pedal...
  Reply With Quote
Old 06-03-2009, 12:19 PM   #1524 (permalink)
Master EcoModder
 
Join Date: Jun 2008
Location: London, Ontario
Posts: 1,096

2k2Prot5 - '02 Mazda Protege5
90 day: 33.82 mpg (US)
Thanks: 0
Thanked 17 Times in 14 Posts
Quote:
Originally Posted by motor_control View Post
I've sugest you great tool - USB Logic Analyzer

SparkFun Electronics - USB Logic Analyzer

Check out the video of the Logic Analyzer in action
Logic Videos
I have used this and it is spectacular. However, it is useless for analog stuff. It is best suited to digital timing analysis and logging communication over I2C, SPI, UART, etc, or watching parallel busses pass information.

Paul could use it to watch the UART, the PWM output from the cpu (NOT THE DRIVER) and the hardware current limit. That's about all.
  Reply With Quote
Old 06-03-2009, 01:30 PM   #1525 (permalink)
EcoModding Lurker
 
slurryguy's Avatar
 
Join Date: Feb 2009
Location: MO
Posts: 37
Thanks: 0
Thanked 3 Times in 2 Posts
When will one of you electronics savants come up with an ILLOGIC ANALYZER and an interface to attach it to the female brain?

I have so many questions that such a device might help answer. So much that I don't understand. I know I'm not the only guy that would appreciate more precise understanding about how women think than the Magic 8 Ball can provide.
  Reply With Quote
Old 06-03-2009, 01:31 PM   #1526 (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 269 Times in 212 Posts
Quote:
Originally Posted by MazdaMatt View Post
Paul could use it to watch the UART
Well, he *could*, though I would strongly suggest a serial terminal program or serial device for watching the UART
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Old 06-03-2009, 01:38 PM   #1527 (permalink)
Master EcoModder
 
Join Date: Jun 2008
Location: London, Ontario
Posts: 1,096

2k2Prot5 - '02 Mazda Protege5
90 day: 33.82 mpg (US)
Thanks: 0
Thanked 17 Times in 14 Posts
Yes, he could - unless it wasn't working correctly. Then he'd need the logic analyzer or a scope to find out why. The logic analyzer has a nice feature called "automatic baud rate detection" that can give you a quick answer to dead com if you've made a simple divider mistake.

I have also used that personally to solve a UART problem - but it was between two electronic devices, rather than a board and a computer. There was a problem with the message encapsulation resulting in ignored messages and this tool quickly found that issue for me.
  Reply With Quote
Old 06-03-2009, 02:22 PM   #1528 (permalink)
EcoModding Lurker
 
Wherewolf's Avatar
 
Join Date: Apr 2009
Location: Oryeegone
Posts: 28
Thanks: 0
Thanked 1 Time in 1 Post
Wink

Quote:
Originally Posted by slurryguy View Post
When will one of you electronics savants come up with an ILLOGIC ANALYZER and an interface to attach it to the female brain?

I have so many questions that such a device might help answer. So much that I don't understand. I know I'm not the only guy that would appreciate more precise understanding about how women think than the Magic 8 Ball can provide.
You're facing a hopeless situation there, my friend.....I've determined that the female brain is wired such that 2 + 2 = 32.5 + "that time 6 years ago, when we were at that party and you humiliated me in front of my friends when you made that rude comment about the size of my butt during my pregnancy....you a-hole!"
See how simple it is? The term "logic" simply does not apply...

Just kidding ladies....I mean no offense to any female ecomodders out there. If you're an ecomodder your brains are obviously wired correctly.

Sorry - off thread....
Wherewolf
  Reply With Quote
Old 06-03-2009, 08:33 PM   #1529 (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,362
Thanked 1,202 Times in 765 Posts
You guys are going to get me into trouble! Sabrina reads this sometimes! hahaha!

I'm ordering the parts for the power sections for the 3 controllers probably tomorrow. I just have to wait until the remaining money gets into the bank account from Paypal. Man, I sure love Paypal, and I'm not being sarcastic at all. The parts won't be here until after June 22, though! haha! Stupid Digikey is almost out of the mosfets again. They only have 11, and I need to order 25 to get the cheaper price, so they will get more on June 22.

Hey, the control boards should be to the engineer by tomorrow! ya!
__________________
kits and boards

Last edited by MPaulHolmes; 06-03-2009 at 09:18 PM..
  Reply With Quote
Old 06-04-2009, 01:17 AM   #1530 (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 269 Times in 212 Posts
Paul, not sure if this is working yet, couple comments on the conversion:
/trunk/HighVoltageControllerRefactoredISRReorganized.c - Open ReVolt - Trac

Sorry, it's just an optimization though.

Calling ReadThrottle and ReadCurrent in ISR (ADC_vect) adds a bit of code to that interrupt handler. Might just update the raw current and throttlePos variables directly (like temperature) and have a void ReadThrottle(int16_t) that you pass tmpThrottle to after making a copy of it, but outside the cli block in main. Same for ReadCurrent. Can inline them too. Might call them ConvertThrottle and ConvertCurrent instead too.

__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  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 3431 05-04-2022 06:43 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 - 2024, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com