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

Postby sirnoname » Wed 30. Jan 2013, 17:35

eric, there is a UNO to Duemilanove boards problem.
Please read here:
http://arduino.cc/forum/index.php/topic,23000.0.html
ANd try the code in your setup function after the port init with 115200.
For example, did you setup Duemilanove as your device or are you using UNO in your android IDE?
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

Postby zecaEU01 » Wed 30. Jan 2013, 19:19

Good afternoon Terry

Sorry I did not understand what do you want to talk do not know much electronics

zeca
zecaEU01
 
Posts: 69
Joined: Mon 19. Nov 2012, 14:40
Location: AMERICANA SAO PAULO
Has thanked: 0 time
Been thanked: 4 times

Re: Arduino Open Source X-PID firmware

Postby ericRacer » Wed 30. Jan 2013, 20:20

sirnoname wrote:eric, there is a UNO to Duemilanove boards problem.
Please read here:
http://arduino.cc/forum/index.php/topic,23000.0.html
ANd try the code in your setup function after the port init with 115200.
For example, did you setup Duemilanove as your device or are you using UNO in your android IDE?



Sorry , i tried but too much complicated for my little brain :?

- i setup my board like Duemilanove as device in tool tab
User avatar
ericRacer
X-Sim Supporter
 
Posts: 80
Images: 36
Joined: Wed 28. Mar 2012, 15:04
Location: Canada, Qc, Jonquiere
Has thanked: 3 times
Been thanked: 2 times

Re: Arduino Open Source X-PID firmware

Postby ericRacer » Thu 31. Jan 2013, 15:31

Doesn't matter if it doesn't work yet , i have succes with my setup. I was just curious to try something else.

I use 2 arduinos. one for receiving data , and the second for pid calculation. that was the easiest way for me (at the moment) . Pid calculation is very tricky ! when you add communication on the same board ! :shock: (for me ! :!: :mrgreen: )

I will try it later for sure :D
thanks
User avatar
ericRacer
X-Sim Supporter
 
Posts: 80
Images: 36
Joined: Wed 28. Mar 2012, 15:04
Location: Canada, Qc, Jonquiere
Has thanked: 3 times
Been thanked: 2 times

Re: Arduino Open Source X-PID firmware

Postby menix » Sun 3. Feb 2013, 09:21

@ Sirnoname

Hi ich bräucht enochmal deine Hilfe da ich der totale Noob bin.
Könntest du dir mal die PDF Datei hier anschauen von den Motortreiber?
http://www.shop.display3000.com/elektro ... erung.html

Da muss irgendwie eine Reset leitung auf High gelegt werden, kann ich die einfach an 5V anschliessen auf dem UNO Board?
Dann blicke ich das noch nicht mit dem programmieren, da ja dieser Treiber nur Phase und PWM hat.
Wie muss so eine Zeile im Sketch ausschauen damit es funktioniert.
Last edited by menix on Sun 3. Feb 2013, 09:23, edited 1 time in total.
menix
 
Posts: 36
Joined: Tue 20. Mar 2012, 19:44
Has thanked: 1 time
Been thanked: 0 time

Re: Arduino Open Source X-PID firmware

Postby menix » Sun 3. Feb 2013, 09:22

http://www.shop.display3000.com/elektro ... erung.html

Sorry war irgendwie der Link nicht richtig
menix
 
Posts: 36
Joined: Tue 20. Mar 2012, 19:44
Has thanked: 1 time
Been thanked: 0 time

Re: Arduino Open Source X-PID firmware

Postby sirnoname » Sun 3. Feb 2013, 13:38

Hi,

ich hab ja schon geschrieben was zu tun ist, mehr gibt es nicht. Frag in anderen Arduino Foren zur Bedienung und Programmierung.
Notfalls kannst du auch die hier verfügbaren anderen Firmware Autoren bitten eine spezielle Version zu schreiben.
Reset kommt auf 5V, sollte aber immer selbst einen eigenen Pullup haben.

cu
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

Postby Racerr87 » Tue 5. Feb 2013, 19:17

Very intresting and cheap solution to get started in motion sim i was waiting for :) .

You have got my attention ;)

Will it be possible to control more then 2 motors in the future?

What is the big difference between this similar project?

viewtopic.php?f=39&t=695
Racerr87
 
Posts: 40
Images: 7
Joined: Mon 7. May 2012, 17:01
Has thanked: 3 times
Been thanked: 5 times

Re: Arduino Open Source X-PID firmware

Postby sirnoname » Tue 5. Feb 2013, 19:35

The difference is that this is a open source and DIY firmware. If you like to add a third axis you do this by yourself with trible the code, I will not do that.
This code can then be shared here or in the same github. Same with the different H-Bridges, you have to change code for your needs.
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

Postby Roadster2 » Tue 5. Feb 2013, 19:45

Ok, I'm with Racerr87 in that I need to run four motors for 3 DOF (Roll, Pitch and Heave - a D-Box type motion). I assumed that I would need 2 x Arduino boards but hadn't expected the coding problem. Having no ability to code it looks like a wait until some other kind sole gets the coding together. For my H-Bridge drivers I plan to use 4 of these High Current DC Motor Driver Module Boards - http://www.ebay.co.uk/itm/321045121657?ssPageName=STRK:MEWAX:IT&_trksid=p3984.m1438.l2649. I assume therefore that these will require coding as well ?

Thanks
Roadster2
 
Posts: 52
Joined: Thu 19. Apr 2012, 18:36
Has thanked: 2 times
Been thanked: 1 time

PreviousNext

Return to Controllers and Drivers Projects

Who is online

Users browsing this forum: No registered users and 1 guest

cron