Hello I would love to know, if it's possible to design an arduino board (Attiny85 chip to fit small boxes and no need for much GPIO) with it's own power supply that takes 230VAC a spits out 12V(for peripherals) and 5V to power actual atmel chip?
I was thinking about finding transformers and rectify the output voltage and then using 7812 etc., but that would be inefficient doesn't it? Also, the transformer is big and heavy :~. Right now I just bought cheap 5V power brick and extracted the pcb from it and revired the terminals, but that requiers getting through the case of the power brick and buying them again and again to build the circuit :~.
Thanks! That is nice, but very expensive. Is there an another way how to make such a supply on pcb and save some money. Are there some smaller transformers, pcb friendly ? It's seems, I have to stick with linear supply.
NedelkaO:
Thanks! That is nice, but very expensive. Is there an another way how to make such a supply on pcb and save some money. Are there some smaller transformers, pcb friendly ? It's seems, I have to stick with linear supply.
How about a 12V switch mode PSU like this that plugs into your box and supplies 12V for peripherals and within the box you use a 7805 voltage regulator to reduce the 12V to 5V for powering the ATtiny.