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 » Fri 12. Apr 2013, 19:22

I am happy that the core engine of X-Sim is now ready and stable.
The graphic driver get into the generation 2 in some weeks.
The driver SDK is now a global work of many developer and get more updates and bugfixes from more professional graphic developers than I am.
I had a lot of connections to very interesting projects that are the result out of this SDK.
Especially the DX10 and DX11 seems to get working * Recently I played Starcraft2 on my command chair. Online games seems now to accept this driver.
The testers will do their best and perhaps in some monthes it is ready.
Since this time you must be patient with the 1st gerneration and the driver that do not work with many games.
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 digmablass » Fri 12. Apr 2013, 20:41

Wow danke Ihnen so sehr dafür! Venezuela am lateinamerikanischen, ich denke, es ist großartige Arbeit, bald meine Informationen zum Projekt veröffentlicht, um ein Passwort zu Phase 2 erhalten, ich danke Ihnen sehr für diesen Beitrag!
User avatar
digmablass
 
Posts: 4
Joined: Mon 29. Oct 2012, 21:10
Location: Venezuela
Has thanked: 0 time
Been thanked: 0 time

Re: Arduino Open Source X-PID firmware

Postby NeoTokyoNori » Sat 13. Apr 2013, 17:15

sirnoname wrote:I am happy that the core engine of X-Sim is now ready and stable.
The graphic driver get into the generation 2 in some weeks.


I am looking forward to the release.
Will this version be able to work with occulus i hope?
User avatar
NeoTokyoNori
 
Posts: 62
Images: 12
Joined: Mon 28. Jan 2013, 15:02
Location: Japan
Has thanked: 6 times
Been thanked: 1 time

Re: Arduino Open Source X-PID firmware

Postby wptm » Tue 16. Apr 2013, 18:13

NeoTokyoNori wrote:
wptm wrote:I was not lucky, like you with the same H-Bridge. I have had smokes, and the wide lines have broken. The first wide line was burned when I pulled out the Arduiono's USB cable from the computer. I mean the motor driver was connected to the 12v car battery at this time and arduino was also connected.
Now, I'm thinking on to make Thanos (TronicGr)'s Dual H-Bridge. My idea is, that when something goes wrong, then I'd be able to replace an element, etc.


I didn't have too much of a problem while using it with wiper motors,
but I was playing around with a starter motor and the wires on the board have started to smoke.
I agree that the wires on the board, are not good enough to be used with the high current of car motors. :x

I am also thinking of Thanos (TronicGr)'s Dual H-Bridge over the longer term. I hope it works with arduino!


I'm ready with Thanos (TronicGr)'s dsmhb 1.2 . You can read the details here:
http://www.x-sim.de/forum/viewtopic.php?f=37&t=800&start=10#p7362

But!
I was testing it with my simply arduino code, to turn the motors forward and reverse. Which was working without any problems. I've also used a 5A car fuse for one of the motors, which was not melted at all. So it looks fine.
After that, I uploaded the XPID.ino (v1.03) to the arduino. Then I started converter.exe . When it was started, both of my motors were turning a bit. I suppose it's an initial setup. Then, I was testing it with the "Set Output" / "Clear Output" functions, maybe with 20%. I don't remember the value.
The first motor was turning, and for the "clear output" it was stopped. Then I selected the 2nd motor and clicked on "set output".
And at this point my mosfets started to smoking. I immediately powered off the stuff.
I'm not sure but maybe I've had the same situation with the Chinese E-Bay H-Bridge too. However, now I can replace the mosfets for 4$(US).
I'm thinking on what can be the problem:
  • bad cooling of the mosfets
  • bad wiper motor
  • something with XPID.ino
User avatar
wptm
 
Posts: 64
Images: 57
Joined: Tue 29. May 2012, 21:43
Location: Hungary
Has thanked: 8 times
Been thanked: 4 times

Re: Arduino Open Source X-PID firmware

Postby NeoTokyoNori » Tue 16. Apr 2013, 19:04

wptm wrote:The first motor was turning, and for the "clear output" it was stopped. Then I selected the 2nd motor and clicked on "set output".
And at this point my mosfets started to smoking. I immediately powered off the stuff.
I'm not sure but maybe I've had the same situation with the Chinese E-Bay H-Bridge too. However, now I can replace the mosfets for 4$(US).
I'm thinking on what can be the problem:
  • bad cooling of the mosfets
  • bad wiper motor
  • something with XPID.ino


I am not sure what the problem is,
but when you use "set output" the motor is running continuously, which draws a lot of current,
unlike when running with PID which makes tiny motor arm movements...

