Open the X-Sim notifier or download it!
motion simulator DIY community Follow us on  Twitter Add to iGoogle
motion simulator DIY community

Tronic's proportional servo motor control with basic stamp

Aufbau, Betrieb, Reparatur und der Entwicklung von Kontrollern oder sonstiger externer Hardware - Assembly, handling, repair and construction of controllers or external hardware.

Moderator: egoexpress

on 08.08.2007, 15:17

New postby tronicgr on 08.08.2007, 15:17

I just forgot to delete these vias when redesigned... They have no use...

The delay on LFS was because of the smoothing of the profiler that existed even if you pilled all the way down the bar setting to "weak". Sirnoname sended me a new version of profiler that had another "tick" on the bar that totaly disabled the delay of the smoothness.

Now it runs really fast and the responce time was fallen below 20 ms. In the new version you can actually see the spikes on crashing into a wall. Now It moves the simulator even when you shifting gears!!! Cool!!

I hope he puts it on the next release to see it for yourself.


Today I bought a car battery to power the motors (TUDOR model TC10) with capacity of 100AH!!! This beast will be enouph to move my simulator for atleast straight 4 hours with no intermision. The salesman was so impressed by my construction that he gave me the battery for 60 euro cheaper (I paid only 100euro)!! I also bought a 10amp car battery charger to charge it when not using it...
So be patient to connect the battery for the new videos... :-)

Regards, Thanos
User avatar
tronicgr
X-SIM developer
 
Posts: 1232
Joined: 11.05.2007, 17:33
Location:Greece Greece, Athens
Local time: 30.07.2010, 11:14
Obtained thanks: 269


on 11.08.2007, 19:12

New postby egoexpress on 11.08.2007, 19:12

I might try and design such a board with a socket to accept the BS2 chip on it. And maybe with an extra "programming serial port" to able to update the firmeware on it without having to remove the BS2 chip.


That would be really great!!!!
I would really appreciate such a board, and would like to replicate it, as well!

I know that the BS2 Controller Boards are affordable. But we like the DIY way. And everyone could decide for himself, if he would like to buy a ready BS or if he rather would like to build a PCB by himself.

BTW, with how many wires are your motors connected to the controller. Two, or more?

regards
ego
User avatar
egoexpress
X-Sim Community Admin
 
Posts: 3833
Joined: 13.12.2006, 14:26
Location:Germany Germany - Frankfurt/M
Local time: 30.07.2010, 10:14
Obtained thanks: 244


on 11.08.2007, 22:22

New postby sirnoname on 11.08.2007, 22:22

Yeah, good work.

How about beta testing more axis ? Perhaps on twice serial outputs ?
User avatar
sirnoname
Executive X-Sim software developer & BETA section leader
 
Posts: 2250
Joined: 08.11.2006, 20:12
Location:Germany Augsburg, Germany
Local time: 30.07.2010, 10:14
Obtained thanks: 459


on 14.08.2007, 14:11

New postby tronicgr on 14.08.2007, 14:11

egoexpress wrote:
I might try and design such a board with a socket to accept the BS2 chip on it. And maybe with an extra "programming serial port" to able to update the firmeware on it without having to remove the BS2 chip.


That would be really great!!!!
I would really appreciate such a board, and would like to replicate it, as well!

I know that the BS2 Controller Boards are affordable. But we like the DIY way. And everyone could decide for himself, if he would like to buy a ready BS or if he rather would like to build a PCB by himself.

BTW, with how many wires are your motors connected to the controller. Two, or more?

regards
ego


I'll design such a board with a standard BS2 chip socket for all to have it here. Just be patience because of lots of things I'm involving with right now.

One of the things I'm making is a new interface based on a ATmega8535 that will receive the data on 56K and run multiple checks on the position in each data update interval. I'll still use HB-25 motor controllers to drive the motors...

The motors are conneected with just two wires (Positive,Ground) to the HB-25 motor controllers.

Regards, Thanos
User avatar
tronicgr
X-SIM developer
 
Posts: 1232
Joined: 11.05.2007, 17:33
Location:Greece Greece, Athens
Local time: 30.07.2010, 11:14
Obtained thanks: 269


on 14.08.2007, 14:17

New postby tronicgr on 14.08.2007, 14:17

sirnoname wrote:Yeah, good work.

How about beta testing more axis ? Perhaps on twice serial outputs ?


How can I define more axes on the USO? It seems to have available only x,y. I know I can use the second serial port in there but what about the more axes? The profiler doesn't seem to give z,yaw options.

And when I tried to run more than once the profiler it gave me back error about opening the serial port. I guess the second profiler tries to access the already opened serial port of the fisrt profiler.

Any suggestions? A patch maybe that defines more axis than x,y to the desired force?

Regards, Thanos
User avatar
tronicgr
X-SIM developer
 
