0

I am trying to send and receive data from a PIC16F88 to an Arduino Uno. My problem is that the serial communication stops when the Arduino is not connected to the USB cable. For my application I need the Arduino to still perform its operations with a battery. I have tried both software and hardware serial. Is it possible for the Arduino to send/recieve data when not plugged into the USB cable?

asked Nov 28, 2014 at 19:01
1
  • 1
    Yes, it should be possible. But please post your code, there's not much we can do to help you without seeing the code you're using. Commented Nov 28, 2014 at 20:03

2 Answers 2

1

You need a common ground between the Arduino and the PIC. Connect both grounds one to each other.

answered Dec 2, 2014 at 19:15
1

Is the Arduino running at all when on battery? You could be trying to pull too much current from the battery and killing the circuit. Another cause is that some programmers pull the reset pin to low when unplugged; took me a while to figure out that one.

answered Feb 2, 2015 at 23:39

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.