Go to advanced search

by greenleaf108
Mon Nov 19, 2012 1:10 am
Forum: Troubleshooting
Topic: Debian: Power down without proper shutdown
Replies: 19
Views: 8923

Re: Debian: Power down without proper shutdown

There's definitely something that sometimes goes wrong with the RasPi is powered down abruptly without a proper shutdown. It's something worth thinking about, as many people will want to use these in portable or headless devices that won't have normal console output for sending a shutdown command. I...
by greenleaf108
Sun Nov 18, 2012 10:45 pm
Forum: Troubleshooting
Topic: Storage - Very Unstable
Replies: 6
Views: 916

Re: Storage - Very Unstable

Trying the latest image now. My power supply is a Samsung Galaxy phone charger, 5 volts, 1 amp. I had no idea this thing would be so sensitive. Do you all have a recommended power supply? Or will a decent iPhone/Samsung charger do the trick? I take it that plugging the raspi into any available USB p...
by greenleaf108
Sun Nov 18, 2012 10:08 pm
Forum: Troubleshooting
Topic: Storage - Very Unstable
Replies: 6
Views: 916

Re: Storage - Very Unstable

Ok, I think I figured out why this thing is so unstable; the default Raspbian filesystem is ext2, not ext3. Why? Why not use a journaling filesystem like ext3 which is much more resistant to corruption caused by unexpected shutdowns? Fortunately I was able to plug the SD card into my other Linux mac...
by greenleaf108
Sun Nov 18, 2012 9:47 pm
Forum: Troubleshooting
Topic: Storage - Very Unstable
Replies: 6
Views: 916

Storage - Very Unstable

So while tinkering around with my Raspberry Pi over the past few weeks I've come to the conclusion that the storage is not stable or "production-ready" at all. While I'm usually very careful to power down the unit with the "shutdown" command, there are occasions where I lose network connectivity or ...
by greenleaf108
Tue Nov 13, 2012 5:01 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: GPIO Handling with Python
Replies: 3
Views: 1409

Re: GPIO Handling with Python

So if I wanted to say, monitor a button to see whether it was pressed - is there a way to do it without this sort of thing? while True: if button_status = "high": do something sleep 0.5 Most of the sample code I've looked at so far includes some kind of loop that waits for input. This is what I want...
by greenleaf108
Tue Nov 13, 2012 4:13 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: GPIO Handling with Python
Replies: 3
Views: 1409

Re: GPIO Handling with Python

Perfect, this is exactly what I was looking for.
by greenleaf108
Tue Nov 13, 2012 3:27 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: GPIO Handling with Python
Replies: 3
Views: 1409

GPIO Handling with Python

So I'm wondering, what's the best method to listen for GPIO events on the Raspberry Pi? I have the Python RPI.GPIO module installed and have played around with it a bit. Would you have a daemon program constantly running and polling the GPIO pins for input? Would it be better to have the GPIO handli...
by greenleaf108
Mon Nov 12, 2012 10:04 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: BlinkM + I2c working with little alterations
Replies: 9
Views: 6669

Re: BlinkM + I2c working with little alterations

Also curious if there's an easy way to say "fade to $RGB" where RGB would be a specific color. That way the color of the BlinkM could easily be synced with the temperature, etc.
by greenleaf108
Mon Nov 12, 2012 9:58 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: BlinkM + I2c working with little alterations
Replies: 9
Views: 6669

Re: BlinkM + I2c working with little alterations

SDC: Thank you for posting your BlinkM i2c code here. I'm going to try this out when I get home later today. Question for you; is it possible to replace any of the built-in scripts with your own? What I'm trying to do is create an ambient weather station, where the script would change based on the c...

Go to advanced search