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 alexandrelopes » Thu 11. Jul 2013, 05:19

Is there any possibility to connect servos rc this firmware version?

I had my first contact with the X-sim and arduino today, in Brazil just found the arduino uno prompt delivery, and H-bridges 2A, that do not serve for the project.

The H-bridges will have to import from ebay, and federal revenue for my country to be the slowest of the planet. Sometimes a product is still over 45 days of shipment to taxation. : (

If anyone can help with this, thank you.

Alexandre

Brazil
User avatar
alexandrelopes
 
Posts: 22
Joined: Mon 8. Jul 2013, 01:19
Location: São José do Rio Preto (São Paulo - Brasil)
Has thanked: 3 times
Been thanked: 0 time

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

Postby sirnoname » Thu 11. Jul 2013, 09:07

This project is OS. If you change the source with some arduino libraries you can use RC servos.
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 xXRamboNoobXx » Fri 12. Jul 2013, 02:40

Is the Diagram wrong in the post? It says 40 Ampere and then I read 2 Ampere, What Should I use 24V 2 Ampere? What is the optimal power supply I should get, because I don't want to run on a battery.
xXRamboNoobXx
 
Posts: 2
Joined: Wed 10. Jul 2013, 04:29
Has thanked: 0 time
Been thanked: 0 time

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

Postby alexandrelopes » Fri 12. Jul 2013, 16:19

sirnoname wrote:This project is OS. If you change the source with some arduino libraries you can use RC servos.


Thank you, Mr. Sirnoname

Yesterday I tried for hours to change the code and it still fails.

Next week, buy a simple H bridge 2a and make a small-scale project.

I loaded the original x-pid firmwar the arduino, I am receiving the communication signal through the x-sim in rx led the arduino.

The first progresses :D
User avatar
alexandrelopes
 
Posts: 22
Joined: Mon 8. Jul 2013, 01:19
Location: São José do Rio Preto (São Paulo - Brasil)
Has thanked: 3 times
Been thanked: 0 time

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

Postby sirnoname » Tue 16. Jul 2013, 00:41

I would give this H-Bridge with good heatsinks about 20-30 Ampere in Reality. 43 Ampere is a spike maximum.
You can try to find other H-Bridges.
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 sirnoname » Tue 16. Jul 2013, 00:42

The first progresses

Do not forget to setup the standard low frequency and remove the power offset!
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 alexandrelopes » Tue 16. Jul 2013, 17:12

sirnoname wrote:
The first progresses

Do not forget to setup the standard low frequency and remove the power offset!



Do you have any print screen for this setup? Yesterday and today I spent a few hours reading and re-reading the topic to find this option.

I'm communicating through google translator, and some terms can sometimes be translated wrongly.

I found some H-bridges with free shipping in goodluckbuy, which of the options below to advise your project arduino x-pid firmware?

If the second option is best for the best, I know that I will need to supply 24v and 24v engines.

Thanks for the help.

Option 1:

Single 30A H Bridge Motor Driver Module for Arduino PID Intelligent Car

Descriptions:
- Designed for Arduino intelligent car, the whole bridge DC brush motor drive, is hollow cup motor is very good, PID program source send by email.
- This drive brake quickly, and easy to operation. The evaluation que its customers better than the MC33886 etc..
- The driver uses the whole bridge chip + drive extremely low impedance MOSFET.make the MOSFET switching losses to lowest. Improve power utilization rate.
- MOSFET drive hardware chip with brake function and power feedback function.
- The current shock resistance MOSFET type, resistance is 0.005 ohm, can quickly make open channel MOSFET, Improve the speed of the engine curvature, also canrapid in electrical braking. This can make of car can quickly start Also can
quickly kill car.
- Drive can work at 0% -98% of the PWM duty cycle, because the drive is NMOS circuit, NMOS circuit features is not to 100% PWM, PWM When 100% of control circuit, long time carries out the operation can lead to drive damage
Performance parameters:
- Rated voltage: 3 V-15 V
- R1 short circuit, VCC and B + short circuit. VDC output voltage and the input voltage drive.
- R1 open circuit, VCC and B + disconnect. VCC input voltage 3-12 V.
- Rated current: 30 A
- Peak Current: 70 A
- Switching frequency: 200 kHz to 1 K
- Dimensions: 5.0 cm (long) * 5.0 cm (wide) * 3.1 cm (high)
Pin Defination:
- V + Power + Input
- Power Input GND -
- EN Driver Enable, enable high, low off
- RPWM Forward PWM input, active high
- Reverse LPWM PWM input, active high
- CT Current output signal, analog signal
- VT Voltage output signal, analog signal
Package include:
- 1x Driver module

http://www.goodluckbuy.com/30a-single-h ... t-car.html

Option 2:

Arduino DC Brush Motor Driver Board Module Single Full Bridge15 ~ 24V 40A/80A

Specification:
- Working voltage: 15 ~ 24V
- Peak current: 40A/80A
- Chip: High power MOS N Tube
- PWM Signal Input: duty cycle: 0 ~ 98%, Standard 16kHz, Max 100KHZ
- Power supply voltage signal: 0 ~ 5V Corresponding to 0 ~ 26V
- Signal current output signal: 0 ~ 5V Corresponding to 0 ~ 91A

http://www.goodluckbuy.com/arduino-dc-b ... a-80a.html
User avatar
alexandrelopes
 
Posts: 22
Joined: Mon 8. Jul 2013, 01:19
Location: São José do Rio Preto (São Paulo - Brasil)
Has thanked: 3 times
Been thanked: 0 time

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

Postby RafBR » Sat 3. Aug 2013, 01:15

Is this h-bridge looking awesome for our needs or not?
http://www.goodluckbuy.com/high-amp-60a ... ntrol.html

the same at e-bay:
http://www.ebay.com/itm/High-AMP-60A-Du ... 1117109458
User avatar
RafBR
X-Sim Supporter
 
Posts: 136
Images: 24
Joined: Tue 20. Mar 2012, 21:53
Location: Brasil
Has thanked: 6 times
Been thanked: 4 times

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

Postby sirnoname » Sat 3. Aug 2013, 09:59

Looks good, only one dir pin but should work.
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 RafBR » Sat 3. Aug 2013, 13:47

Hummmm very well noticed..., how will be the wiring?

Enviado de meu A500 usando o Tapatalk 2
User avatar
RafBR
X-Sim Supporter
 
Posts: 136
Images: 24
Joined: Tue 20. Mar 2012, 21:53
Location: Brasil
Has thanked: 6 times
Been thanked: 4 times

PreviousNext

Return to Controllers and Drivers Projects

Who is online

Users browsing this forum: No registered users and 1 guest