Hello Today we will try LD1117 Voltage Regulator.
It’s the one of most frequently used IC in digital circuit that drops to specific output voltage from some higher input voltage. There’re number of versions by designs and output voltages, mine is LD33cv that has output voltage 3.3v. Check below. those images are from its datasheet
Make your circuit as below
Arduino code would be like following.
void setup(){ Serial.begin(9600); } void loop(){ Serial.print(float(analogRead(0))*5/1024); Serial.println(" volt"); delay(100); }
It’s not quite 3.3v but close enough.