Go Down

Topic: Arduino Sleep with Wakeup of Incoming Character (Read 276 times) previous topic - next topic

phinsil6

Hello,
For a project of mine I am trying to make an arduino sleep so that it can take up the least amount of power as possible.  But I would like to be able to wake it up with a character sent over an xbee wireless connection.  is this kind of thing possible?

ookid

A quick search brought up this page. It talks about the sleep modes of the arduino and mentions that the arduino will wake on serial input.

http://playground.arduino.cc/Learning/arduinoSleepCode

I don't have too much knowledge in this area but it sounds like you are looking for something called an interrupt which will basically run a chunk of code when some external event happens, such as serial data coming in.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy