Arduino UNO/Duemilanove 2dof firmware

AMC, H-Bridge projects etc.
Please use the image gallery for your pictures, a short tutorial can be found here.
The first image in the first post will be shown in the project gallery.

Re: Arduino UNO 2dof firmware

Postby prilad » Sat 12. Jan 2013, 21:01

I am added new video to the thread topic.
User avatar
prilad
 
Posts: 174
Images: 1
Joined: Tue 3. Apr 2012, 14:20
Location: Dubna, Moscow reg., Russia
Has thanked: 3 times
Been thanked: 37 times

Re: Arduino UNO 2dof firmware

Postby vicpopo » Sat 12. Jan 2013, 21:23

Hi Ale,

Thanks for the video.You are running your macbook with bootcamp or with another windows emulator?

Regards

Gilles
User avatar
vicpopo
 
Posts: 645
Joined: Fri 20. Apr 2012, 18:04
Location: Strasbourg France
Has thanked: 39 times
Been thanked: 80 times

Re: Arduino UNO 2dof firmware

Postby prilad » Sat 12. Jan 2013, 21:32

vicpopo wrote:Hi Ale,

Thanks for the video.You are running your macbook with bootcamp or with another windows emulator?

Regards

Gilles


bootcamp with Win7 x64

regards
User avatar
prilad
 
Posts: 174
Images: 1
Joined: Tue 3. Apr 2012, 14:20
Location: Dubna, Moscow reg., Russia
Has thanked: 3 times
Been thanked: 37 times

Re: Arduino UNO 2dof firmware

Postby nullrnd » Sun 13. Jan 2013, 17:58

Hi all!
Today I have tested the firmware by prilad Isolated with chips ADuM1400. Everything worked perfectly. Here's a little video.



Photos of my isolation board. I designed it for use with the Arduino Nano.
Attachments
nullrnd
 
Posts: 2
Joined: Tue 10. Apr 2012, 11:33
Location: Russia, Rostov-on-Don
Has thanked: 1 time
Been thanked: 1 time

Re: Arduino UNO 2dof firmware

Postby ferslash » Mon 14. Jan 2013, 20:12

:D 100 usdlls.... guys... this is just beatifull, :D
ferslash
 
Posts: 226
Images: 4
Joined: Tue 3. Jul 2012, 18:08
Location: Mexico, Guadalajara
Has thanked: 8 times
Been thanked: 1 time

Re: Arduino UNO 2dof firmware

Postby prilad » Mon 14. Jan 2013, 20:29

Hi BobBuilt!

I want to inform you (and all community) what we both (me and nullrnd) tested firmware and isolators ( based on 6N137 (for me) and ADuM1400 (for nullrnd)) on Arduino Duemilanowe. Not on Arduino Nano.
When nullrnd was try to test with Nano there were errors and failures in the FT232R. Maybe he has a bad sample of Arduino Nano?

best regards,
Ale
Last edited by prilad on Mon 14. Jan 2013, 20:40, edited 1 time in total.
User avatar
prilad
 
Posts: 174
Images: 1
Joined: Tue 3. Apr 2012, 14:20
Location: Dubna, Moscow reg., Russia
Has thanked: 3 times
Been thanked: 37 times

Re: Arduino UNO 2dof firmware

Postby prilad » Mon 14. Jan 2013, 20:39

prilad wrote:Hi BobBuilt!

I want to inform you (and all community) what we both (me and nullrnd) tested firmware and isolators ( based on 6N137 (for me) and ADuM1400 (for nullrnd)) on Arduino Duemilanowe. Not on Arduino Nano.
When nullrnd was try to test with Nano there were errors and failures in the FT232R. Maybe he has a bad sample of Arduino Nano?

best regards,
Ale
User avatar
prilad
 
Posts: 174
Images: 1
Joined: Tue 3. Apr 2012, 14:20
Location: Dubna, Moscow reg., Russia
Has thanked: 3 times
Been thanked: 37 times

Re: Arduino UNO 2dof firmware

Postby prilad » Wed 16. Jan 2013, 18:53

Hi, BobBuilt

BobBuilt wrote:But once I mark the sending the set point bounces up and down even with it not set to occilate,

May be there is mismatch between the sending position and the value of the feedback potentiometer? Try to set feedback potentiometers value = 127 before to mark "sending".

BobBuilt wrote:What could be the problem or can I not worry about that and test with xsim direct.

By default, the firmware has rather large values ​​of the coefficients KpHi and Kplo. For a start I recommend to reduce them ( value = 10). Chahge value in the edit field and then press key "Return". After that new value will send to Arduino. And after if you want to store new values in EEPROM you should press button "Save to EEPROM"

BobBuilt wrote:Plus whats the USO needed to run, same as tronics.

Yes. But COM-port baud = 57600

Regards,
Ale
User avatar
prilad
 
Posts: 174
Images: 1
Joined: Tue 3. Apr 2012, 14:20
Location: Dubna, Moscow reg., Russia
Has thanked: 3 times
Been thanked: 37 times

Re: Arduino UNO 2dof firmware

Postby prilad » Thu 17. Jan 2013, 12:06

BobBuilt wrote:Ok.

1. didnt make any diff

2. Changed kphi/lo to 10 press enter to send. Doesnt change anything set pos (red) still jumps all over the place. Save to eeprom is greyed out never been avail.

Is it possible that Im missing a ddl or a redistribitable file thats needed to run xsimctrl. Plus Im running it from the desktop.
Apart from this the card seems to be working properly will test through xsim.

I have even check the device manager to confirm baud rate set right in windows.


Can you make some "screen capture" videos with using and trouble xSimCTRL?
User avatar
prilad
 
Posts: 174
Images: 1
Joined: Tue 3. Apr 2012, 14:20
Location: Dubna, Moscow reg., Russia
Has thanked: 3 times
Been thanked: 37 times

Re: Arduino UNO 2dof firmware

Postby prilad » Thu 17. Jan 2013, 20:59

Hi, BobBuilt.

I see what program is not working correctly. The digits must not blinking. After marking "receive data" all firmware setting must be received and displayed near edit fields.

Check, please, your COM-port setting -
57600,
8,
1 ,
no parity.


Look the video with my Arduino connected to xSimCtrl.



Regards
User avatar
prilad
 
Posts: 174
Images: 1
Joined: Tue 3. Apr 2012, 14:20
Location: Dubna, Moscow reg., Russia
Has thanked: 3 times
Been thanked: 37 times

PreviousNext

Return to Controllers and Drivers Projects

Who is online

Users browsing this forum: No registered users and 2 guests

cron