Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7503

Automation, sensing and robotics • Re: Outdoor robot - GPIO SPI connection to a MCP4251 (num-pot)

$
0
0
Hello,



I come back with the previous question because i don't find the solution.

I don't know if a 3.3V command and a 5V on the potentiometers are compatible.

My raspberry pi is able to provide 5V to the MCP4251 but i ignor if the SPI will be destroyed or not because of this voltage (the Raspberry pin allows only 3.3V).



Thanks by advance for your help.



Fafou
Hi there,

According to the MCP4251 data sheet[1] the voltage on the potentiometer pins can not exceed the supply voltage. So, in your case you need to operate the MCP4251 at 5V. However, the digital I/O pins can operate at a different voltage, which is explained in section 8.1 on page 59.

You could also post the details of the stepper controller you are using, in case someone else can see a better way to interface it to the Pi.


[1] https://ww1.microchip.com/downloads/aem ... 22060b.pdf

Statistics: Posted by ame — Sat May 10, 2025 5:03 am



Viewing all articles
Browse latest Browse all 7503

Trending Articles