Go to advanced search

by chorlton2080
Thu Jul 11, 2013 6:31 pm
Forum: HATs and other add-ons
Topic: Remove solder from within Humble Pi holes
Replies: 12
Views: 2996

Remove solder from within Humble Pi holes

Hello Whilst I have been successful in removing a header connector from the Humble Pi board (via the destructive approach), I now have solder collected in the holes of the board. I can't get close enough with a solder pump to remove them to allow a new extra tall pin header to be inserted prior to s...
by chorlton2080
Wed Jul 10, 2013 7:18 pm
Forum: General programming discussion
Topic: Getting Pi to send email
Replies: 2
Views: 1385

Re: Getting Pi to send email

Yes. I would say you have all the elements of what you would need already there. Now it is just thinking about the structure of the code as the previous post says and reuse.

Looks like a nice project.
by chorlton2080
Wed Jul 10, 2013 7:07 pm
Forum: Camera board
Topic: Lightweight python motion detection
Replies: 259
Views: 294449

Re: Lightweight python motion detection

To have this run automatically on boot: sudo nano /etc/rc.local I have the motion detect python script in a "scripts" folder within the user space. So I would add the following before the last line (the exit 0): sudo python /home/pi/scripts/motiondetect.py I don't think you need "sudo...
by chorlton2080
Fri Jul 05, 2013 8:09 pm
Forum: General programming discussion
Topic: rc.local won't execute python mailer script (solved)
Replies: 11
Views: 12269

Re: rc.local won't execute python script on identical RPi

Looks like it's solved. For some reason my second RPi is slightly quicker to boot and therefore attempts to execute the script before the WiFi adapter has obtained an IP address, thus no internet socket yet exists.This is probably because this is a fresh install and I haven't added any services like...
by chorlton2080
Fri Jul 05, 2013 7:51 pm
Forum: General programming discussion
Topic: rc.local won't execute python mailer script (solved)
Replies: 11
Views: 12269

rc.local won't execute python mailer script (solved)

Hello I have two RPi's. On the first I have a startup mailer written in Python which is called via rc.local. This works well. I've copied the rc.local and the python script from the first RPi to the second. I've set the execution bit for the rc.local file. If I do the following once I've logged in I...
by chorlton2080
Tue Jul 02, 2013 9:52 pm
Forum: Python
Topic: Apache2 and Python to call raspistill
Replies: 4
Views: 4281

Re: Apache2 and Python to call raspistill

Thanks for this. The camera LED flashed (this is progress), but I've moved on to the next problem (sorry about this) Now I get the following error: IOError: [Errno 2] No such file or directory: '/run/shm/img.jpg' Indeed no file has been created in that location. I get the feeling this is all about p...
by chorlton2080
Tue Jul 02, 2013 9:22 pm
Forum: Python
Topic: Apache2 and Python to call raspistill
Replies: 4
Views: 4281

Apache2 and Python to call raspistill

I followed the following excellent article on getting lighttpd to call raspistill via a python script and display the results on a webpage: http://raspberrypi.werquin.com/post/51885842425/intermezzo-raspcam However, I'm using Apache2. I installed mod_python and can get a simple "Hello World&quo...
by chorlton2080
Sun Jun 30, 2013 5:34 pm
Forum: Camera board
Topic: Using VLC to stream from the camera - Help needed
Replies: 166
Views: 181556

Re: Using VLC to stream from the camera - Help needed

This works great at 30fps, but not at all at 10fps! Can't understand that. Anyway, I don't need the high fps, so I was wondering if anyone can describe how I might use raspistill to output a file which could then be picked up and served by Apache. The problem I have is that because the raspistill fi...
by chorlton2080
Mon Jun 10, 2013 10:04 pm
Forum: Other projects
Topic: Tangle of wires and blobs
Replies: 1
Views: 1490

Tangle of wires and blobs

Hi Folks I'm a stickler for order. I have a few Pi's, one of which I'm using as a linux headless file server. That entails (in my situation) the RPi, a Logitech powered USB hub (with its beastly 5V 2A supply terminating in a nasty non-USB style connector) and a naff looking Toshiba 2.5" USB dri...
by chorlton2080
Thu May 30, 2013 8:07 pm
Forum: Raspberry Pi OS
Topic: A simple need to run a command on boot!
Replies: 9
Views: 17038

Re: A simple need to run a command on boot!

A good tutorial on running scripts on startup:

http://www.stuffaboutcode.com/2012/06/r ... rt-up.html

And, from the same author, how to get the RPi to boot into timelapse mode:

http://www.stuffaboutcode.com/2013/05/t ... ry-pi.html
by chorlton2080
Thu May 30, 2013 8:03 pm
Forum: Camera board
Topic: STICKY: New features for raspistill command
Replies: 106
Views: 121130

Re: New features for raspistill command

Thanks for all you comments and advice, folks. I have a few suggestions of possible workarounds. I note how this thread is morphing into something a little different. I do appreciate that raspistill is a demo, but I have not, and do not intend to become, and application developer. I just want to Was...
by chorlton2080
Wed May 29, 2013 8:57 pm
Forum: Camera board
Topic: I'm back to using Motion and USB
Replies: 4
Views: 1580

Re: I'm back to using Motion and USB

I'm curious what kind of framerate you get from the camera, just local, not over the network. I'm thinking of using the camera for a line-following robot, and I'm wondering if the USB solution will work. I haven't tried anything greater than 1 fps at 640x480, but I'm running headless so it does rel...
by chorlton2080
Wed May 29, 2013 8:48 pm
Forum: Camera board
Topic: STICKY: New features for raspistill command
Replies: 106
Views: 121130

