TripComputer - GPS Trip Com...View Instructable »
That's great! I have like 2 more projects to post here, yikes, have to document the steps, thanks for the visit.
R.O.B. Phone Notification A...View Instructable »
Hey send a picture I want to see what you've come up with! Just put a crontab entry to reboot each day at midnight as a hack, I would have to see the hardware physically to debug.$ sudo crontab -eadd the line at the bottom:0 0 * * * rebootNote: only the root user can do this, the regular pi user don't have enough privilege to do that
Kids Fidget Spinner GameView Instructable »
Send over the finished project! Thanks, doing a science fair "stop watch" table game and Car GPS next, it takes a really long time to finish these. But I'll put new stuff when done.
hey that is cool, can you do the "I made it" button and post a picture then?? thanks
display.py remove the try/catch statements to see what the errors, it's catching the error and hiding it from you currently. My guess is something is wrong with your settings.py settings values.
It's def a python error at this point, you have to comment out the try/catch to see it. remove this line:try:(and at the bottom remove these lines)except (Exception): # Network or other issue, wait 5 minutes time.sleep(300)Run and you'll start to see what the error is, it's catching some error skipping writing to the display, is why you can't get it to output anything
It's a python error at this point, mabye a bad value in your settings.py fileremove the line:try:(and at the bottom, the lines)except (Exception):# Network or other issue, wait 5 minutestime.sleep(300)Run again to see why it's catching an error instead of running the "subprocess.call()" command which would cause the display to start showing things.
OK that's my crontab entry, it always reboots and starts the clock and display running for me. You can just run them yourself and get the display to show the weather right?
wait, so the display *is* working, but the script showing the weather is not? I thought you couldn't communicate to the display, glad you can, that's a big step with the wiring etc.
Here's my command line as a screenshot, the i2cdetect is showing the x27 address for the display and the x70 address for the 7 segment display. I'm running the commands to "clear" "set font size" and print "testing" to the little display screen. If you don't have the clock hooked and just the display, shouldn't matter. They run as 2 different python scripts.
hey you are using a raspberry pi right? the digole executable *is* compiled for it. If you solder the jumper and connect the leads to the PI correctly you should be able to say$> ./digole clear$> ./digole setFont 18$> ./digole printxy_abs 10 178 "testing"
Seems like the display isn't being found or connected by the raspberry pi. $> sudo i2cdetect -y 1you should see a grid with the number 27 in it.the "digole" file is already compiled to drive the display, you have to run$> python display.pyto have the python script start outputting data to the display.
hey did you see the github? I has all the coding you need, you have to run my python script to get the display showing info.https://github.com/khinds10/EnvironmentClock/blob/master/display.pyhttps://github.com/khinds10/EnvironmentClock
Daily SunRise CatcherView Instructable »
The project can just use 1 or 2 tablets pointing to website(s) of your choice that would show useful information.I've made my own websites showed above to get all fancy to show room temperature (using the Raspberry PI broadcasting from the local humidistat). The Living Room and Bedroom temps are from weather clocks (my other instructable broadcasting local temps there).I use a kiosk browser app called simply "Full Screen Browser". I load the URLs manually in it. Thanks for visiting!
I has the little humidistat inside then asks for outside conditions using the darksky.net API, thanks for the visit.
Magic MirrorView Instructable »
Nintendo Classic Home Wifi ...