You are a beginner with Dasduino. Or electronics? A specific module caught your eye, but you do not know how to use it? Do not worry, HUM is here for you! How to Use Module (HUM) is a blog tutorials series by soldered where you will find all you need in order to begin working with your favorite module. Tutorials include: technical characteristics, work principle, instructions on how to connect module with Dasduino and the basic code. Everything else is left to your imagination.


This miniature AC-DC power supply is a simple solution for supplying Dasduino or some other smaller project that operates at 5V. It is simple, add AC voltage of 230V from the plug to it, and it will provide 5V with the maximum of 700mA, which is 3.5W. What is best, the power supply itself is very small and suitable for every housing. This power supply is great for projects that must operate constantly, e.g. for data collection throughout the whole day, but it is not suitable for projects that require current larger than 700mA. This circuit transforms delivered voltage of the urban network into lower one and corrects it using the diode and “smoothes it out” using the capacitor which is appropriate for supplying Croduino or some other small device that operates at 5V.

• Input voltage: 85 – 265V AC
• Output voltage: 5V DC
• Maximum output current: 700mA
• Dimensions: 3 x 2 x 1.8 cm


NOTE: Using this module, you will operate with high voltages! Apply all safety measures, make sure to turn the electricity off before connecting anything and, after that, isolate the part that is under high voltage.

This module has no labels on it, so the best way to connect it would be to turn it around as shown in the image below. On the left side we connect the plug, once again, be safe because you are operating with high voltages! The plug has a phase (brown or red color) and neutral (blue or black color) wire and it does not matter which is connected first because the current is alternating. On the right side there are three connectors. Looking from the top down: first we connect the conductor that leads to Vin input of the Croduino to the first one, and on the third connector, we connect the GND.