Posts: 1232
Joined: 11.05.2007, 17:33
Location:Greece Greece, Athens
Local time: 30.07.2010, 11:14
Obtained thanks: 269


on 14.08.2007, 15:12

New postby Raceray on 14.08.2007, 15:12

In the registry you have to generate the key "DualRun" in

HKEY_LOCAL_MACHINE\Software\X-Sim\Force-Sender and set it on "1".

Than you can start the Force-Sender twice! If you use a second control PC you can send the complete datapackages to both of them.

So you can control 4 Achses. Ok, it´s a workaround, but it should work.

regards
Ray
User avatar
Raceray
Site Admin
 
Posts: 1531
Joined: 08.11.2006, 20:12
Location:Germany Hamburg - Germany
Local time: 30.07.2010, 10:14
Obtained thanks: 169


on 14.08.2007, 15:52

New postby tronicgr on 14.08.2007, 15:52

Yes, I already tried this and had two force-senders. But the problem was on the profiler!!!

I couldn't define more axis in the serial string: B~x~P~y~
There are only x,y available.

And when I tried to open a second profiler to run a second serial interface it won't open for second time and gave me the message: Error opening socket (or something).

The way I see it, changes in the profiler are needed to be able to assign the extra available forces to more axis. i.e z-heave, z-rotate etc...

And I prefer to use only one computer to elliminate as possible all the delay issues of the network communication...


Regards, Thanos
User avatar
tronicgr
X-SIM developer
 
Posts: 1232
Joined: 11.05.2007, 17:33
Location:Greece Greece, Athens
Local time: 30.07.2010, 11:14
Obtained thanks: 269


on 14.08.2007, 19:07

New postby sirnoname on 14.08.2007, 19:07

I talked about profiler 2.0 ;)
User avatar
sirnoname
Executive X-Sim software developer & BETA section leader
 
Posts: 2250
Joined: 08.11.2006, 20:12
Location:Germany Augsburg, Germany
Local time: 30.07.2010, 10:14
Obtained thanks: 459


on 15.08.2007, 16:38

New postby tronicgr on 15.08.2007, 16:38

egoexpress wrote:
I might try and design such a board with a socket to accept the BS2 chip on it. And maybe with an extra "programming serial port" to able to update the firmeware on it without having to remove the BS2 chip.


That would be really great!!!!
I would really appreciate such a board, and would like to replicate it, as well!

I know that the BS2 Controller Boards are affordable. But we like the DIY way. And everyone could decide for himself, if he would like to buy a ready BS or if he rather would like to build a PCB by himself.

regards
ego


Well, here you go. I made a small board that hosts the Basic Stamp2 chip and sits on top of the interface connections board. It has programming serial port and It also has power source regulator that also powers the interface connections board directly.

I also fixed some minor design issues of the bigger board and alligned it to be ready to host on it the smaller board with the BS2 chip.


ImageBS2compatiblexsimwiringv12.pdf (210.83 KB)


Image


Image

Regards, Thanos
Last edited by tronicgr on 27.12.2008, 18:27, edited 1 time in total.
User avatar
tronicgr
X-SIM developer
 
Posts: 1232
Joined: 11.05.2007, 17:33
Location:Greece Greece, Athens
Local time: 30.07.2010, 11:14
Obtained thanks: 269


on 16.08.2007, 21:13

New postby egoexpress on 16.08.2007, 21:13

That was fast ;)

Nice, I see support for 4 Servo Motors, adding the heave and yaw axes.
Last edited by egoexpress on 20.08.2007, 08:58, edited 1 time in total.
User avatar
egoexpress
X-Sim Community Admin
 
Posts: 3833
Joined: 13.12.2006, 14:26
Location:Germany Germany - Frankfurt/M
Local time: 30.07.2010, 10:14
Obtained thanks: 244


PreviousNext

Similar topics

Return to X-Sim compatible hardware


Social Bookmarking
Bookmark bei: Mr. Wong Bookmark bei: Del.icio.us Bookmark bei: Webnews Bookmark bei: Icio Bookmark bei: Oneview Bookmark bei: Linkarena Bookmark bei: Newskick Bookmark bei: Folkd Bookmark bei: Yigg Bookmark bei: Digg Bookmark bei: Reddit Bookmark bei: Simpy Bookmark bei: StumbleUpon Bookmark bei: Slashdot Bookmark bei: Netscape Bookmark bei: Furl Bookmark bei: Yahoo Bookmark bei: Spurl Bookmark bei: Google Bookmark bei: Blinklist Bookmark bei: Blogmarks Bookmark bei: Diigo Bookmark bei: Technorati Bookmark bei: Newsvine Bookmark bei: Blinkbits Bookmark bei: Ma.Gnolia Bookmark bei: Smarking Bookmark bei: Netvouz

Who is online

Users browsing this forum: No registered users and 0 guests