Help with my little intermittent power Project

Thread Starter

Robert JJ

Joined Apr 21, 2018
2
Hi Guys,

I would be very grateful if you can help me with a project I am working on, which might be a no brainer for most here.
I want to create a circuit that gives a 5V output via USB.
It can work with normal batteries or rechargable batteries. With the option for recharging I guess it needs extra module for charging (via any regular mobile phone charger).
The cherry on the cake is that I want it to give output on the USB intermittently via set templates.

I would prefer this to be set manually or have predefined times - like 10sec on with 1min off, or 1 min on with 5 min of.
So when I connect a led light via USB, it it stays on as much a I’ve set it, like 10sec on and then 1 min of.

I look forward to any suggestion.

Thank you in advance,
M.O.
 

Thread Starter

Robert JJ

Joined Apr 21, 2018
2
If more than one template involved then I would use an ATTINY using Bascom AVR
Basic Interpreter for software generation. And a MOSFET if trying to drive leds
with more than 10 mA.

https://www.mcselec.com/index.php?option=com_content&task=view&id=14&Itemid=103

http://ww1.microchip.com/downloads/...ller-ATtiny25-ATtiny45-ATtiny85_Datasheet.pdf


Regards, Dana.
Thank you Dana,
so Basically i need a circuit that:
1. is powered by 3 AAA batteries or rechargeable;
2. has an USB port output;
3. can output power via USB on a predefined pattern like: 1 min on and 10 mins off for example. Or can potentially be manually programmed on the time intervals that it can go on and off.
4. has an always on/always off/daylight sensor on - so i can be set to be active only on daylight; this will be govern the function on point 3 above.
Could you help me build this as I am not a tech guy at all.
Look forward to your response,
 
Top