how can i do connecting lpc1768 to i2c's and PWMout

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how can i do connecting lpc1768 to i2c's and PWMout

536 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by prince0fpersia on Sat Oct 27 13:57:15 MST 2012
hi

at first i'm sorry for my bad english

i want to connect the LPC1768 to 2-i2c's input (a bus that include 5-srf08 or srf10 module , and other for a module's that give me(Gyro-accel-compass) by i2c)

and i want to have 4 or 6 PWM output for my dc-motors

i wan to know wich pins must be connect to scl or sda and ..... to interface

i am sorry again for my language:(
0 Kudos
5 Replies

461 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by prince0fpersia on Tue Oct 30 00:42:07 MST 2012
i want to connect lpc1768 to brushless dc motors and i2c bus
0 Kudos

461 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by prince0fpersia on Sun Oct 28 12:14:53 MST 2012
my programing is not bad (i am software engineer)

but i dont work with microcontrollers

if u can , pls help me to interface 2 I2C'sinput and 6pwm output to my LPC1768
0 Kudos

461 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by graynomad on Sun Oct 28 08:36:40 MST 2012
Building a copter is not a trivial project and much as it's important to stretch yourself I think that if you are asking what pins to connect I2C to then this is a bridge too far for you prince0fpersia.

While we are happy to help I doubt anyone has [B]that [/B]much time to spare :)

I would suggest a project that is more achievable for the time being.
0 Kudos

461 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by prince0fpersia on Sun Oct 28 00:03:41 MST 2012
hi my friend
thank you for your answer

i am beginner in electronic and  in english

i want to make a quad(or hexa)copter

i want to design a board with LPC1768 as main ,
and five srf08 or srf10 for metering works by i2c protocol ,
and one module that combine gyro-accel-compass sensors and gives me angle by i2c protocol

and after calculations , i want to send control commands by PWM to my DCmotors(brushless)

i dont know how i should design this board , and i need your help
0 Kudos

461 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Sat Oct 27 14:10:34 MST 2012
LPC1768 has 3 I2C interfaces ;)

UM10360:

Quote:

Three enhanced I2C-bus interfaces, [COLOR=Red]one with an open-drain output supporting the full I2C specification[/COLOR] and Fast mode plus with data rates of 1Mbit/s, two with standard port pins. Enhancements include multiple address recognition and monitor mode.

So I would suggest to use SDA0 P0[27] and SCL0 P0[28] first :)
0 Kudos