Arduino Open Source X-PID firmware incl.360°option

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 Open Source X-PID firmware incl.360°option

Postby dualin » Mon 22. Sep 2014, 22:17

Sorry, I had done the test with the prilad firmware because I like to see the proper functioning of the engine-electronic assembly with the xsimctrl32, and I hadn't remembered that in the xpid dialog exists that option. I feel very stupid...

Best regards
Dualin


Enviado desde mi iPhone con Tapatalk
User avatar
dualin
 
Posts: 201
Images: 7
Joined: Tue 10. Jul 2012, 01:15
Has thanked: 1 time
Been thanked: 0 time

Re: Arduino Open Source X-PID firmware incl.360°option

Postby brillo76 » Fri 31. Oct 2014, 13:39

Hi,
I have setup my 2dof station with Arduino Open Source X-PID firmware.
The only difference is that I use 2 brusheless Panasonic motors 750W and I have put the arduino in comunication with a brusheless drive.
Everything works fine If I create a 2dof wizard with x-sim. Lateral and longitudinal force work togheter very well.
But I want to set myself the program, for addin for example pitch and roll.
If I try to add manually the output g force (like 25 and 27) in the math setup, when I launch the game only one g force that I have put working.
So, only one force works
I must to use the copy and combine button?
I have try to use it but I don't have understand very well how it works.
Thanks and sorry for my bad english.
Brillo76
brillo76
 
Posts: 11
Joined: Thu 5. Jun 2014, 09:24
Has thanked: 0 time
Been thanked: 0 time

Re: Arduino Open Source X-PID firmware incl.360°option

Postby sirnoname » Fri 31. Oct 2014, 19:39

This is of topic, create a new thread in the converter forum.
You must make a new profile without the wizard.
Add g-force longitudenal, take 50%, then the add another g-force and take pitch with 50%, choose add instead of overwrite, together it is 100%. (this direction as fast example for accelerate and brake)
If a answer is correct or did help you for a solution, please use the solve button.
User avatar
sirnoname
Site Admin
 
Posts: 1829
Images: 45
Joined: Thu 1. Sep 2011, 22:02
Location: Munich, Germany
Has thanked: 35 times
Been thanked: 128 times

Re: Arduino Open Source X-PID firmware incl.360°option

Postby spyderwash » Thu 1. Jan 2015, 16:08

hello guys are looking for new h-bridge, those on the first page l298 for Italy are not available who can advise me on a h-bridge compatible with firmaware of sirnoname arduino?
Thank you very much, I do not have much experience in this field, good year in 2015
spyderwash
X-Sim Supporter
 
Posts: 201
Images: 10
Joined: Tue 19. Feb 2013, 19:43
Location: ITALY VARESE
Has thanked: 2 times
Been thanked: 0 time

Re: Arduino Open Source X-PID firmware incl.360°option

Postby sirnoname » Thu 1. Jan 2015, 18:52

l298 have no power for driving big motors!
If a answer is correct or did help you for a solution, please use the solve button.
User avatar
sirnoname
Site Admin
 
Posts: 1829
Images: 45
Joined: Thu 1. Sep 2011, 22:02
Location: Munich, Germany
Has thanked: 35 times
Been thanked: 128 times

Re: Arduino Open Source X-PID firmware incl.360°option

Postby spyderwash » Thu 1. Jan 2015, 23:19

sirnoname wrote:l298 have no power for driving big motors!

I am aware of the little power but for my project enough already use but now no longer find them Riec for Italy there are other cards compatible cards?
spyderwash
X-Sim Supporter
 
Posts: 201
Images: 10
Joined: Tue 19. Feb 2013, 19:43
Location: ITALY VARESE
Has thanked: 2 times
Been thanked: 0 time

Re: Arduino Open Source X-PID firmware incl.360°option

Postby misterk » Sun 4. Jan 2015, 15:46

Hello!

I made my first simulator with: velleman k8055 - sabertooth 2x25 - motor zyt90 12v 23A - power supply 12v 50A

Now I'd like to try arduino with sirnoname firmware and two h-bridge

