Auto-cutoff Extension box (plug point) for smart phone charger

Thread Starter

Akshay_1485792859

Joined Jan 30, 2017
8
hai,I am building a extension box in which we can plug in smart phone charger and when charge become 100 % this extension box cut the power to the charger .

1. I can design an app which run on android which produce a specific tone or sound pattern when battery become full , the extension box should recognize this sound pattern and turn the power off .

2. the circuit should be simple like ... the extension board should recognize to the specific sound pattern instead of voice recognition and other stuff ... sound pattern example : Beep-- second delay-- another Beep sound or any other combination or frequency

I have spend a lot of time on this project , please suggest a way making such a circuit ( I intentional avoided Bluetooth ,wifi etc to notify battery status )
 

Alec_t

Joined Sep 17, 2013
15,132
Recognising a sound pattern by analogue means is doable, but more complex circuitry would be involved than if using a MCU. How are your programming skills?
If you go the analogue route, perhaps the MT8870 DTMF decoder IC would be useful.
 

Thread Starter

Akshay_1485792859

Joined Jan 30, 2017
8

Thread Starter

Akshay_1485792859

Joined Jan 30, 2017
8
Recognising a sound pattern by analogue means is doable, but more complex circuitry would be involved than if using a MCU. How are your programming skills?
If you go the analogue route, perhaps the MT8870 DTMF decoder IC would be useful.
I have decent coding skills .. can u explain a bit more , please post a diagram if possible ?
 

Alec_t

Joined Sep 17, 2013
15,132
I have decent coding skills .. can u explain a bit more , please post a diagram if possible ?
I've not used a DTMF IC so don't have a diagram. Try the datasheet, or Application Note if available.
As for the MCU approach, you could use an interrupt-on-change input pin to detect zero-crossings of a sound signal, then count zero-crossings in one or more given intervals to detect a pattern.
 
Top