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-08-2011, 05:35 PM   #231 (permalink)
EV Builder
 
Freyguy's Avatar
 
Join Date: Nov 2010
Location: Macungie, PA
Posts: 157
Thanks: 15
Thanked 64 Times in 40 Posts
Mora,
I wouldn't waste any more time with that old display. It drew 700mA because something was reverse polarity. It gave up the ghost after a few seconds.
And there's no guarantee that one or more of the I/O pins interfacing to the PIC at the time aren't compromised. If it was me I'd start over with a replacement PIC and correct display.

When I started this project I had a 40char x 4 line LCD in perfect working order I planned to use. I accidently connected it to the power supply with odd and even pins swapped. Vcc & ground became reversed. I had current limit on ps set to 300mA, which it hit immediately and I quickly shut it down.
I corrected and tried it again but it was dead to the world.
Good thing because it pushed me in the right direction- I re-evaluated my LCD display needs and decided on a 16 char large font LCD

-Chris

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 05-09-2011, 01:28 AM   #232 (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
Yes, I've already ordered correct display and I'll get another PIC just in case the current one went bad.
  Reply With Quote
Old 05-10-2011, 12:34 AM   #233 (permalink)
EcoModding Lurker
 
BadDog98's Avatar
 
Join Date: Mar 2009
Location: South Carolina, USA
Posts: 15
Thanks: 4
Thanked 2 Times in 2 Posts
ianbartie,
Just wanted you to know my PCBs arrived today in the post. Everything looked to be in great shape too! (Long Trip)


Thanks Again, Mark
  Reply With Quote
Old 05-10-2011, 09:42 AM   #234 (permalink)
EcoModding Lurker
 
1-ev.com's Avatar
 
Join Date: Oct 2010
Location: USA
Posts: 30
Thanks: 26
Thanked 0 Times in 0 Posts
ianbartie,

My PCBs arrived today in the post too. Everything looked an OK.

Thank you
-Y
__________________
100% Electric '68 912, PCA zone12 proud member:http://www.goldcoastregion.org
Gold Coast Electric Auto Association proud member:http://www.goldcoasteaa.org
http://1-ev.blogspot.com/2010/10/starting-project.html
http://1-ev.blogspot.com/2011/12/1-e...-car-show.html
  Reply With Quote
Old 05-10-2011, 01:29 PM   #235 (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
Little update on the bmw fuel gauge. I had some play time today so i hooked up a 500r pot and made some measurements. At 500r the wiper of the pot read 3.75v and the gauge read just over full. Reduced the pot to 3v then 2.5v. Gauge stayed the same. Recycled the ignition switch and at 2.5v gauge read just over half full. Reduved to 1v. Still no movement then recycled ignition and gauge reads about 1/8th.

So it looks like i can "fill" the tank as quickly as i like but it won't "empty" very fast. So it looks as if the stock gauge is useless for soc as its the opposite for an ev. Fast drain and slow fill. I'll be getting rid of the bmv600hs battery monitor soon now that the lcd module can measure charge and will just fit a normal resistive fuel gauge in the pod.
That's the expected behavior for software-driven BMW fuel gauges.

The instrument cluster computer has special code to make a better guess at the actual fuel level. It appears to have been added after BMW had a problem with the senders getting a dead spot (from corrosion?) in the presence of alcohol-containing fuels if you overfilled the tank. The software "knows" that you can't empty the tank instantly, and ignores any quick drop in the sensor reading. When the firmware update was introduced people complained that the gauge remained on 'F' until four gallons or so were used -- a side effect of the software work-around for the hardware problem.
  Reply With Quote
The Following User Says Thank You to DJBecker For This Useful Post:
jackbauer (05-10-2011)
Old 05-10-2011, 04:15 PM   #236 (permalink)
Master EcoModder
 
jackbauer's Avatar
 
Join Date: Sep 2009
Location: Ireland
Posts: 734
Thanks: 26
Thanked 304 Times in 171 Posts
Thanks DJ. Confirms what i suspected. Its funny cos at times the gauge seems to work. I had a mad day today and actually rolled the car to a stop.At 23% soc the gauge started working then swung back and forth a few times over the full range. I'm just going to bung a resistor on it to keep it on F and install a normal restive type gauge in a pod.
__________________
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 05-18-2011, 05:08 AM   #237 (permalink)
VW Polo EV
 
Join Date: Aug 2009
Location: Port Macquarie
Posts: 69
Thanks: 1
Thanked 10 Times in 9 Posts
No serial communications

Hi Everyone,
I hope someone can pint me in the right direction because I am at a bit of a loss right now.
My LCD does not want to show any serial message info from the controller.
The display seems to work fine, shows aux V OK, pack V OK, SOC, KTE & motor temp all OK.
The motorA, batteryA & controllerT refuse to display properly. The firmware was set to receive serial mesages (00101100).
RTD Explorer show rtd_period as 0100. Changing it to 0200 & saving it shows as 0200. Close RTD & connect LCD. Display of serial message info shows 0 amps & will not change. Opening RTD Explorer shows rtd_period back at 0100 again. It does not seem to stay saved.
Have made a test cable to go straight to the control board but still no luck.
Have double checked the component placement & all look OK.
Any suggestions please.
__________________
Electric VW Polo
  Reply With Quote
Old 05-18-2011, 06:17 AM   #238 (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
I'm still waiting for my new LCD to arrive but I guess I'll face the exact same problem. I noticed rtd_period not staying at set value even after saving settings. Could it be some Cougar firmware issue?
  Reply With Quote
Old 05-18-2011, 01:47 PM   #239 (permalink)
EcoModding Apprentice
 
apowers's Avatar
 
Join Date: Aug 2009
Location: Tn
Posts: 126
Thanks: 14
Thanked 19 Times in 16 Posts
Mine did not get the info from controller at first. It was because my firmware was from fall of '09. Adam told me to load the new firmware from his web site and that fixed it. I think the RTD explorer sets the rtd_period at 100 only when RTD explorer is connected. And your saved 200 should be there at other times. I think
Alvin.
  Reply With Quote
Old 05-19-2011, 12:50 PM   #240 (permalink)
EV Builder
 
Freyguy's Avatar
 
Join Date: Nov 2010
Location: Macungie, PA
Posts: 157
Thanks: 15
Thanked 64 Times in 40 Posts
The firmware handles the received serial messages as follows:
From start of string, character position is counted, with the target fields being stored in temp registers. This data doesn’t get used until the linefeed character is detected. The linefeed must be the 67th character or else the comm error flag is set and the string is ignored & overwritten by the next transmission. This ensures that only the status message data is used.
Format below (from the wiki)

TR=000 CR=000 CF=002 PW=000 HS=0315 RT=0716 FB=00 BA=000 AH=000.0

Other received data includes the firmware version on powerup, as well as the confirmation data sent back when you change a cougar parameter. Since the linefeed is at a different position these strings are ignored.
Framing errors and receive queue overflows also set the comm error flag so any string occurring during these events will also be ignored.

Older versions of Cougar firmware that do not follow the above status message format are incompatible. The new 1000amp controller follows the same format, with a new pack voltage field appended to the end. To be compatible, this only requires a change to one line of code indicating the new position of the line feed character.

-Chris

  Reply With Quote
Reply  Post New Thread






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