Open latest posts
motion simulator DIY community 

Revolution firmware and software for AMC1.5+1.6

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

Re: Revolution firmware and software for AMC1.5+1.6

Postby prilad on 02.07.2012, 18:13

tronicgr wrote:With the added deadzone (0-45 and 210-254) for the analog feedback, it rotates less that 360, but still more than the 180 max degrees of the SS490. With proper software adjustments it could be used for a full 360 degrees rotation platform for flight simulator!!!!

OK.
But you can delete sensors deadzone by setting SensLo = 0 and SensHi = 255. If you'll set SensLo = 255 and SensHi = 0 - the direction of the motor will be changed. :yes:
User avatar
prilad
full member
 
Posts: 35
Joined: 29.04.2012, 14:37
Local time: 22.05.2013, 21:34
Obtained thanks: 4


on 02.07.2012, 18:54
Re: Revolution firmware and software for AMC1.5+1.6

Postby tronicgr on 02.07.2012, 18:54

I did that, but with the current firmware it keeps rotating as there are no physical limits if you know what I mean. The firmware needs rework to handle full 360 degree rotation.

For example if its at 355 degree position and get a command to move to 2 degree position it should follow the shortest path keep increasing, cross zero and then stop in 2 degrees (356,357,358,359,360,1,2). Otherwise it will do a full counter clockwise motion as the position code naturally should act as it doesn't know what's happening in real world except of the sensor readings.
User avatar
tronicgr
X-SIMER
 
Posts: 1481
Joined: 11.05.2007, 17:33
Local time: 22.05.2013, 09:34
Obtained thanks: 337


on 02.07.2012, 19:14
Re: Revolution firmware and software for AMC1.5+1.6

Postby prilad on 02.07.2012, 19:14

tronicgr wrote:I did that, but with the current firmware it keeps rotating as there are no physical limits if you know what I mean. The firmware needs rework to handle full 360 degree rotation.


Yes, it is. Now firmware can't work with 360 degree rotation, because I did not have such technical specifications while working on this version of firmware. But I think, if it will be interesting, there are no problems to make version, which will handle full 360 degree rotation.
User avatar
prilad
full member
 
Posts: 35
Joined: 29.04.2012, 14:37
Local time: 22.05.2013, 21:34
Obtained thanks: 4


on 02.07.2012, 22:18
Re: Revolution firmware and software for AMC1.5+1.6

Postby vicpopo on 02.07.2012, 22:18

prilad wrote:Hi Gilles,

Unfortunately I have not written in detail about the configuration of the port. I'll try to make it right now. 8)

If at the start of the program you has received an "error opening port" message, go to the menu "Settings" to set the port number to which you attached the AMC. And set up next parameters: Baud Rate = 115200, Bits = 8, Stop Bits = 1, Parity = no.

And remember that you can use only firmware for your quartz frequency. What version of AMC are you use? For AMC1.6 I have compiled only for 22MHz.

Regards,
Ale.

Hi Prilad,
I've got the new AMC 1.6 board with 22,184 Mhz Crystal like Thanos (all come from him) .
I change the baud rate in the driver and now it's OK.But I've got always the same message.''Can't open the port''.I changed the file ini because in ini was the port COM 5 declared.I changed to COM4 (my actually configuration board on port COM4) and now I can open the soft without this error.
But I can't read anything on the soft , the pot , postion to reach don't display in the soft.There is a communication because the leds red and green are flashing but nothing in the soft .When I choose receving , sending ,display settings anything 's dysplaying.
Below my file .ini copied :
COMPORT]
Port=4
ByteSize=8
BoudRate=115200
Parity=0
StopBits=0
[MAIN]
SendPeriod=33
AMpl1=70
Offs1=127
Freq1=0.48
AMpl2=80
Offs2=127
Freq2=1.04
GraphBuf=60
[SETTING]
Kp1Lo=100
Kp1Hi=20
Kp2Lo=40
Kp2Hi=20
Sens1Lo=45
Sens1Hi=210
Sens2Lo=45
Sens2Hi=210
KpTh=5
MinD=2
MinPWM=0
[VIRTUAL_COMPORT]
Port=4
ByteSize=8
BoudRate=115200
Parity=0
StopBits=0
Thanks for your help
Gilles
NB : I've got in the AMC Board the firmware version that comes from Thanos not your version .I could understand that Thanos was using your soft Xsimcontroler modified with the crystal frequence but with his firmware (v 1.1) in the atmega.Does it right ?
I try too using the terminal application comes from Thanos and when I scan the port COM4 I saw like him all the data who are coming from the board.
He shows that in a video inside the XSim.de forum.
data are like this :
AMC1611 128 750 128 800 (Motor1 position 128 (axe middle) 750 pot1 position and Motor2 position 128 (axe middle) 800 pot2 position )
vicpopo
new member
 
Posts: 8
Joined: 08.01.2012, 22:10
Local time: 22.05.2013, 18:34
Obtained thanks: 1 time


