Go to advanced search

by tbd.pi
Sat Oct 03, 2015 11:50 am
Forum: General discussion
Topic: Sensor working 24/7 script
Replies: 11
Views: 1288

Re: Sensor working 24/7 script

jehutting even if you use the interrupt, you've still got to make the program wait in some way. How do you avoid the loop?
by tbd.pi
Sun Sep 20, 2015 4:34 am
Forum: Automation, sensing and robotics
Topic: EZ0 distance sensor measurement
Replies: 2
Views: 594

Re: EZ0 distance sensor measurement

Thanks for the heads up. Re-reading my post, it seems like I didn't really ask a question. The question being, is either method more accurate when it comes to hooking up the MCP3008? Or is either way acceptable? I have the pi's 3.3v hooked up to the IC, and the 5v of the pi hooked up to the EZ0 in t...
by tbd.pi
Sun Sep 20, 2015 3:06 am
Forum: Automation, sensing and robotics
Topic: EZ0 distance sensor measurement
Replies: 2
Views: 594

EZ0 distance sensor measurement

I have an EZ0 sonar distance sensor hooked up to the pi. Most of the tutorials I find on using it involve the Arduino but I want to use this with the Pi. I have followed a tutorial on Analog Sensors and hooked up the EZ0 on 5v from the pi, the ground and the analog to channel 0 on the mcp3008. I do ...
by tbd.pi
Thu Sep 17, 2015 8:08 pm
Forum: General discussion
Topic: Controlling multiple RGB Leds
Replies: 5
Views: 3129

Re: Controlling multiple RGB Leds

I do like the idea of using the Neopixels, I have a Neopixel stick that I've been meaning to get to but that won't do quite what I want of it right now. The RGB leds are what I'm focused on right now. Thank you for that joan, I appreciate the detail as always. If I might ask some dumb questions; - H...
by tbd.pi
Thu Sep 17, 2015 5:50 pm
Forum: General discussion
Topic: Controlling multiple RGB Leds
Replies: 5
Views: 3129

Controlling multiple RGB Leds

I am certain this has been asked and answered a lot, but I can't a post with an explanation. I'm looking to control multiple RGB leds from a PI, I've seen a variety of different ways of doing this and am slightly confused as to how to get it working. I have an Adafruit TLC59711 board and I'm sure I ...
by tbd.pi
Wed Jul 08, 2015 2:32 am
Forum: Automation, sensing and robotics
Topic: Pressure Gauge for pool
Replies: 3
Views: 1131

Re: Pressure Gauge for pool

Thanks for the replies. Just for the record, I wasn't considering trying to take the mechanical reading of the current gauge and converting that somehow. I figured I would need something else in there to be able to achieve my goal. Looks like the sensor you posted Dougie would do the trick. I think ...
by tbd.pi
Tue Jul 07, 2015 5:04 pm
Forum: Automation, sensing and robotics
Topic: Pressure Gauge for pool
Replies: 3
Views: 1131

Pressure Gauge for pool

I'm trying to discover if it's possible to monitor my pool equipment remotely. I want to start with the pressure gauge that monitors the flow of water to/from the pool. Currently, this looks something like this Pool Spa Filter Water Pressure Gauge on Amazon I might be searching the wrong things, but...
by tbd.pi
Tue Nov 11, 2014 9:26 pm
Forum: General discussion
Topic: Show day and light world map on the Raspberry Pi
Replies: 12
Views: 4085

Re: Show day and light world map on the Raspberry Pi

You mean you want to serve this, or just access a map that looks like that on the pi? Creating one of those maps isn't a pi specific problem, although you will have to look at how you sync the clock on the pi (I've not needed to do that yet) as it doesn't have a RTC and wouldn't be accurate unless y...
by tbd.pi
Fri Oct 31, 2014 4:44 am
Forum: Automation, sensing and robotics
Topic: Triggering from GPIO
Replies: 3
Views: 703

Re: Triggering from GPIO

Seems I don't need anything extra.If I just put a wire to the board and output 0 for about 50ms, that's sufficient to do what I need. Fun, because I spent 3 hours trying to learn about this, got a transistor working, then just thought "what if".. Now I have about 5 hours until my daughter wakes up a...
by tbd.pi
Thu Oct 30, 2014 2:03 pm
Forum: Automation, sensing and robotics
Topic: Triggering from GPIO
Replies: 3
Views: 703

Re: Triggering from GPIO

I don't know about a tech sheet, this is the board I am using http://www.adafruit.com/products/2133
by tbd.pi
Wed Oct 29, 2014 8:53 pm
Forum: Troubleshooting
Topic: Rc.local edit - 'can't cd to' error on boot....
Replies: 7
Views: 2459

Re: Rc.local edit - 'can't cd to' error on boot....

You shouldn't apologize for asking questions, we all have to start somewhere and that's a really simple one to fall foul of, especially if you're from a none *nix world.
by tbd.pi
Wed Oct 29, 2014 5:18 pm
Forum: Automation, sensing and robotics
Topic: Triggering from GPIO
Replies: 3
Views: 703

Triggering from GPIO

I have an Audio Fx sound board from Adafruit, and it has 10 channels from which I can trigger sounds. I have a momentary switch hooked up and it works great, I can press the switch, trigger the sound. But now I'm looking to do this from software. If I hook up GPIO #23 (for example) with a wire to th...
by tbd.pi
Mon Oct 27, 2014 3:30 pm
Forum: Automation, sensing and robotics
Topic: Controlling multiple things at once
Replies: 2
Views: 737

Re: Controlling multiple things at once

Thanks as always for the reply Joan. I broke this out a little more and tested each piece individually. LEDs, I had screwed up the numbers a little, the servo code worked fine. Originally I had started the LEDS flashing and left the servos alone on the main loop, so I went back to the threading and ...
by tbd.pi
Mon Oct 27, 2014 1:01 pm
Forum: Automation, sensing and robotics
Topic: AUTOMATION USING OPENHAB
Replies: 2
Views: 1084

Re: AUTOMATION USING OPENHAB

What have you got working so far? It's useful to tell people how much you have done, where you're struggling. Expecting people to contact you and help you out with a school project isn't sharing any of that knowledge in a forum for other people to learn from.
by tbd.pi
Sun Oct 26, 2014 12:33 pm
Forum: Automation, sensing and robotics
Topic: Controlling multiple things at once
Replies: 2
Views: 737

Controlling multiple things at once

I have LEDs lighting up, I can use RPi.GPIO to fade them etc. I can control servos, I've used the example that I was given from Joan and I finally got the board working from adafruit so I have options and I just got an adafruit Audio FX sound module that is working nicely. However, I just tried to p...
by tbd.pi
Fri Oct 24, 2014 5:00 pm
Forum: Beginners
Topic: Compile raspberry serial number to sd card
Replies: 36
Views: 4421

Re: Compile raspberry serial number to sd card

What is the application doing, and where are you planning on actually delivering it? If the pi is pre-installed, has a strong username/password set and you're not allowing the user access to that, then I'm not sure what you're worried about. You've already gone and deterred a good percentage of peop...
by tbd.pi
Fri Oct 24, 2014 3:53 pm
Forum: Beginners
Topic: Compile raspberry serial number to sd card
Replies: 36
Views: 4421

Re: Compile raspberry serial number to sd card

I want to do that but don't know how to that's why i was asking for a tutorial. Can you assume access to the internet? Are you distributing the pi with the software pre-installed? Will your users have login/password to the pi? How many users/customers are you aiming to distribute this amongst? The ...
by tbd.pi
Fri Oct 24, 2014 3:05 pm
Forum: Beginners
Topic: Compile raspberry serial number to sd card
Replies: 36
Views: 4421

Re: Compile raspberry serial number to sd card

Are you trying to protect a piece of software you've developed and are deploying on the pi? What's the use case? If you can require internet connection, then you could "dial home" to a licensing system. If no internet, you could also come up with a key generator of some sort for that requires you gi...
by tbd.pi
Fri Oct 24, 2014 1:17 pm
Forum: Beginners
Topic: Compile raspberry serial number to sd card
Replies: 36
Views: 4421

Re: Compile raspberry serial number to sd card

I think the general consensus appears to be that you can't really protect the SD card or the contents of it. Tools that copy cards don't generally care or interact with the contents of them, they'll just take a copy of the contents. Maybe if you shared a little more about what you're trying to achie...
by tbd.pi
Thu Oct 23, 2014 5:32 pm
Forum: Beginners
Topic: Compile raspberry serial number to sd card
Replies: 36
Views: 4421

Re: Compile raspberry serial number to sd card

I can't help you, and I certainly don't want to hijack the thread, but I would like to understand the use case, why would you want to limit an SD card to a single Pi? The only thing I can imagine was if you were selling an application that used the Pi and didn't want the consumer to be able to just ...
by tbd.pi
Mon Oct 20, 2014 6:17 pm
Forum: Other projects
Topic: School Science Experiment
Replies: 7
Views: 2036

Re: School Science Experiment

Does "science experiment" have any bounds? If not, isn't the purpose of the challenge for you to use your imagination? I'm not trying to be difficult, but why don't you try sharing some of the ideas you've had so far and seeing if we can't help you out?
by tbd.pi
Mon Oct 20, 2014 4:42 am
Forum: Automation, sensing and robotics
Topic: Correct way of wiring IR distance sensor
Replies: 1
Views: 705

Correct way of wiring IR distance sensor

I have a Sharp 100-500cm IR distance sensor. I've tried to follow the blog posts online, but can't figure it out. I have wired up an MCP3008 as per http://jeremyblythe.blogspot.co.uk/2012/09/raspberry-pi-hardware-spi-analog-inputs.html and I've tried to follow the directions from Adafruit on wiring ...
by tbd.pi
Wed Oct 15, 2014 3:15 pm
Forum: User groups and events
Topic: Southern New Jersey
Replies: 10
Views: 3633

Re: Southern New Jersey

I know this is a little old now, but did anybody get anything going in NJ? I'm at the shore, so north/south, doesn't really matter where.
by tbd.pi
Sat Oct 11, 2014 11:10 am
Forum: Automation, sensing and robotics
Topic: Local Pi->* Communication
Replies: 4
Views: 837

Re: Local Pi->* Communication

I read my question now and I realize that it's pretty obvious, the wireless network route! I guess my brain wasn't going there because I was really thinking about independence from my home (and not pointing that out), because my daughters teacher has expressed an interest in seeing the end result. I...
by tbd.pi
Fri Oct 10, 2014 9:00 pm
Forum: Automation, sensing and robotics
Topic: Local Pi->* Communication
Replies: 4
Views: 837

Local Pi->* Communication

I'm working on a project with my daughter for Halloween. I want to automate the movement of Halloween decorations. So, with the help of Joan, pigpio and some very helpful members I have managed to get multiple servos working, I've figured out how to get motion sensors (working on range sensor), LEDs...

Go to advanced search