it is a good thing that the mosfets are replace-able.
User avatar
NeoTokyoNori
 
Posts: 62
Images: 12
Joined: Mon 28. Jan 2013, 15:02
Location: Japan
Has thanked: 6 times
Been thanked: 1 time

Re: Arduino Open Source X-PID firmware

Postby danielDK » Thu 18. Apr 2013, 13:54

Hi :)

What would be the best way to contribute in adding functionality to the xpid plugin?

Personally i would like to see features such as :
- Support for the avr2560 http://www.atmel.com/Images/doc2549.pdf
- more pwm/pid outputs
- boolean /pwm outputs for gauges


I'm going to modify the xpid plugin with the above suggestions for my own use. However i figure it would be more beneficial for both me and the community if this could be a coordinated effort, hopefully resulting in a Sirnoname approved xpid plugin.

Anyway, I would like to volunteer my feeble programming skills, to either create a branchoff or a continuation of the current plugin
So if theres an interest in working with me on this, please let me know, as i have many, many questions :)



Thanks

/Daniel
danielDK
 
Posts: 10
Joined: Sat 13. Apr 2013, 12:03
Has thanked: 0 time
Been thanked: 0 time

Re: Arduino Open Source X-PID firmware

Postby sirnoname » Thu 18. Apr 2013, 14:03

There comes a additional features this days, the 360° turn.
Please upload and sync your work to the X-PID github repo as a own branch, so other can follow this fork if they have such a board.
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 NeoTokyoNori » Thu 18. Apr 2013, 17:38

danielDK wrote:Hi :)
I'm going to modify the xpid plugin with the above suggestions for my own use. However i figure it would be more beneficial for both me and the community if this could be a coordinated effort, hopefully resulting in a Sirnoname approved xpid plugin.
Anyway, I would like to volunteer my feeble programming skills, to either create a branchoff or a continuation of the current plugin
So if theres an interest in working with me on this, please let me know, as i have many, many questions :)


Hi Daniel,
I have no idea if I can answer your many, many questions ;) , but I would be open to working on a branchoff of sir's code.
No guarantees that I can make it work, but I have been toying with that idea too.
Although I am currently dealing with something of a snafu.
Please refer to:
viewtopic.php?f=37&t=841&start=10#p7267
User avatar
NeoTokyoNori
 
Posts: 62
Images: 12
Joined: Mon 28. Jan 2013, 15:02
Location: Japan
Has thanked: 6 times
Been thanked: 1 time

Re: Arduino Open Source X-PID firmware

Postby Tombo » Sun 21. Apr 2013, 11:21

Hi,
with your Help i was able to set everything up. I've bought some single turn Pots now and everything is working. At the moment I'm testing with a tiny rc motor. But i can't get it into a position. Wenn I set an output it moves and moves and moves. Why doesn't it go in to the Position? Until this is not fixed i will not connect my bigger motors because i dont want to crash something.

Thanks for help
Tombo
 
Posts: 97
Images: 36
Joined: Fri 22. Feb 2013, 20:52
Location: Germany
Has thanked: 6 times
Been thanked: 8 times

Re: Arduino Open Source X-PID firmware

Postby wptm » Mon 22. Apr 2013, 16:21

NeoTokyoNori wrote:
wptm wrote:The first motor was turning, and for the "clear output" it was stopped. Then I selected the 2nd motor and clicked on "set output".
And at this point my mosfets started to smoking. I immediately powered off the stuff.
I'm not sure but maybe I've had the same situation with the Chinese E-Bay H-Bridge too. However, now I can replace the mosfets for 4$(US).
I'm thinking on what can be the problem:
  • bad cooling of the mosfets
  • bad wiper motor
  • something with XPID.ino


I am not sure what the problem is,
but when you use "set output" the motor is running continuously, which draws a lot of current,
unlike when running with PID which makes tiny motor arm movements...

it is a good thing that the mosfets are replace-able.


I'm ready. I could finally run the Thanos (Tronicgr) h-bridge with this open source Arduino solution.
I've upgraded the h-bridge with heat sinks, and made proper isolation of the pots. These were the problem by me.
You can find a video of it here:
http://www.x-sim.de/forum/viewtopic.php?f=37&t=800&start=10#p7502
User avatar
wptm
 
Posts: 64
Images: 57
Joined: Tue 29. May 2012, 21:43
Location: Hungary
Has thanked: 8 times
Been thanked: 4 times

PreviousNext

Return to Controllers and Drivers Projects

Who is online

Users browsing this forum: No registered users and 2 guests