EcoModder.com

EcoModder.com (https://ecomodder.com/forum/)
-   Open ReVolt: open source DC motor controller (https://ecomodder.com/forum/open-revolt-open-source-dc-motor-controller.html)
-   -   I need help reading cougar outputs (https://ecomodder.com/forum/showthread.php/i-need-help-reading-cougar-outputs-26737.html)

AviatorBJP 08-19-2013 10:43 AM

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.

AviatorBJP 08-19-2013 02:17 PM

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.

mora 08-20-2013 05:23 AM

2 Attachment(s)
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.

AviatorBJP 08-20-2013 11:23 AM

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.

apowers 08-23-2013 09:26 AM

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


All times are GMT -4. The time now is 08:14 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