Jump to content
 

A PC controlled Rolling Road


SHMD

Recommended Posts

  • RMweb Gold

This is the start of a Rolling Road Controller.

As I want as many 'bells and whistles' as possible it will be much easier if the 'controller' is actually a computer program.

This Program will be written in "Visual Basic express 2010".
Below is my initial attempt at the screen that the user will see. There is no code 'behind' any of these controls yet as I am just 'thinking out loud' at the moment.

post-12815-0-02566500-1411574732_thumb.png

The PC will interface with my usual Smart Driver Board, so I know most things work and what is possible or not but, as usual with my designs, I usually think up extra features as I go!


Kev.

 

Edited to change the Topic Title.

Link to post
Share on other sites

  • 1 month later...
  • RMweb Gold

Progress has been great but not the updates!

I'll put that right now...

 

 

I was able to get the basic PWM running very quickly so that moving sliders and pressing buttons, on the Windows program, allowed full control of the Rolling Road.

 

Then came various additions like PWM frequency control, LED control (useful for debugging), increasing the number of speed steps to 128, etc.

At the same time, as the above, I have also been updating the firmware in SDB to decode the various new commands that have been added.

 

Today I have been working on the 'appearance' of the Windows Application "Rolling Road".

Moving buttons about, adding more features, making notes (on screen, so they don't work yet but at least I wont forget about them!), adding TABs, etc

 

At, the moment, the two most important TABs are the Bridge Control TAB and the COMs TAB.

 

As you can see, much work remains to be done with the Bridge Control TAB.

post-12815-0-95795700-1415695506.png

 

The COMs TAB is in a much more finished state.

post-12815-0-46150000-1415695522.png

 

Having a scope really helps!

Here is the first shot of the scope monitoring the "Track2" voltage.

The forward speed was set at (about) step 45 of 128.

5v/div by 20uS/div

The Pk-Pk voltage being delivered, from an old redundant 12vdc Laptop PSU (12.4v), to the rails was 9.48v.

post-12815-0-94348500-1415696341_thumb.jpg

 

This, second shot, is as above but with the "Reverse" button pressed.

post-12815-0-43035600-1415696361_thumb.jpg

(Sorry about the glare on the screen.)

 

Finally, a view of the test rig with PICkit2 programmer, Smart Driver Board, USB HUB, USB to TTL serial COMs, a Scope Meter and last of all - my much travelled (and abused) Gronk!

post-12815-0-75097200-1415696533_thumb.jpg

What can't be seen is the movement of the Gronk but the little 3volt motor, with tape on its shaft, can be seen to be moving!

 

 

Kev.

 

 

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...