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 08-19-2013, 11:43 AM   #1 (permalink)
Electric Car Builder
 
Join Date: Sep 2011
Location: Logan, UT
Posts: 16
Thanks: 3
Thanked 1 Time in 1 Post
Question I need help reading cougar outputs

Hi everybody.

I need some serious help. My EV is nearly finished. It is driving, but I still need to finish the instrumentation.

I purchased my open revolt fully completed, and it works great, but the guy who built it is no longer responding to my emails.

I want to use the output string from the Open ReVolt Controller to read and display the system Voltage, Amperage, Temp, etc... I will be using Arduinos, to process the data and display certain values on LCD screens.

I need to know a few things about the cougar:

1) which pins on the RS232 carry the output serial data?

2) how is the data formatted? (separate lines, comma separated values, etc)

3) what is the frequency of the data? (baud rate, if applicable)

Thanks for you help. You guys are awesome.

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 08-19-2013, 03:17 PM   #2 (permalink)
Electric Car Builder
 
Join Date: Sep 2011
Location: Logan, UT
Posts: 16
Thanks: 3
Thanked 1 Time in 1 Post
So i purchased a Serial to TTL converter for Arduino, and I am just going to assume it will correctly translate the output stream.

I will post my results here when I find out. Maybe it will interest somebody.
  Reply With Quote
Old 08-20-2013, 06:23 AM   #3 (permalink)
EcoModding Apprentice
 
Join Date: Oct 2009
Location: Jyvaskyla, Finland
Posts: 143

Golfwagen - '89 Volkswagen Golf mk2
90 day: 107.14 mpg (US)
Thanks: 44
Thanked 35 Times in 28 Posts
Hello.

These pictures are from schematics and build instructions. Black wire is ground, green is pin 2 and red pin 1. Hope this helps to figure out from where to read data. You might be able to figure data formatting from source code. I have no skill to do it right away but might figure it out eventually when staring at the code long enough. Hehehe.

See serial.c and cougar.c at

Index of /firmware/cougar-v1.11b

Main loop has something serial output related. At the end of the file cougar.c it is.
Attached Thumbnails
Click image for larger version

Name:	cougar_serial_output_schematic.jpg
Views:	46
Size:	31.1 KB
ID:	13648   Click image for larger version

Name:	cougar_serial_connections.jpg
Views:	49
Size:	15.3 KB
ID:	13649  
  Reply With Quote
Old 08-20-2013, 12:23 PM   #4 (permalink)
Electric Car Builder
 
Join Date: Sep 2011
Location: Logan, UT
Posts: 16
Thanks: 3
Thanked 1 Time in 1 Post
Ah, so it isn't true RS232 style Data. That will be much easier to deal with, i think.

I will rummage through the code too, and see if I find anything.

Thanks.
  Reply With Quote
Old 08-23-2013, 10:26 AM   #5 (permalink)
EcoModding Apprentice
 
apowers's Avatar
 
Join Date: Aug 2009
Location: Tn
Posts: 126
Thanks: 14
Thanked 19 Times in 16 Posts
Here is a link to a PIC based display. There may be something to help you in that thread.

http://ecomodder.com/forum/showthrea...ler-16132.html

Alvin


Last edited by apowers; 08-23-2013 at 10:28 AM.. Reason: Link
  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