|
Post by tronicgr on Apr 5, 2017 10:44:35 GMT
Hi, It took longer than I thought but its here. You can find the firmware in the following link: www.dropbox.com/s/xf2rpy7rcf3g0ay/enc_6dof_AMC1280USB_v2.3_2017_controller_support_FIX_rev3.8.hex?dl=0EDIT* 6/17/2017 -Fixed a small typo error on PID code for Motor 4 (analog output) that was causing the motor to fail to return proper speed on one direction. This firmware is redesigned to support the new 2017 version AMC1280USB v2 controller, but keeps backward compatibility with the older v1x boards. It will automatically detect the additional hardware on the newer boards and activate the relative code for the extra functionality (12-bit DAC and PWM driver, 16-bit Analog ADC chip etc). I'll write some more information on the added functions soon. For now I'll just say the input - output modes and resolution are selected using the LCD menu rather the DIP switches and jumpers so its easier to setup than before. Let me know if you find any bugs... Thanks Thanos
|
|
|
Post by hexpod on Apr 6, 2017 0:15:48 GMT
Hi, It took longer than I thought but its here. You can find the firmware in the following link: www.dropbox.com/sh/hh7s2bi33exvt05/AAB2tsKpxEWFDv7AwAw1TmR-a?dl=0This firmware is redesigned to support the new 2017 version AMC1280USB v2 controller, but keeps backward compatibility with the older v1x boards. It will automatically detect the additional hardware on the newer boards and activate the relative code for the extra functionality (12-bit DAC and PWM driver, 16-bit Analog ADC chip etc). I'll write some more information on the added functions soon. For now I'll just say the input - output modes and resolution are selected using the LCD menu rather the DIP switches and jumpers so its easier to setup than before. Let me know if you find any bugs... Thanks Thanos Bravo! Is the support for 14bit sensors included? Cheers
|
|
tino
Junior Member
Posts: 71
|
Post by tino on Apr 8, 2017 15:30:45 GMT
Thanks Thanos!
I'll update the firmware later today. Does this update support analog limit switches? Do you have diagrams to connect the limit switches to AMC1280USB via add on shield? Thanks, Tino.
|
|
tino
Junior Member
Posts: 71
|
Post by tino on Apr 9, 2017 13:58:20 GMT
|
|
|
Post by tronicgr on Apr 9, 2017 15:26:51 GMT
|
|
|
Post by tronicgr on Apr 9, 2017 15:30:33 GMT
Thanks Thanos! I'll update the firmware later today. Does this update support analog limit switches? Do you have diagrams to connect the limit switches to AMC1280USB via add on shield? Thanks, Tino. Sorry the code for the analog limit switches is not active yet. I had to rewrite the PID section so I had to disable it. It will be enabled in next new firmware soon. I know I keep saying soon, but I don't like to rush releases that could possibly have very negative effect on crucial processes like the PID. I'll make a diagram along the release of the firmware that supports it. Thanks Thanos
|
|
|
Post by tronicgr on Apr 9, 2017 15:35:04 GMT
Bravo! Is the support for 14bit sensors included? Cheers Its not active yet. I'll have to add another PID version in the code that will allow the use of the 14-bit resolution span. Right now I have 4 different PID versions included to cover all the combinations for 10-bit and 12-bit sensors. But I'll add the 14-bit soon and release it as soon it checks out stable. I'll sent you the new controller one of these days so you can test the 12-bit PWM outputs as well on the Clearpath motors. Thanks Thanos
|
|
tino
Junior Member
Posts: 71
|
Post by tino on Apr 9, 2017 18:59:26 GMT
Thanks Thanos,
Looking forward to new firmware!
|
|
|
Post by tronicgr on Apr 9, 2017 19:47:31 GMT
Thanks Thanos, Looking forward to new firmware! BTW, to enable unidirectional mode now you dont use the DIP Switch3, but the unidirectional mode in the LCD menu. Also the PWM mode output and resolution is selectable from the LCD menu too. If you are using the older amc1280usb v1xx boards, selecting 12-bit outputs for analog or PWM will not have any effect. The firmware code can detect if the board has 12-bit chips on board to enable the output for them. This was done to avoid lockups of the microcontroller while maintaining backwards compatibility. However if you happen to add in the i2c port of an older amc1280usb, a breakout board like this one from adafruit, with correct address, it would allow 12-bit PWM or 12-bit Analog out with an addition of an extra resistor and capacitor. www.adafruit.com/product/815(Will enter details on that as soon i get a chance). Thanks Thanos
|
|
|
Post by skihnia on May 1, 2017 7:26:07 GMT
Hi,
NO MORE A PROBLEM! Tried to update the new firmware, but I get "Buffer overflow: [8208] > [8192]" message in AVRub and don't dare to flash it.
Just to answer my own problem. One needs to configure AVRub. I used Auto Config Code selected ATmega1280 and Recommended. Made that and imported to Options AVR. For example this changes the flash size to 128K so I don't get the buffer overflow anymore. This wasn't in otherwise great video from Thanos. Correct if this isn't the right way!
|
|
|
Post by riton39 on May 3, 2017 22:00:39 GMT
I have a bug with version 2.3 on my 2DOF. When I press Start with Xsim, the engine 2 moves quickly, from left to right as if there was movement and thers are no mouvement.
|
|
|
Post by riton39 on May 4, 2017 15:00:04 GMT
Same problem with the V 2.1C youtu.be/QehJC9NZ21oThis is not a version problem. This problem is present with all versions. I can not find the cause, the simulator worked well. I switched to version 2.3 and since then I have noticed this problem. I deleted the profiles Xsim, started again, it is always down.
|
|
|
Post by riton39 on May 7, 2017 17:24:54 GMT
Thanos I tested a lot of things: Replaced the small connection card with frequency inverters. Inverted engines.
Output 2 and 3 also sends bad motion information when I press Xsim Start.
Output motor 1 works correctly
With the other versions: 2.1C and 2.2 it is permanent on the engine 2.
All this happened after updating version 2.0 to 2.3.
My AMC 128 card does not work since I made this update.
This is a bug? A breakdown of my AMC? what to do ?
thank you
|
|
|
Post by tronicgr on May 8, 2017 3:05:54 GMT
Thanos I tested a lot of things: Replaced the small connection card with frequency inverters. Inverted engines. Output 2 and 3 also sends bad motion information when I press Xsim Start. Output motor 1 works correctly With the other versions: 2.1C and 2.2 it is permanent on the engine 2. All this happened after updating version 2.0 to 2.3. My AMC 128 card does not work since I made this update. This is a bug? A breakdown of my AMC? what to do ? thank you I will be adding a default settings recovery to the firmware, as adding new settings can alter the older sets of settings ending up in invalid range of valies in transition from really old firmware. Can you share here a list of the settings you have on the controller using the v2.3 firmware? Perhaps the sensor inputs were switched to digital or other setting perhaps. Also what you describe does not sound as bad settings, but rather as bad data transmitted from the xsim. Can you take a screenshot photo of the USO page and share it here? I remember something about you setting the resolution to 32bit instead of 16bit binary. Where I'm getting at is, that lots of fixes were introduced since v2.0 especially to make sure it will read correctly the 16bit binary data from the motion software. Thanks Thanos
|
|
|
Post by riton39 on May 8, 2017 11:52:35 GMT
It's no need ' having Xsim to have the problem. Today, the AMC gets stuck on the AMC boot V2.3 menu. impossible to change the menu. my config: 10 bits analog sensor 12 bits output I test with others, Nothing works.
|
|