Hi, I'm relatively new to this and trying to figure out what exactly is going on when we power components using the arduino board, or introduce other sources of power as well.
I was playing around with a 9in1 sensor shield (with the DHT11, LM35, buzer etc), seeing if I could still run a previous project with this shield attached. [the original project: 0.96inch adafruit oled (3.3v) that report distance from HC-Sr04 range finder (5v)]
I discovered that this didn't work using power from shield pins, as this shield board operates at 5V and the oled requires 3.3v. I then tried using a buck that could provide 3.3v from a 9v battery, by attaching vcc & gnd from the oled to the buck. This also didn't work.
However, when I attach the power ports from both the sensor and the oled (to 5v and 3.3v respectively) to the buck, then the system works again and the range is displayed on the oled (after a reset). Why is this?
Impossible to say without seeing clear, hand drawn (pencil and paper) wiring diagrams for each case, with pins and parts labeled. Post links to the modules.