on 02.07.2012, 22:35
Re: Revolution firmware and software for AMC1.5+1.6

Postby tronicgr on 02.07.2012, 22:35

Hi Gilles,

You have mixed up the firmwares... My firmware is not compatible to talk to ALE's control program!!! The datalogging feature is not intended for that!!

You need to load this firmware that is compatible with his control program:
AMC16_mega644_22mHz_byALE_fix3.zip


That's why you can't connect to it...!!!!!
User avatar
tronicgr
X-SIMER
 
Posts: 1481
Joined: 11.05.2007, 17:33
Local time: 22.05.2013, 09:34
Obtained thanks: 337


on 03.07.2012, 18:51
Re: Revolution firmware and software for AMC1.5+1.6

Postby vicpopo on 03.07.2012, 18:51

tronicgr wrote:Hi Gilles,

You have mixed up the firmwares... My firmware is not compatible to talk to ALE's control program!!! The datalogging feature is not intended for that!!

You need to load this firmware that is compatible with his control program:
AMC16_mega644_22mHz_byALE_fix3.zip


That's why you can't connect to it...!!!!!

Hi Thanos ,
OK I supposed that Ale's control program was compatible with your soft.
I progressed a little bit ... it doesn't work 100%.I not yet connected a motor , I have to finish all this thinks for testing the amc1.6 with Prilad softwares (the controler and the program in Atmega).
In fact I just would like to reproduce what you shown in your blog , that means for me that my board works .
I saw your video testing the AMC 1.6 with the controler and I saw that you connected the jumpers as like as the board programmation and that you removed the 3 jumpers attached near the 4 DIP Switches.
Do I do reproduce the same configuration for using the software?
I put a picture above.
Image

Uploaded with ImageShack.us

Thanks Gilles
vicpopo
new member
 
Posts: 8
Joined: 08.01.2012, 22:10
Local time: 22.05.2013, 18:34
Obtained thanks: 1 time


on 04.07.2012, 15:41
Re: Revolution firmware and software for AMC1.5+1.6

Postby tronicgr on 04.07.2012, 15:41

You don't need to remove the three jumpers, just turn the three DIP switches to off position leaving only the first DIP switch to position 1.

Just connect a motor (thru a motor driver) and a potentiometer like on the video to see how it works. Play with the values and the software to get yourself more familiar with the role of the values. You are lucky you can do this with ALE's software in seconds, I had to fiddle with the values in firmware and do hundreds of reloads and experiments while developing my firmware.
User avatar
tronicgr
X-SIMER
 
Posts: 1481
Joined: 11.05.2007, 17:33
Local time: 22.05.2013, 09:34
Obtained thanks: 337


on 09.07.2012, 17:10
Re: Revolution firmware and software for AMC1.5+1.6

Postby tronicgr on 09.07.2012, 17:10

Don't forget to transfer the project on x-sim.de!!

http://www.x-sim.de/forum/viewforum.php?f=39





 
User avatar
tronicgr
X-SIMER
 
Posts: 1481
Joined: 11.05.2007, 17:33
Local time: 22.05.2013, 09:34
Obtained thanks: 337


on 09.07.2012, 21:10
Re: Revolution firmware and software for AMC1.5+1.6

Postby CraCk on 09.07.2012, 21:10

tronicgr wrote:Don't forget to transfer the project on x-sim.de!!

Why???? :eek:
There's no software for our firmware.
Generally there is no sense in the new forum without free software.
CraCk
full member
 
Posts: 20
Joined: 01.08.2010, 13:10
Local time: 22.05.2013, 20:34
Obtained thanks: 4


on 09.07.2012, 21:25
Re: Revolution firmware and software for AMC1.5+1.6

Postby tronicgr on 09.07.2012, 21:25

Of course there is... The free version works as before. And if you get your project there, you will be granted with stage2 key that allows all extra features. :)
User avatar
tronicgr
X-SIMER
 
Posts: 1481
Joined: 11.05.2007, 17:33
Local time: 22.05.2013, 09:34
Obtained thanks: 337



PreviousNext

Similar topics

Return to X-Simulator compatible hardware


Add this Thread to:
Add this page to Mr. Wong Add this page to Del.icio.us Add this page to Webnews Add this page to Icio Add this page to Oneview Add this page to Linkarena Add this page to Newskick Add this page to Folkd Add this page to Yigg Add this page to Digg Add this page to Reddit Add this page to Simpy Add this page to StumbleUpon Add this page to Slashdot Add this page to Netscape Add this page to Furl Add this page to Yahoo Add this page to Spurl Add this page to Google Add this page to Blinklist Add this page to Blogmarks Add this page to Diigo Add this page to Technorati Add this page to Newsvine Add this page to Blinkbits Add this page to Ma.Gnolia Add this page to Smarking Add this page to Netvouz

Who is online

Users browsing this forum: No registered users and 0 guests

cron