Re: Arduino nano wakeup from suspend

Bengt Martensson <[email protected]> Thu, 14 Feb 2019 20:54:40 +0100
Newsgroups gmane.comp.hardware.lirc
Message-ID <[email protected]>
On 14.02.2019 15:51, Jose Alberto Reguero wrote:
> It is dificult to add  wakeup from suspend to the arduino nano?

Short version: yes.

Strictly speaking, this is not a Lirc issue. You probably want to wake 
up from the USB connection. I an not an expert, but AFAIK for a USB 
device to generate a USB wakeup is not completely trivial. For example, 
keyboards and mice can, most other devices cannot. If using an Arduino, 
it is probably a good idea to use a Leonardo or a Micro, since these 
have the CPU connected directly to the USB port, while others use a 
dedicated chip (FTDI or CH340 or other) for the USB connection, 
emulating a serial port. For example the latter two can emulate a USB 
keyboard, while the others cannot.

Another solution would be to use an Arduino with an Ethernet interface, 
sending a WOL (wake up on LAN) packet to the PC.

If you come up with a solution, by all means, let us know.

Greetz,

Bengt