we can use a BC547 (Vcbo = 50, Vceo = 45),
Then that is fine. Some transistors can not stand the base being that much higher than the collector.
Hi,I guess that what I am going to ask must have already been asked before, but I promise I have tried hard a lot in order to find it but without success.I am developing a project with Arduino where it is necessary saving some data when Arduino turns off. I am using the EEPROM to get it.The problem I have is that I am not really able to DETECT when Arduino is turning off. I use a capacitor which let Arduino keep on for 1 second after power turns off. 1 second is certainly enough since I am saving 10 bytes. I do know the prgramation I have written is ok because I have checked it with a button FALLING like power would do.I need some circuit so that a digital pin can detect 1 when powering and 0 when turning off. I have tried wiring the input directly to the power but although power turns off, the pin doesn't detect it (I have also tried with a pullup resistor).Of course I am using an external 5V supply power.Waiting ideas. Thanks a lot.