Let's Make Robots!

burn

U7 got fried for some reason :(

I just got my Dagu 4 Channel Motor Controller, already a small part gave some smoke and one motor channel is not working anymore.

All four wheels were turning at the same time before the channel4 got fried.

Connections:

  VCC to Arduino 5V

4 PWM on the motor controller to 4 PWMs on the Arduino uno.

SRF02 and 16f877a in I2C mode ranging

Hi,

I am trying to test SRF02 ultrasonic rangers I just bought and to do that I connected them as required, and wrote a program in MIKROC for I2C transmission. My problem is that everytime I power up the curcuit my PIC burns. I connected pull up resistors to each of SDA and SCL lines; could it be that these resistors impose too much current into SCL and SDA pins of the PIC? Maybe I have to use a buffer between bus and 5V? The code is below. I am new to embedded programming so any of your comments would be of much use to me.

Thank you,

Denis 

The Code: