Legacy Forum: Preserving Nearly 20 Years of Community History - A Time Capsule of Discussions, Memories, and Shared Experiences.

Shifting voltage levels of the GPIO

Based on DMP's Vortex processor / SoC this board is a full computer capable of running a standard Windows and Linux installation on the backpack of your robot.
2 postsPage 1 of 1
2 postsPage 1 of 1

Shifting voltage levels of the GPIO

Post by dsaner » Fri Oct 16, 2009 12:14 am

Post by dsaner
Fri Oct 16, 2009 12:14 am

I have managed to get the parallax Ping sonar working with the roboard (I can provide code if anyone is interested) and am using a simple voltage divider to take the GPIO line from the roboard from 6V to 5V.

I was wondering if there was any clamp circuit that would translate the GPIO values to 5V independently on the voltage powering the roboard. In my case if I change the power to say 9V, I need to change the resistors in the voltage dividers to get 9V down to 5V.

I did find some circuits with diodes, but they would take a fair amount of current once over the 5V level.

Thanks,
-Don
I have managed to get the parallax Ping sonar working with the roboard (I can provide code if anyone is interested) and am using a simple voltage divider to take the GPIO line from the roboard from 6V to 5V.

I was wondering if there was any clamp circuit that would translate the GPIO values to 5V independently on the voltage powering the roboard. In my case if I change the power to say 9V, I need to change the resistors in the voltage dividers to get 9V down to 5V.

I did find some circuits with diodes, but they would take a fair amount of current once over the 5V level.

Thanks,
-Don
dsaner
Newbie
Newbie
Posts: 4
Joined: Sun Oct 11, 2009 12:38 am

RE: Shifting voltage levels of the GPIO

Post by Marsman » Sun Oct 18, 2009 9:24 am

Post by Marsman
Sun Oct 18, 2009 9:24 am

You may want to try using an 7805 or LM317t. Or use the 5V from the USB ports of the RoBoard as power supply for your sensor.
You may want to try using an 7805 or LM317t. Or use the 5V from the USB ports of the RoBoard as power supply for your sensor.
Marsman
Robot Builder
Robot Builder
Posts: 13
Joined: Sun Sep 27, 2009 9:47 am


2 postsPage 1 of 1
2 postsPage 1 of 1