im kind new to the arduino and im experiencing the following problem. Me and my friend build a circuit with a distance sensor which gets the distance and visualize it. The sensor requires a 5V power and i've connected it directly to the arduino. Now i want to connect a 10K potensiometer to get the analog value but i dont know if i can connect it at the same line.
As you can see i've connected the VCC to the 5V the ground and the echo cable. I've placed the potentiometer and i want to connect the 5V wire next to the sensor's 5V wire. Can i do it or im risking damaging the arduino? Thanks