Go to advanced search

by charlino10
Sun Jan 07, 2018 9:00 pm
Forum: Troubleshooting
Topic: Relay activation crashing pi
Replies: 0
Views: 202

Relay activation crashing pi

I have a pi with a 4 channel optoisolated relay module- the relays output 12v. This has been working fine all summer turning small water pumps on and off. I've tried to add another relay- so a 240V power relay activated by the 12v output of one of the relays on the board. But... the 240v relay shutt...
by charlino10
Fri May 19, 2017 6:03 pm
Forum: General discussion
Topic: Wireless battery sensors
Replies: 1
Views: 1009

Wireless battery sensors

I have a pi with a 'Slice of Radio' addon, and several temperature sensors that run on coin cell batteries by Ciseco. Ciseco (then called 'Wireless Things') unfortunately closed down last year, taking the vast majority of manuals and things with it. Some of my modules have failed and need replacing,...
by charlino10
Thu Feb 23, 2017 9:34 pm
Forum: General discussion
Topic: Creating my own network to connect devices to a pi?
Replies: 3
Views: 1034

Re: Creating my own network to connect devices to a pi?

Thanks for that link, I'll give it a go! The pi is in a metal container, but an external antenna would be fine- we drilled plenty of holes to mount the camera and sensors already! The pi has a real time clock, so it keeps accurate time. Certain times of day may work, or perhaps a button to turn it o...
by charlino10
Thu Feb 23, 2017 8:55 am
Forum: General discussion
Topic: Creating my own network to connect devices to a pi?
Replies: 3
Views: 1034

Creating my own network to connect devices to a pi?

I have a Raspberry Pi CCTV camera running at an allotment- powered by a lead acid battery and solar panel. It has a PIR sensor and uses RaspiCam to take a photo when the sensor is triggered. It works and all is well and good. However- to look at the photos you have to get access to the lockbox it is...
by charlino10
Sat Jan 02, 2016 2:42 pm
Forum: Troubleshooting
Topic: Jessie, Systemd and finding python modules
Replies: 3
Views: 2176

Re: Jessie, Systemd and finding python modules

This is probably a terribly way to do it.. but adding the following to the python script made sure it looked in the right place for the modules: try: import sys except ImportError: print ("in sensors, importing sys failed") sys.path.append("/home/pi") sys.path.append('/home/pi/ABElectronics_Python_L...
by charlino10
Sat Jan 02, 2016 11:31 am
Forum: Troubleshooting
Topic: Jessie, Systemd and finding python modules
Replies: 3
Views: 2176

Jessie, Systemd and finding python modules

So I've upgraded to Jessie and crontab @reboot no longer works as expected, so I took the plunge to update everything to use systemd I have a python3 script that runs an unattended service- which systemd starts brilliantly! However my script can't find things when running, and I can't work out how t...
by charlino10
Tue Dec 29, 2015 7:53 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5106
Views: 1406259

Re: RPi Cam Web Interface

It is a wired connection (and I've tried connecting it to two different router ports!). I've tried it on a Model B Pi (with Wheezy), and a B+ (Jessie). When it dies the camera light stays on. Web side is fine before the process is started- I can go and navigate around the pages just fine. When the p...
by charlino10
Mon Dec 28, 2015 5:15 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5106
Views: 1406259

Re: RPi Cam Web Interface

Anyone else having a problem where the pi works fine, until you try to access the RPi_Cam_Web_Interface page, and then the network adapter drops out and the pi can't find the network anymore? It happens on two seperate pi's (a model B and a B+), on Wheezy and Jessie. So start the pi- autostart disab...
by charlino10
Sat Nov 28, 2015 5:34 pm
Forum: General discussion
Topic: Raspberry pi and reading pH
Replies: 4
Views: 1387

Re: Raspberry pi and reading pH

riklaunim wrote:I have that I2C pH interface board - it works but that wasn't with RPi :)
That makes it all look really easy!
by charlino10
Sat Nov 28, 2015 9:03 am
Forum: General discussion
Topic: Raspberry pi and reading pH
Replies: 4
Views: 1387

Re: Raspberry pi and reading pH

Oh yeh- am aware it is just an interface! Cheap pH probes on ebay are less than £10, and would be accurate enough for my purposes.

It is the interface bit I need- I can sort out an adc on the pi, but have never managed to get an op-amp working so I'd like that bit to be ready made!
by charlino10
Fri Nov 27, 2015 8:05 pm
Forum: General discussion
Topic: Raspberry pi and reading pH
Replies: 4
Views: 1387

Raspberry pi and reading pH

A (cheapish!) solution for reading pH via a pi? (I was hoping for less than £50?) Has anyone use this successfully? https://www.sparkyswidgets.com/portfolio-item/miniph-i2c-ph-interface/ There's some code but I'm not clever enough to understand it! (also only available on backorder right now) Thanks...
by charlino10
Fri Oct 30, 2015 11:11 am
Forum: General discussion
Topic: What do you use your pi for?
Replies: 7
Views: 1219

Re: What do you use your pi for?

Now I feel much less guilty about running multiple pi's around the house!

(Also: how have I never discovered the word 'domotics' before?!?)
by charlino10
Tue Oct 27, 2015 10:05 pm
Forum: General discussion
Topic: What do you use your pi for?
Replies: 7
Views: 1219

What do you use your pi for?

What do you use for your pi for? I have one doing some monitoring and automation on the house- it watches a load of temp sensors and controls the central heating, and sends emails on certain events- like the aquarium overheating or the freezer door being left open. I have one as a media PC for my ve...
by charlino10
Tue Aug 11, 2015 6:04 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: i2c bmp180 sensor in python3
Replies: 9
Views: 3026

Re: i2c bmp180 sensor in python3

I got smbus installed in python3, as the easiest solution!

These instructions did the trick: http://www.linuxcircle.com/2015/05/03/h ... -python-3/
by charlino10
Mon Aug 10, 2015 9:55 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: i2c bmp180 sensor in python3
Replies: 9
Views: 3026

Re: i2c bmp180 sensor in python3

I have many sensors that are queried in the same script- and many of the existing ones only work in python3 (the quick2wire api I am using with all my other sensors is python 3 only- so one way or another I have to rewrite something to get it all working at the same time). Can't get the smbus to wor...
by charlino10
Mon Aug 10, 2015 6:33 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: i2c bmp180 sensor in python3
Replies: 9
Views: 3026

i2c bmp180 sensor in python3

Has anyone had the bmp180 barometric pressure sensor working in python3? It works in python2 using smbus, but I can't get smbus working in python3- and using a different i2c api is a bit beyond me. I am using the quick2wire i2c interface for other sensors, but without any examples of the bmp180 I ca...
by charlino10
Wed May 20, 2015 8:53 pm
Forum: Troubleshooting
Topic: ADCPi Reading low voltages
Replies: 1
Views: 520

Re: ADCPi Reading low voltages

Solved! I emailled this same question to ABElectronics, who make the ADCpi, and within 48 hours they'd ordered a humidity sensor and worked it out! The HIH4000 needs at least 80KOhm between the output pin and ground, but the internal voltage divider arrangement inside the ADCPi wasn't putting enough...
by charlino10
Mon May 18, 2015 10:14 pm
Forum: Troubleshooting
Topic: ADCPi Reading low voltages
Replies: 1
Views: 520

ADCPi Reading low voltages

I have an AbElectronics ADC Pi - https://www.abelectronics.co.uk/products/3/Raspberry-Pi/17/ADC-Pi-V2---Raspberry-Pi-Analogue-to-Digital-converter Analog to Digital Converter based on the MCP3424. Connecting a humidity sensor to it- the HIH4000, which is a 3 pin sensor (datasheet here- http://tinyur...
by charlino10
Thu Jan 01, 2015 8:39 pm
Forum: Beginners
Topic: GPIO- Can I stack....
Replies: 1
Views: 1856

GPIO- Can I stack....

Having already blown one pi up with some indiscriminate stacking of GPIO boards (some purchased and some homemade), I'm attempting to understand it a bit better. Can I stack a board that uses i2c ( http://www.sheepwalkelectronics.co.uk/product_info.php?products_id=33 - the v1 1wire host adapter from...
by charlino10
Thu Nov 13, 2014 8:53 pm
Forum: Beginners
Topic: Detected whilst a button is pressed
Replies: 3
Views: 812

Re: Detected whilst a button is pressed

And the answer is... for me to be less of a dunce! That the LED was lighting up was pure coincidence- as I'd plugged it into the wrong output (at an angle under the ribbon cable it looked like the right one!). Plug it into the correct output and it all works as expected- once turned on it stays on u...
by charlino10
Thu Nov 13, 2014 6:53 pm
Forum: Beginners
Topic: Detected whilst a button is pressed
Replies: 3
Views: 812

Re: Detected whilst a button is pressed

Yep the script is still running- every time I press the button the led is lit up- which admittedly it what I want to happen- but I just can't understand how!
by charlino10
Wed Nov 12, 2014 10:00 pm
Forum: Beginners
Topic: Detected whilst a button is pressed
Replies: 3
Views: 812

Detected whilst a button is pressed

I can detect when a button is pressed or released, but what is the best way to ensure something is triggered the whole time the button is pressed down? All I'm trying to do is have an LED lit whilst the button is held down. I was trying to have the LED light when the button was pressed (rising edge)...
by charlino10
Sat Oct 11, 2014 8:52 am
Forum: Troubleshooting
Topic: EOFError- EOF Read where not expected
Replies: 3
Views: 2491

Re: EOFError- EOF Read where not expected

DougieLawson wrote:On my Raspbian system there's already a python module called "config". Try changing your module name to picoopconf.py
Genius! That did the trick. And I hadn't though of that at all!

Thank you!
by charlino10
Fri Oct 10, 2014 11:42 pm
Forum: Troubleshooting
Topic: EOFError- EOF Read where not expected
Replies: 3
Views: 2491

EOFError- EOF Read where not expected

I get this error when I try and import a file: Picoop1.py, line 7, in <module> import config EOFError- EOF Read where not expected The file doing the importing is picoop1.py: #!/usr/bin/env python3 import sys; sys.path.append("/home/pi") try: import config ##this being line 7 except ImportError: pri...
by charlino10
Sun Oct 05, 2014 8:20 am
Forum: Troubleshooting
Topic: Running a bottle server on startup
Replies: 4
Views: 3522

Re: Running a bottle server on startup

Any other ideas on how to run a gpio script on startup? It would be an awesome project if it wasn't for this very last step.. (though many people wouldn't need an automatic chicken coop door opener...)

Go to advanced search