Pages: [1]   Go Down
Author Topic: I2C problem with Wire.endTransmission  (Read 499 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


I've just started up a project i've been chasing parts for for quite a while, but now at last i've started programming.

Im connecting a MD03 motor controllet to an arduino mega 2560 via I2C.

I've looked at some examples, and foud several examples of this exact application.

So fas so good. But when i try to get the firmware number from the motorcontroller and print it in the serial monitor i get nothing. I looked around this forum and found that some have had the problem that the Wire.endTransmission command shuts down the USB connection, but I have'nt seen a single solution to this problem.

Does someone have a solution to this problem or at least an idea?


Offline Offline
Edison Member
Karma: 58
Posts: 2078
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

This is your MD03, ?
The Wire.endTransmission shutting down the USB connection. I have never heard of that.
They provide code (not Arduino code) for the I2C, but I don't understand that. But they say it is the same as the 24C04, so it should be easy.

The first thing to do is the i2c scanner,

Global Moderator
Melbourne, Australia
Offline Offline
Brattain Member
Karma: 510
Posts: 19306
Lua rocks!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Post your code please.

How to use this forum

Also see:

Please post technical questions on the forum - not to me by personal message. Thanks a lot.

Pages: [1]   Go Up
Jump to: