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)
-   -   New RTD Explorer!! Beta Testers Needed!!! (https://ecomodder.com/forum/showthread.php/new-rtd-explorer-beta-testers-needed-32633.html)

adamj12b 08-24-2015 11:59 AM

New RTD Explorer!! Beta Testers Needed!!!
 
Hello Everyone,

Its been WAY too long since I have been on Ecomodder. Ive been lurking but mostly quiet.

I have had an urge to get a new version of RTD Explorer out into the wild and Im looking for willing beta testers as a lot has changed. I currently don't have a Revolt controller running. :(

Back in 2012, Kyle, (who does most of the developing on RTD Explorer) decided to improve the interface and make the graph more readable. He added some stuff in the settings tab to adjust color and line width of each graphed line.

I am looking for anybody with experience(preferred, but not necessary) with the original RTD Explorer and computer knowledge that can help test this version and report bugs back to me.

Please contact me through email: adamj12b at gmail dot com.


Thanks for the help!!

thingstodo 04-16-2016 01:44 AM

I have the latest DC controller running, codenamed Stinky diaper :D

Laptop is running windows 7

RTD_EXPLORER installs on windows 7 and runs.

The rtd-period is set to 100 ms and between 1 and 30 updates are logged before the terminal on the right freezes.

It starts again when you disconnect/connect.

Debug mode does not appear to do anything different. But it stops just as quickly.

There seems to be issues communicating when the controller is running. I have it logging in Hyperterminal on an older XP SP2 machine - the issue may be noise, but I don't see the noise changing between logging on different laptops?:confused:

I'm using a crappy USB to serial adapter ... is there a brand or a chipset that works well that I can use?

adamj12b 04-16-2016 07:10 AM

Is the rtd string that the controller outputs in the same format as the original controller? If not, that could be the problem.

I have always had the best luck with ftdi based adapters using the ft232r chip.

-Adam

thingstodo 04-16-2016 01:16 PM

1 Attachment(s)
The output string looks like it is the same. I've attached an example.

Quote:

I have always had the best luck with ftdi based adapters using the ft232r chip.
OK - I'll look at our local electronics shop (called OTV) and see what they have

thingstodo 04-16-2016 01:20 PM

This one looks like it matches

https://otvtech.ca/catalogue?page=sh...=usb+to+serial

But it has an extra letter on the chipset - FTDI - FT232RL

adamj12b 04-16-2016 01:21 PM

Yes, that one should work for you.

I dont see any attachment of the data output.

-Adam

thingstodo 04-16-2016 01:37 PM

Quote:

Originally Posted by adamj12b (Post 511675)
I dont see any attachment of the data output

Fixed ... sometimes I need to FINISH one thing before I START the next!

adamj12b 04-16-2016 01:43 PM

Your custom firmware is not outputting an AH value.

TR=000 CR=000 CF=012 PW=000 HS=0261 RT=0716 FB=00 BA=000 AH=xxx.x which is causing the REGEX in RTD Explorer to kick out the string as bad data.

Also, RTD Explorer is looking for an RTD-Period set to 100 not 1000.

-Adam

thingstodo 04-16-2016 01:59 PM

Quote:

Originally Posted by adamj12b (Post 511679)
Your custom firmware is not outputting an AH value.

TR=000 CR=000 CF=012 PW=000 HS=0261 RT=0716 FB=00 BA=000 AH=xxx.x which is causing the REGEX in RTD Explorer to kick out the string as bad data.

Also, RTD Explorer is looking for an RTD-Period set to 100 not 1000.

My manual logging was set to 1000 ms for the capture. I was not able to get RTD Explorer to log

I saw the command from RTD explorer set RTD-period to 100 ms, so I think that part is OK

AH=xxx.x ... OK - I'll check the code and see if it is a formatting error on the string or if there is no numbers feeding that part yet. If there are no numbers I'll hard-code 42.0 .. the answer to Life, the Universe, and EVERYTHING!

I guess I'll hold off on the new USB to Serial until I get the AH changed.

thingstodo 04-16-2016 02:07 PM

Thanks for the quick response Adam.

RTD Explorer is expecting exactly this format ... can I put other information on a second line?

ie
Code:

first set of data
TR=000 CR=000 CF=012 PW=000 HS=0261 RT=0716 FB=00 BA=000 AH=42.0
003, 14, 3.33, ... 23,

second set of data
TR=000 CR=000 CF=012 PW=000 HS=0261 RT=0716 FB=00 BA=000 AH=42.0
003, 14, 3.33, ... 23,

There is more data to log, and if I can send it all on interleaved lines then it saves adding another command, adding another variable to keep track of the state, adding that variable to the config screen, etc


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