Arduino Stack Exchange is a question and answer site for developers of open-source hardware and software that is compatible with Arduino. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
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. – ForgeMonkey Nov 28 '14 at 20:03

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

share|improve this answer

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.