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 hpwells1 » Sat 29. Mar 2014, 17:39

http://www.sainsmart.com/arduino/arduin ... atmel.html
This is all I could find on this board. If and when I get this system working I plan on using a motor controller that will handle more amperage but I only will be using 12vdc motors.

Thank you for your response
HP
Features:
◾Brand new and high quality.
◾L293D is a monolithic integrated, high voltage, high current, 4-channel driver.
◾Basically this means using this chip you can use DC motors and power supplies of up to 10 Volts, thats some pretty big motors and the chip can supply a maximum current of 600mA per channel, the L293D chip is also what’s known as a type of H-Bridge.
◾The H-Bridge is typically an electrical circuit that enables a voltage to be applied across a load in either direction to an output, e.g. motor.
◾2 interface for 5V Servo connected to the Arduino's high-resolution dedicated timer - no jitter.
◾Can drive 4 DC motors or 2 stepper motors or 2 Servo.
◾Up to 4 bi-directional DC motors with individual 8-bit speed selection.
◾Up to 2 stepper motors (unipolar or bipolar) with single coil, double coil or interleaved stepping.
◾4 H-Bridges: per bridge provides 0.6A (1.2A peak current) with thermal protection, can run motors on 4.5V to 10V DC.
◾Pull down resistors keep motors disabled during power-up.
◾reset button.
◾2 external terminal power interface, for seperate logic/motor supplies.
◾Tested compatible for Arduino Mega, Diecimila & Duemilanove.
◾Size:6.8cm x 5.5cm x 2cm - 2.68inch x 2.17inch x 0.79inch.

Package List:
◾1x Motor Drive Shield L293D
hpwells1
 
Posts: 4
Joined: Tue 21. Jan 2014, 20:18
Has thanked: 0 time
Been thanked: 0 time

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

Postby sirnoname » Sat 29. Mar 2014, 18:37

600mA?
What is your target?
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 hpwells1 » Sat 29. Mar 2014, 21:04

I am not sure what you mean by my target. I want to build a motion platform that will give me yaw pitch only using my Saitek joy stick connected to my computer. I hope to set my cockpit sim onto the platform and play the game using only pitch and roll. The game I play is DCS Black shark 2 in DCS World.
If all goes well I may incorporate other games, probably not. Thanks for the quick reply
hp
hpwells1
 
Posts: 4
Joined: Tue 21. Jan 2014, 20:18
Has thanked: 0 time
Been thanked: 0 time

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

Postby dennisnojack » Sat 29. Mar 2014, 22:19

With 600mA current?
Search for BTS7960 with 43A.

My FFB-SW-Project has 120-150W FFB and my motors need about 10 to 15 A.
dennisnojack
 
Posts: 53
Images: 10
Joined: Sat 11. Jan 2014, 07:03
Location: Germany - Hessen - Solms
Has thanked: 1 time
Been thanked: 2 times

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

Postby hpwells1 » Sat 29. Mar 2014, 22:40

so the answer to my first question I would guess is "NO"
HP
hpwells1
 
Posts: 4
Joined: Tue 21. Jan 2014, 20:18
Has thanked: 0 time
Been thanked: 0 time

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

Postby WowaDriver » Thu 3. Apr 2014, 14:05

Hi guys,
maybe you have checked out my simulator building thread... The building progress is completed and the wiring is also finished and correctly...
Now comes the software part... I worked through the tutorial from sirnoname, of course i use the same harware like the arduino uno and the same h-bridge
(big thanks to him), but now i got to the point where i was having troubles with the software setup... The follwing steps i finished so far:

- Arduino was connected to the COM3 Port and flashed with sirnoname arduino x-pid firmware from the first post
- Arduino speed is changed to 115200
- i added 2 axis the math setup and assigned each axis to a x-pid position
- after that i opened the plugin of x-pid in the interface settings and changed the pwm offset to 0 and pwm frequency to 31250Hz
- then i tried to put a value i.e. 10% and the motors were turning and stoped after arriving the desired positon
- now i try to configure the uso setup, but i dont know what to fill in the boxes on the bottom... i marked the boxes in the picture with red
Are the other configs right in the uso setup?

2719

- furthermore i created a profile for a game in the axtractor and configured the motiondriver for the game, started the game and observed
the connection to the game in form of the grey color of the "play game" button
- at last i added the output effects (25,26,27) in the math setup and observed the peeks in the realtime result analyzer during playing the game

2718

2720

What are the next steps i have to do? Please tell me step by step...

Big thx to all for the help!

Greets Waldemar
User avatar
WowaDriver
 
Posts: 24
Images: 108
Joined: Tue 4. Feb 2014, 17:22
Location: Hannover
Has thanked: 3 times
Been thanked: 3 times

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

Postby sirnoname » Thu 3. Apr 2014, 17:12

You cannot use USO for this firmware.
If you enable USO on i.e. COM3 the plugin will get blocked for any device on COM3.
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 WowaDriver » Thu 3. Apr 2014, 17:53

sirnoname wrote:You cannot use USO for this firmware.
If you enable USO on i.e. COM3 the plugin will get blocked for any device on COM3.


If you say that it doesnt work with the uso setup, does it have to be an empty/blank setup screen for the uso setup?

What are the next steps i have to do?

I'd appreciate any further help for this problem.

Greetz Waldemar
User avatar
WowaDriver
 
Posts: 24
Images: 108
Joined: Tue 4. Feb 2014, 17:22
Location: Hannover
Has thanked: 3 times
Been thanked: 3 times

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

Postby sirnoname » Thu 3. Apr 2014, 22:50

Remove all comports from USO.
What is your problem?
Arduino ist detected! Does the interface setup work with setting 10%, 90% to Arduino?
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 WowaDriver » Fri 4. Apr 2014, 00:31

sirnoname wrote:Remove all comports from USO.
What is your problem?
Arduino ist detected! Does the interface setup work with setting 10%, 90% to Arduino?


Yes, the settings wokred in the interface setup.... only i think i have to invert the values because 10%
of the left motor is in the bottom and 10% of the right motor is in the top...

what i have to do after i remove all values in the uso?
User avatar
WowaDriver
 
Posts: 24
Images: 108
Joined: Tue 4. Feb 2014, 17:22
Location: Hannover
Has thanked: 3 times
Been thanked: 3 times

PreviousNext

Return to Controllers and Drivers Projects

Who is online

Users browsing this forum: No registered users and 1 guest

cron