Pages: [1]   Go Down
Author Topic: Serial1 does not work when powered by DC barrel instead of USB on Mega 2560  (Read 411 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 24
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi!

I have a project on my Mega 2560 that uses TTL serial from Serial1 to a Commodore 64's serial port.  This works great when plugged into the USB from the PC where I develop the sketch, but it doesn't work when disconnected from the PC and being powered by 12VDc on the barrel plug.  Any ideas why?
Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 206
Posts: 12861
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


Grounds connected?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 24
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

No, grounds are not connected.  I need another wire to do that.  I'll get that done and post the results.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 24
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

No, grounds are not connected.  I need another wire to do that.  I'll get that done and post the results.

That was it!  Thanks for the hint. 
Logged

Pages: [1]   Go Up
Jump to: