Go to advanced search

by PiGraham
Mon Jun 24, 2013 12:20 pm
Forum: General discussion
Topic: PiMiner article contains link to porn
Replies: 27
Views: 9855

Re: PiMiner article contains link to porn

Adafruit just links to bitmit.net [deliberate non-link there] The problem is Bitmit redirects that randomly - sometimes to "bestsellers", sometimes to "hot auctions" etc.. My guess is that there may be adult content in "hot auctions" at some times of the day there are certainly explicit advert list...
by PiGraham
Mon Jun 24, 2013 11:44 am
Forum: General discussion
Topic: PiMiner article contains link to porn
Replies: 27
Views: 9855

Re: PiMiner article contains link to porn

I see no ads at all on the Adafruit page.
by PiGraham
Mon Jun 24, 2013 10:49 am
Forum: Automation, sensing and robotics
Topic: Avoiding using Voltage Divider
Replies: 29
Views: 11086

Re: Avoiding using Voltage Divider

https://tylerjones.me/wp-content/uploads//2012/11/npn-arduino-rpi-buffer.jpg The left circuit will only drive 3.3 to the Arduino, since as the emitter rises to 3.3 the B-E junction is no longer forward biased and the C-E path turns off. It's safe and should work, since 3.3 will, I think, exceed the...
by PiGraham
Mon Jun 24, 2013 10:43 am
Forum: Automation, sensing and robotics
Topic: Avoiding using Voltage Divider
Replies: 29
Views: 11086

Re: Avoiding using Voltage Divider

What short circuit currents?? If the input turns on the transistor and the Pi turn on the gpio as output low then there is a short from 3.3, through your transistor, into the gpio pin and to ground via the Pio output gate. Not a problem if it can be guaranteed that the gpio is never configured as o...
by PiGraham
Mon Jun 24, 2013 8:51 am
Forum: Automation, sensing and robotics
Topic: Avoiding using Voltage Divider
Replies: 29
Views: 11086

Re: Avoiding using Voltage Divider

Can someone confirm if any of the GPIO lines are guaranteed to reset to a specific state (input?) and stay there throughout booting of any official Raspbian release?
by PiGraham
Mon Jun 24, 2013 8:45 am
Forum: Automation, sensing and robotics
Topic: Pi powered pond skimmer
Replies: 10
Views: 4618

Re: Pi powered pond skimmer

Something that can touch the bottom in shallows is at risk of catching or tangling. non-contact is a safer option. It seems there are fish finder sonar devices for >~£20. E.g. this one Feature: 1. Detect and display grass, short & tall weeds, sand, and rocks on seabed 2. Get the approximate location...
by PiGraham
Mon Jun 24, 2013 8:34 am
Forum: Advanced users
Topic: GPIO initial state
Replies: 8
Views: 14818

Re: GPIO initial state

You can't depend upon the state of the gpios during Pi initialisation. Even if a solution appears to work now it might be broken in a subsequent firmware/kernel release. Is that really true? If so it has some serious implications for many Pi applications.A defined reset state is usually rather impo...
by PiGraham
Sun Jun 23, 2013 7:51 pm
Forum: Automation, sensing and robotics
Topic: Avoiding using Voltage Divider
Replies: 29
Views: 11086

Re: Avoiding using Voltage Divider

simplesi wrote:I set my inputs to be have internal pull-ups resistors - e.g. in Python GPIO.setup(22,GPIO.IN,pull_up_down=GPIO.PUD_UP)
What happens before your Python code executes? Switchable pull-ups may not be there all the time.
by PiGraham
Sun Jun 23, 2013 11:44 am
Forum: Automation, sensing and robotics
Topic: Pi powered pond skimmer
Replies: 10
Views: 4618

Re: Pi powered pond skimmer

This is a fun idea. It's a watery outdoor Roomba!

Sonar seems a good choice for sensor since you mainly want to avoid banks and shallows.
Maybe you could interface to a fish finder gadget.
by PiGraham
Sat Jun 22, 2013 11:36 am
Forum: User groups and events
Topic: Portsmouth Jam 27th July?
Replies: 37
Views: 12853

Re: Portsmouth Jam 27th July?

Good to see some signs of interest.

I was just reading about how to make Jam!
http://raspberryjam.org.uk/make-a-raspberryjam/

http://www.raspberrypi.org/phpBB3/viewt ... 57&t=10615
by PiGraham
Fri Jun 21, 2013 8:53 am
Forum: General programming discussion
Topic: IR distance sensor GP2Y0A21YK0F Voltage to range?
Replies: 6
Views: 14713

Re: IR distance sensor GP2Y0A21YK0F Voltage to range?

As Joan says, the Pi only has digital interfaces on board. This sensor outputs 0.3V to 3V so you could use it as a fixed distance sensor that would change a digital input 0 - 1 at some distance 10cm - 80cm. The alternatives is to use a ADC add on and read the analogue voltage. Perhaps something like...
by PiGraham
Thu Jun 20, 2013 2:07 pm
Forum: Automation, sensing and robotics
Topic: Failsafe(r) use of GPIO pin driving critical applications
Replies: 41
Views: 13124

Re: Failsafe(r) use of GPIO pin driving critical application

Hmm, yes that's possible. But, if I understand what you're suggesting, I think I will loose the ability to set temperatures at will over the internet, because the other thermostat will have precedence over the Pi one way or the other (temps too high, OR temps too low). I already have a thermostat i...
by PiGraham
Thu Jun 20, 2013 6:39 am
Forum: Automation, sensing and robotics
Topic: Failsafe(r) use of GPIO pin driving critical applications
Replies: 41
Views: 13124

Re: Failsafe(r) use of GPIO pin driving critical application

I owe you an apology. I now see that you have used additional components to modify the operation of the 555 to do edge re-triggering. :oops:

Carry on!
by PiGraham
Wed Jun 19, 2013 5:23 pm
Forum: Automation, sensing and robotics
Topic: Failsafe(r) use of GPIO pin driving critical applications
Replies: 41
Views: 13124

Re: Failsafe(r) use of GPIO pin driving critical application

[quote="techpaul"]Actually be dubious about wikipedia look at the datasheet and the modified circuit, the level at which it triggers is 1/3 Vcc and CANNOT be retriggered within its timeout period (and a bit). Look at modification input goes low to trigger, and the charge cap is shorted when the inpu...
by PiGraham
Wed Jun 19, 2013 1:16 pm
Forum: Automation, sensing and robotics
Topic: Failsafe(r) use of GPIO pin driving critical applications
Replies: 41
Views: 13124

Re: Failsafe(r) use of GPIO pin driving critical application

OK, just a couple of comments on "Failsafe use of GPIO pin". More or less in-line with your idea: 1. Monitor the state of whatever the output is supposed to switch via a GPIO input and test in your application to check that the device is on when it's supposed to be and off otherwise. 2. You can use ...
by PiGraham
Wed Jun 19, 2013 12:10 pm
Forum: General discussion
Topic: Raspberry Pi Camera Module
Replies: 16
Views: 3059

Re: Raspberry Pi Camera Module

I don't know.
by PiGraham
Wed Jun 19, 2013 11:47 am
Forum: General discussion
Topic: Raspberry Pi Camera Module
Replies: 16
Views: 3059

Re: Raspberry Pi Camera Module

I take that back it appears they might be produced at Sony which is what I have been assuming but not sure. http://www.youtube.com/watch?v=sLfE-wGZJqk&feature=player_embedded I have been checking Farnell - element 14 website https://export.farnell.com/jsp/raspi/orderPad.jsp?&country=GB for few week...
by PiGraham
Wed Jun 19, 2013 11:17 am
Forum: Automation, sensing and robotics
Topic: How to Interface Automatic Slider mechanism with PI
Replies: 11
Views: 3370

Re: How to Interface Automatic Slider mechanism with PI

If this is a teaching assignment it make sense. It's a simple two-axis CNC. Electronic cams are often use in place of mechanical cams (especially where elaborate or variable cam profiles are required).
by PiGraham
Wed Jun 19, 2013 11:08 am
Forum: Automation, sensing and robotics
Topic: How to Interface Automatic Slider mechanism with PI
Replies: 11
Views: 3370

Re: How to Interface Automatic Slider mechanism with PI

That's sound advice James. A cam or a crank are anothe ways to translate rotation into linear motion, so that would work for direct drive or stepper/servo drive. I can't think of many functional reasons to use a motor driven system. You could vary the cross-sectional profile of the coil (why?) You c...
by PiGraham
Wed Jun 19, 2013 10:14 am
Forum: Automation, sensing and robotics
Topic: How to Interface Automatic Slider mechanism with PI
Replies: 11
Views: 3370

Re: How to Interface Automatic Slider mechanism with PI

Search "leadscrew". Turn a threaded rod with a stepper motor, or DC motor + encoder, and it will control the position of a "nut" on the rod. You can literally use a length of studding (threaded metal rod) and a nut (as in nut and bolt) for a light-duty system. For something more serious you might us...
by PiGraham
Wed Jun 19, 2013 9:51 am
Forum: Automation, sensing and robotics
Topic: Failsafe(r) use of GPIO pin driving critical applications
Replies: 41
Views: 13124

Re: Failsafe(r) use of GPIO pin driving critical application

I would agree that in general multiple systems and multiple UPS for real failsafe. In this case as this is one HVAC system, which will have inbuilt modes that put the unit safe when power fails (no doubt always off), powering one or more Pis from the same mains feed as the HVAC is adequate as neith...
by PiGraham
Wed Jun 19, 2013 7:21 am
Forum: Automation, sensing and robotics
Topic: Failsafe(r) use of GPIO pin driving critical applications
Replies: 41
Views: 13124

Re: Failsafe use of GPIO pin driving critical applications

Graham, how would you do it then? I have searched around somewhat but could not find any other practical solutions. If you have a better method, or know of one, can you share that with us? According to the number of times some of the diagrams in this post have been looked at, there seems to be a lo...
by PiGraham
Tue Jun 18, 2013 9:23 pm
Forum: Automation, sensing and robotics
Topic: Failsafe(r) use of GPIO pin driving critical applications
Replies: 41
Views: 13124

Re: Failsafe use of GPIO pin driving critical applications

Hey, no problem. I wouldn't do it that way but it's your design and your property. Do what gives you peace of mind.
by PiGraham
Tue Jun 18, 2013 4:42 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Output VGA video directly from Pi
Replies: 22
Views: 28664

Re: Output VGA video directly from Pi

I also like the idea of bitbanging a display output. It takes me back to the ZX80/80/Spectrum era! ( One of the original "Raspberry Pi" concept cheap home computers when I was 11! ) Pixel clock for 640x480 VGA is 25MHz. I think the SPI port will clock at 32MHz. Maybe some monitors would tolerate tha...
by PiGraham
Tue Jun 18, 2013 1:52 pm
Forum: Automation, sensing and robotics
Topic: Failsafe(r) use of GPIO pin driving critical applications
Replies: 41
Views: 13124

Re: Failsafe use of GPIO pin driving critical applications

I'm not sure you gain anything in reliability by putting another circuit in series. What are the relative probabilities of the various failure modes? How reliable is your 555 circuit (it could fail)? Is the additional probability of failure due to the 555 circuit outweighed by the probability of the...

Go to advanced search