Having trouble with my digital outputs on my Arduino Due.
They are supposed to output 3.3 V on each pin but im barely getting 1.8 V using two of them to active a relay switch that needs 3 V and 120 mA.
What is going on ?
Having trouble with my digital outputs on my Arduino Due.
They are supposed to output 3.3 V on each pin but im barely getting 1.8 V using two of them to active a relay switch that needs 3 V and 120 mA.
What is going on ?
Did you forget to set the pins to OUTPUT?
no it is set to output. i set pins 30 and 40 digital pins to output high to make sure the switch activates and im reading 1.8 V across the relay switch.
i plugged the relay in the 3.3 V pin and measured current and the switch turned on and it was drawing 100 mA
is the arduino due regulating the voltage on the digital pins or something? am I coding the pins wrong.
MrWhite:
i plugged the relay in the 3.3 V pin and measured current and the switch turned on and it was drawing 100 mA
100mA is way more than it is safe to pull out of a digital pin. If it pulls that much current then you need to be using a transistor to switch it. You're lucky if you haven't smoked the pins already.