OpenWrt Forum Archive

Topic: Serial communication with Arduino

The content of this topic has been archived on 22 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello,

I want to attach Arduino Pro Mini to Linksys WAG54GS serial port. Everything works if I plug Arduino to running router. If I turn Linksys on with connected Arduino communication fails.

Any ideas how to solve this?

Which pins do you connect? I think you're not supposed to connect VCC.

Why? uC is connected only to serial pins so is powered from VCC.

The router chip is 3.3 volts.  Some older Arduino stuff is 5 volts and attempting to connect directly will cause problems.

Ideally you would power up both devices at the same time from a common power supply.  If you can't do that, use a buffer chip or at least put current limiting resistors (1k - 10k) in the serial lines.  That way the serial port of the device that is powered on isn't dumping a lot of current into the device that is powered off.

I use 3.3V Pro Mini so voltage and logic levels are OK. My problem is unsuccessfull serial communcation on boot.

maybe you should try it without the vcc.

The discussion might have continued from here.