Re: New features for raspistill command

Please fix the LED off option (or provide an alternative). Also, an option to output a fully completed frame in timelapse mode (not sure if the problem exists in normal operation). At present the output file (if we assume a static filename) is formed in a scan-line type way, i.e. can be partially c...
by chorlton2080
Tue May 28, 2013 8:19 pm
Forum: Camera board
Topic: STICKY: New features for raspistill command
Replies: 106
Views: 121130

Re: New features for raspistill command

Please fix the LED off option (or provide an alternative). Also, an option to output a fully completed frame in timelapse mode (not sure if the problem exists in normal operation). At present the output file (if we assume a static filename) is formed in a scan-line type way, i.e. can be partially co...
by chorlton2080
Tue May 28, 2013 7:45 pm
Forum: Camera board
Topic: Incorporate raspistill images into webpage
Replies: 4
Views: 1712

Re: Incorporate raspistill images into webpage

I've made reference to a static file created via raspistill in timelapse mode. However, the static jpg is formed in realtime in a scan line approach (i.e. the file is in various stages of completion). Is there anyway, either through a bash script or the HTML code, of only displaying a completed imag...
by chorlton2080
Mon May 27, 2013 8:08 pm
Forum: Camera board
Topic: Incorporate raspistill images into webpage
Replies: 4
Views: 1712

Incorporate raspistill images into webpage

Hello folks I've been using the raspistill command to do timelapse: very good it is too. I just wish I could switch the LED off on the most recent package version. That is not the purpose of my post, however. I've almost reached the end of my patience with trying to get a stream which will show on v...
by chorlton2080
Sun May 26, 2013 9:51 pm
Forum: Camera board
Topic: I'm back to using Motion and USB
Replies: 4
Views: 1580

I'm back to using Motion and USB

With the limitations of the CSI module becoming quickly apparent for my needs, I'm back to using my Logitech USB webcams with the "motion" daemon. I can stream to VLC, most browsers (except IE) and view using Android's IPCam Viewer with almost no configuration. This is incredible versatile...
by chorlton2080
Wed May 15, 2013 9:24 pm
Forum: Raspberry Pi OS
Topic: A simple need to run a command on boot!
Replies: 9
Views: 17038

Re: A simple need to run a command on boot!

Hi and thanks for your reply. Yes, I thought after I posted that I should have included the following: To run from a SSH session I'm typing "sudo motion"; it needs sudo because of the motion.conf file located in /etc/motion. It works. My assumption is that the RPi should simply be able to ...
by chorlton2080
Wed May 15, 2013 8:31 pm
Forum: Raspberry Pi OS
Topic: A simple need to run a command on boot!
Replies: 9
Views: 17038

A simple need to run a command on boot!

For someone who grew up with MS-DOS (I had no choice), I'm am asking myself why I should find myself pulling out my hair with the most modest and humdrum of requirements. I need to start a program automatically on boot. That program is Motion. I can start this program by typing it into a SSH session...
by chorlton2080
Tue May 14, 2013 9:32 pm
Forum: Raspberry Pi OS
Topic: Trouble with motion
Replies: 13
Views: 28756

Re: Trouble with motion

If you are receiving the error connected with absence of "var/motion/motion.pid" when running in daemon mode, this is likely attributed to permissions. I changed the entry in "etc/motion/motion.conf" from "var/motion/motion/pid" to "home/pi/motion.pid" and it ...
by chorlton2080
Sun Jan 06, 2013 1:48 pm
Forum: Beginners
Topic: Using ipad as screen with ssh
Replies: 10
Views: 10478

Re: Using ipad as screen with ssh

I answered my own question: I needed to choose port 5901.

How should I have realised this? Please assist a Linux noobie!
by chorlton2080
Sun Jan 06, 2013 1:40 pm
Forum: Beginners
Topic: Using ipad as screen with ssh
Replies: 10
Views: 10478

Re: Using ipad as screen with ssh

Hi folks Can anyone offer help with the settings on the Android version of Wyse's PocketCloud VNC app in order for it to work with TightVNC on my RPi? I can VNC from my Windows box and have no problem with SSH-ing a console on the Android tablet. There appear only two connection types: Windows and M...
by chorlton2080
Sat Jan 05, 2013 9:36 pm
Forum: General discussion
Topic: VGA ever going to be implemented in future revisions?
Replies: 66
Views: 15074

Re: VGA ever going to be implemented in future revisions?

I also thought this was an issue initially, but despite having my RPi hooked up to a HDMI screen I almost never use it - I simply remote in using SSH or VNC. I've used my wireless keyboard only once!
by chorlton2080
Sat Jan 05, 2013 9:31 pm
Forum: Automation, sensing and robotics
Topic: DHT Humidity Sensing - Raspberry Pi with Google Docs logging
Replies: 63
Views: 58918

Re: DHT Humidity Sensing - Raspberry Pi with Google Docs log

Folks The code on the Adafruit GIT download source appears to have been modified as per the earlier trials on timing - I had no need to change anything and it works well on a DHT11 - well, it reads and logs on GDocs, I have some suspicion about the humidity readings though from this rather cheap sen...
by chorlton2080
Sun Dec 23, 2012 10:35 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: tmp102
Replies: 26
Views: 16852

Re: tmp102

Steven, Peter

You were both completely correct! It now works. I hadn't appreciated the significance of the Rev 1 and 2 boards. Thank you very much and a Merry Christmas: this RPi is a refreshing challenging

Go to advanced search