Hi,
I'm building a simple device to help turn on my soundbar when the TV is powered up. Works great in my test board using an Adafruit Gemma. But I'm working to build a dedicated system based on an ATTtiny85 to send the IR code to the sound bar for power up and shut down.
But I want to power the device by the USB port on the TV. So when the TV is turned off, I'd like to have a super-capacitor (or even some other power storage device) with enough power to run for 10-30 seconds, while sending some IR codes to also turn off the soundbar.
So I figure a supercapacitor rated for 5.5V should be the right size voltage wise, just not sure what kind of uF sizing I need. And do I need to get some sort of converter to make sure it all works as the voltage drops? I'm trying to keep it all simple, but I suspect it really won't be.
The ATTiny85 has one IR LED output, and an opto-isolated input to check if the soundbar is powered up.
Hmm... maybe I just power the device from BOTH USB outputs, with seperate sense inputs for each, so I can tell what I need to do. Hey, they might actually work even better! If the TV is off, I just want to turn off the sound bar, which would drop the power to the unit, which is just fine. Nothing to get corrupted. And on power up of the TV, I see that the soundbar isn't working so I send IR code to toggle it's power.
So what would I need to do to avoid back-powering each source USB device? Any ideas or suggestions are much appreciated.
I'm building a simple device to help turn on my soundbar when the TV is powered up. Works great in my test board using an Adafruit Gemma. But I'm working to build a dedicated system based on an ATTtiny85 to send the IR code to the sound bar for power up and shut down.
But I want to power the device by the USB port on the TV. So when the TV is turned off, I'd like to have a super-capacitor (or even some other power storage device) with enough power to run for 10-30 seconds, while sending some IR codes to also turn off the soundbar.
So I figure a supercapacitor rated for 5.5V should be the right size voltage wise, just not sure what kind of uF sizing I need. And do I need to get some sort of converter to make sure it all works as the voltage drops? I'm trying to keep it all simple, but I suspect it really won't be.
The ATTiny85 has one IR LED output, and an opto-isolated input to check if the soundbar is powered up.
Hmm... maybe I just power the device from BOTH USB outputs, with seperate sense inputs for each, so I can tell what I need to do. Hey, they might actually work even better! If the TV is off, I just want to turn off the sound bar, which would drop the power to the unit, which is just fine. Nothing to get corrupted. And on power up of the TV, I see that the soundbar isn't working so I send IR code to toggle it's power.
So what would I need to do to avoid back-powering each source USB device? Any ideas or suggestions are much appreciated.