View Single Post
  #2   Spotlight this post!  
Unread 28-07-2016, 12:44
euhlmann's Avatar
euhlmann euhlmann is offline
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 298
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
Re: Reading battery voltage Raspberry Pi

The Pi does not have analog inputs by default. However, by using an ADC you can read analog voltages. I've had good results with the MCP3008 in the past (although I wouldn't recommend using Adafruit's tutorial code for it - use the Pi's actual SPI libraries; they should be more reliable)
__________________
Creator of SmartDashboard.js, an extensible nodejs/webkit replacement for SmartDashboard


https://ligerbots.org
Reply With Quote