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 wallytattoo » Thu 31. Jul 2014, 21:41

Hello, the connections are as follows, is well

arduino / HL298

pin 2 / IN1
pin 3 / IN2
pin 4 / IN3
pin 5 / IN4
pin 9 / ENA
pin 10 / ENB
VCC / 5V
VCC / VCC
GND / GND

Attached is a picture of the bridge H
Attachments
wallytattoo
 
Posts: 22
Joined: Tue 15. Jul 2014, 11:54
Has thanked: 5 times
Been thanked: 0 time

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

Postby wallytattoo » Fri 1. Aug 2014, 04:59

started moving, it was because I was testing problem with usb power directly. Now I added an external source and I began to move, but just vibrate a lot. so I'm changing the values ​​of pid.
Thanks for the help given so far, I'll comment them progress. regards
wallytattoo
 
Posts: 22
Joined: Tue 15. Jul 2014, 11:54
Has thanked: 5 times
Been thanked: 0 time

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

Postby sirnoname » Fri 1. Aug 2014, 07:47

A L298 has no power. 2A is the power for a free running wiper motor of a car without any load. And this 2A is the absolute maximum for the bridge. You cannot use this bridge for a real simulator. Are you building a toy simulator?
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 wallytattoo » Fri 1. Aug 2014, 10:55

If thumbnail is now until it works and while I get the Monster Moto Shield DEV-10182.
wallytattoo
 
Posts: 22
Joined: Tue 15. Jul 2014, 11:54
Has thanked: 5 times
Been thanked: 0 time

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

Postby dualin » Sat 9. Aug 2014, 15:42

Hi, I'm working in a new project with 6 smolka motors and 3 arduinos with this firmware. I'm trying to use the ibt-2 drivers, but doesn't work well and has broken 4 of the 6 drivers.

I'm using that power supply

http://www.ebay.co.uk/itm/190671121743

One for each motor.

Now I'm thinking to use a better drivers and I've found thar drivers in eBay.

http://www.ebay.com/itm/390890807750

I think that I can use them with arduino and sirnoname's firmware, but I'd like that you confirm me that point.

And one question more, with that driver I need to put two power supply's in parallel because the driver has one power connector and I need the power of two of the power supplies for the two motors. Do you see any problem with that mounting?

Thanks in advance, best regards
Dualin


Enviado desde mi iPad con Tapatalk HD
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 wallytattoo » Mon 11. Aug 2014, 13:05

dualin wrote:Hi, I'm working in a new project with 6 smolka motors and 3 arduinos with this firmware. I'm trying to use the ibt-2 drivers, but doesn't work well and has broken 4 of the 6 drivers.

I'm using that power supply

http://www.ebay.co.uk/itm/190671121743

One for each motor.

Now I'm thinking to use a better drivers and I've found thar drivers in eBay.

http://www.ebay.com/itm/390890807750

I think that I can use them with arduino and sirnoname's firmware, but I'd like that you confirm me that point.

And one question more, with that driver I need to put two power supply's in parallel because the driver has one power connector and I need the power of two of the power supplies for the two motors. Do you see any problem with that mounting?

Thanks in advance, best regards
Dualin


Enviado desde mi iPad con Tapatalk HD



Hi, regarding your first question. yes, you can use them with arduino and sirnoname's firmware.
First you'll have to see the consumption of each engine to see if the power supply is sufficient. ideally one power set the amount of current that nescesites or greater.
I leave this link is also used
http://www.aliexpress.com/item/H-Bridge-MOS-High-Power-Dual-Way-Motor-Drive-Module/1893241576.html
I hope harete helped a little.
Greetings
wallytattoo
 
Posts: 22
Joined: Tue 15. Jul 2014, 11:54
Has thanked: 5 times
Been thanked: 0 time

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

Postby dualin » Mon 11. Aug 2014, 13:34

Thanks a lot. The power supplies can give 17A and the consumption of each motor is 9A at full load. But I know that there will be great consumpions for a few moments. Then I need to put two of the power supplies in parallel for that peak of consumption.

Great h-bridge that you has told, but last night I bought the other bridge, the one that I've shown

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 wallytattoo » Wed 13. Aug 2014, 17:39

Hello, if I want to add another axis, a total of 3, as in the arduino code.
using the code sirnoname
Greetings
wallytattoo
 
Posts: 22
Joined: Tue 15. Jul 2014, 11:54
Has thanked: 5 times
Been thanked: 0 time

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

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

Hi, now I've the new bridges. I've two problems.
1. The logic inputs are changed. The directions active by gnd instead +5v. I've resolved with a 7404 hex inverter
2. The bridge doesn't work well if the PWM signal go over 98%. I the PWM go over 98% the voltage go down and I only can get 5v at maximum. But if the PWM don't go over 98%, then I get the 23,5v maximum. And I don't know how I can modify the Sirnoname's firmware to get a lower PWM. What must I change in the firmware??

Can anyone help me?

Thanks in advance
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 sirnoname » Mon 22. Sep 2014, 21:42

There is a button in the plugin dialog.
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

PreviousNext

Return to Controllers and Drivers Projects

Who is online

Users browsing this forum: No registered users and 2 guests