do you think the model "Semiconductor BTS7960B Motor Driver 43A H-Bridge Drive PWM "

http://www.ebay.com/itm/Semiconductor-B ... 3399700de9

is compatible with the firmware? And is powerful enough for my motors?

tank you
misterk
 
Posts: 10
Images: 18
Joined: Sat 13. Sep 2014, 13:32
Has thanked: 0 time
Been thanked: 1 time

Re: Arduino Open Source X-PID firmware incl.360°option

Postby yasin » Wed 7. Jan 2015, 05:10

hi i need help !!!
my sim 2 DOF 230 rpm for 12V DC motor.
arduino uno r3 monster moto cards all right
I open the game had to move .
but do not know how to do the pot and interface setup .
pot is making continuous chills when I connect the motor shaft.
I looked , but I did not understand xs forum .
Please help !
I need to take a step by step with detailed pictures .
least because my English
Attachments
yasin
 
Posts: 1
Joined: Tue 14. Oct 2014, 00:18
Has thanked: 0 time
Been thanked: 0 time

Re: Arduino Open Source X-PID firmware incl.360°option

Postby Fuxl » Tue 3. Feb 2015, 18:23

Hello

I'm new here. I try to build a 3DOF with 2 Arduinos and 3 Arduino IBT2 H-Bridges.

I set up my Whipermotors with the pots, everything is fine.
But it seems I can only comunicate with one arduino at a time!?

In detail:
when I start the converter I see my 2 Arduinos ond COM8 and COM9 each position 1 and 2.
when i try to set the output of com 8/1 to 50 percent it works.
If i try to put com 9/1 to 50 percent it wont work.

Next time opening the converter only COM9 works. but still com 8 is shown in the interfaces.

Sometimes both work for a short time.

I tested everything with RACE07. same issue. sometimes one motor is working sometimes the other. an sometimes both.
it doesn't seem to be a bad contact thing. because it doesn't change during activity. it seems to me it changes when they are inactive.

I use an active USB hub between the pc and the arduinos. could this be a problem??

Or is it possible that one or the outher arduino crashes? and when i reset them the other crashes?but why should they crash?

I searched for any hint, but I couldnt find any Issue like this.!?!?

best regards
Fuxl
Fuxl
 
Posts: 4
Images: 15
Joined: Fri 12. Dec 2014, 10:59
Has thanked: 0 time
Been thanked: 1 time

Re: Arduino Open Source X-PID firmware incl.360°option

Postby Fuxl » Thu 5. Feb 2015, 18:47

Hello again

I'm still trying to get that thing running.

I reduced my setup for testing to just one arduino with 2 channels. all stock from sirnonames setup.

but in the best case, one channel is working. for the moment only channel 1.
if i change the h bridges on the arduino (motor1 h bridge and poti on arduino connections for channel 2 and vis a versa) the other motor is running.
So both h briges are working. But there is missing a signal from the second channel on the arduino.

I put my oscilloskop on the outputs of the arduino and found that there is nothing comming out of it when its not working. sometimes the direction signal are missing. and sometimes the pwm is so short that there is just a silent "quuuuuiiiiiiieeeek" from the motor.

If i check the graph under "interface settings/usb xpid/open settings" the nominal value of the output changes, but the poti value doesn't change which is clear because the motor doesn't turn.


next conclusion: there is something wrong with the arduinos..... am i'm right?

The upload of the code was working without problems.

the power of the arduinos is comming from an adiitional 12v power supply.
the power for the motors is comming from an battery.

Is it possible that i oversee something in the converter-setup?
in the math setup two axis. each one with one 1:1 output for slider panel1 or two
output setup just control output axis one with output axis direct to each arduino channel. and then moving with the slider panel.

or do I need something more? just for a first testing? but why is one channel working and one not? I have setuped both channels equaly?!?

Please HELP!!

Many thanks!
Fuxl
Fuxl
 
Posts: 4
Images: 15
Joined: Fri 12. Dec 2014, 10:59
Has thanked: 0 time
Been thanked: 1 time

PreviousNext

Return to Controllers and Drivers Projects

Who is online

Users browsing this forum: No registered users and 3 guests