Comments (11)
Not sure what to say about the MCP3008 Analog Digital Converter - the best approach is to wire up a circuit using it aside form the Pi Power circuit/code and verify that it does/does not work correctly... interference in breadboard circuits can be a problem - keep your leads short, keep it away from monitors or any other potential source of interference
As regards the immediate shutdown, this might be a result of changes in the latest raspi-config
You are following the Pi3 version of the description, right ?
Unfortunately that tool does not seem to list a version number... it has changed twice in recent history (over the last 6 months)
So make sure you have the latest version of the Command Line Tool (not the GUI version)
'sudo raspi-config' -> #8 Update ...
In the latest version go #5 Interfacing Options -> P6 Serial -> and then...
Would you like a login shell to be accessible over serial? NO
Would you like the serial port hardware to be enabled? YES
-> OK -> Finish ... then reboot and see if that solves the issue
The prior version only had one option and I suspect this might be part of the problem.
I'll try and update the software on my pi_power test circuit and then test it out myself - but unfortunately it will be a few days before I can get to this...
Let me know how it works...
from pi_power.
No luck on this end so far. I can't wait for it to be something stupid (always is).
I did the update, and resetup the interfacing options, still no luck. Also, yes, its wired as per your diagram for the pi3.
from pi_power.
I was messing around with various setups and managed to boot it with a usb cable (although not even close to a way that should be reproduced...)
Anyways, during the boot up process my eye caught a line "[FAILED] Failed to start Configure Bluetooth Modems connected by UART." Confusing because I don't have anything bluetooth connected, think that might be part of my aches?
I also noticed that the voltage drops from the battery voltage to the just after the switch. In my current case 3.87v to around 1.52v. When I disconnect the resistor going to ground it goes back to the proper voltage. Not entirely sure if this is intended or not.
from pi_power.
from pi_power.
Interesting. Unfortunately my setup kind of requires it to be through the gpio pins. I'm mashing my RetroPie project into a Wii u gamepad. I might be able to squeeze a USB cable in there, but I'm fairly sure the original project I'm basing my on went through the gpio pins (and I do know the risk of blowing up the pi from doing this) but I know he used your script and wiring to power the thing.
Here's a link to the project, maybe you see something I don't with the limited amount of information and pictures provided. http://sudomod.com/forum/viewtopic.php?f=13&t=1607
I'm going to reinstall RetroPie tonight and see if that makes a difference. Maybe something else I have is disabling this from working.
And for the sake of completing this, I'll power it through the USB to see if there is an impact.
from pi_power.
from pi_power.
I believe it's just the poly fuse. Still, not sure of the culprit, but that voltage drop seems suspect.
from pi_power.
Partial success, granted only half is wired in. I turned off the second option "serial port hardware" and it'll boot until I stop pressing the momentary switch.
from pi_power.
On further examination, having either configuration on the serial option nets the same result. In addition, using a capacitor or not across the en/ground resistor has the same result.
I've also stripped a USB cable, so we can rule that out. Also, I can rule out anything I might have changed software wise. I reflashed my SD card to RetroPie 4.1 and then updated it. I'm probably going to reinstall one more time and not update just for the sake of it.
from pi_power.
Well, I reinstalled on 4.1 RetroPie and left the raspi-config tool, disto update, and upgrade alone. Power up works now. Haven't wired the power down portion back in, but I'm hopeful.
Just praying the upgrade doesn't make me miss out on some functionality I want...
from pi_power.
As for the battery monitor, I had to use gpio pins 5,6,19,26, gnd. So that works now. I guess we can close this with the solution of "don't upgrade anything and hope for the best.
from pi_power.
Related Issues (11)
- Can we discharge lipo till 3.3v
- electrolytic capacitor
- spi with pitft HOT 1
- Automatic shutdown HOT 1
- does this work for the sparkfun fuel gauge as well, or just the adafruit version? HOT 1
- Boot issue whilst having battery and power plugged in.
- Power Boost HOT 3
- Automatic Shutdown Just Before Login HOT 1
- Green LED on Powerboost 1000C HOT 1
- Incorrect voltage reading on ACD analog pins
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pi_power.