Go to advanced search

by geekinthesticks
Tue Aug 06, 2019 2:16 pm
Forum: Arch
Topic: ArchlinuxARM Need to Use sudo to Access Camera
Replies: 6
Views: 6023

Re: ArchlinuxARM Need to Use sudo to Access Camera

Bit more information. If I don't give everyone rw permissions, I still get the error. Also if I reboot permissions get set back to:

Code: Select all


picam ~ » ls -la /dev/vcsm
crw------- 1 root root 244, 0 Jul 22 13:53 /dev/vcsm
by geekinthesticks
Tue Aug 06, 2019 8:26 am
Forum: Arch
Topic: ArchlinuxARM Need to Use sudo to Access Camera
Replies: 6
Views: 6023

Re: ArchlinuxARM Need to Use sudo to Access Camera

Thanks. Will adjust permissions accordingly.
by geekinthesticks
Mon Aug 05, 2019 3:42 pm
Forum: Arch
Topic: ArchlinuxARM Need to Use sudo to Access Camera
Replies: 6
Views: 6023

Re: ArchlinuxARM Need to Use sudo to Access Camera

Thanks. Permissions were: picam ~ » ls -la /dev/vcsm crw------- 1 root root 244, 0 Jul 22 13:53 /dev/vcsm picam ~ » ls -la /dev/vcsm-cma crw-rw-rw- 1 root root 10, 61 Jul 22 13:53 /dev/vcsm-cma Changing to: picam ~ » ls -la /dev/vcsm crw-rw-rw- 1 root root 244, 0 Jul 22 13:53 /dev/vcsm Has fixed the...
by geekinthesticks
Mon Aug 05, 2019 9:16 am
Forum: Arch
Topic: ArchlinuxARM Need to Use sudo to Access Camera
Replies: 6
Views: 6023

ArchlinuxARM Need to Use sudo to Access Camera

I have a pizero w which was running Arch and I could access the camera as a user. However, I hadn't used it for about a year, so did a fresh install of ArchLinux. Now the camera works OK id I run raspistill as sudo, but as a normal user I get: picam ~ » raspistill --nopreview --output image.jpg mmal...
by geekinthesticks
Wed Jan 27, 2016 9:22 pm
Forum: Automation, sensing and robotics
Topic: getting two Pis to dump sensor readings into one SQL file
Replies: 31
Views: 3149

Re: getting two Pis to dump sensor readings into one SQL fil

The way I do this is to set up a MySQL database on a non Pi server on my network. You can post the sensor readings to this remote database (see the host parameter in the mysql docs) from your pi's. I have a field for the hostname if the database, so I can identify which Pi the reading originated fro...
by geekinthesticks
Tue Jan 19, 2016 11:29 am
Forum: Automation, sensing and robotics
Topic: Accuracy of BMP180 sensor.
Replies: 12
Views: 3504

Re: Accuracy of BMP180 sensor.

Problem solved! I have got a few pi's. I have been running on a pi2, so I decided to try and see what happened if I moved the sensor to a B+. i2c detect couldn't find it on the bus. So moved it back to the pi2 again, which now couldn't find the sensor on the bus. Checked the solder on the connectors...
by geekinthesticks
Mon Jan 18, 2016 6:57 pm
Forum: Automation, sensing and robotics
Topic: Accuracy of BMP180 sensor.
Replies: 12
Views: 3504

Re: Accuracy of BMP180 sensor.

Before diving into the code, I decided to order another sensor from another supplier (which I'll need soon anyway) That should rule out any fault with my current sensor.
by geekinthesticks
Mon Jan 18, 2016 6:54 am
Forum: Automation, sensing and robotics
Topic: Accuracy of BMP180 sensor.
Replies: 12
Views: 3504

Re: Accuracy of BMP180 sensor.

Unfortuately not. I get the same error about timing out. Python 2.7.11 (default, Dec 11 2015, 05:34:18) [GCC 5.3.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import smbus >>> import bmp180 >>> bus = smbus.SMBus(1) >>> sensor = bmp180.Bmp180(bus) Traceback (...
by geekinthesticks
Sun Jan 17, 2016 10:21 pm
Forum: Automation, sensing and robotics
Topic: Accuracy of BMP180 sensor.
Replies: 12
Views: 3504

Re: Accuracy of BMP180 sensor.

Can you see your BMP180 on the I2C bus? Install i2c-tools and use the i2cdetect -y 1 command. Yes, I can and since works with the Adafruit library (albeit giving erroneous readings). It may be a permissions problem, but I am a member of the i2c group with rw permissions. outsidepi2 ~ ls -la /dev/i2...
by geekinthesticks
Sun Jan 17, 2016 6:47 pm
Forum: Automation, sensing and robotics
Topic: Accuracy of BMP180 sensor.
Replies: 12
Views: 3504

Re: Accuracy of BMP180 sensor.

Thanks. However, it seems to have problems connecting: >>> import smbus >>> import bmp180 >>> bus = smbus.SMBus(1) >>> sensor = bmp180.Bmp180(bus) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "bmp180.py", line 130, in __init__ self._read_calibration_data() File "bmp180...
by geekinthesticks
Sun Jan 17, 2016 3:47 pm
Forum: Automation, sensing and robotics
Topic: Accuracy of BMP180 sensor.
Replies: 12
Views: 3504

Accuracy of BMP180 sensor.

I have been using a BMP085 for some time. However, on a new project I decided to use a BMP180. Using the Adafruit simpletest.py I am getting the following resuts: BMP085: Temp = 21.90 *C Pressure = 101023.00 Pa Altitude = 25.34 m Sealevel Pressure = 101020.00 Pa BMP180: Temp = 12.80 *C Pressure = 15...
by geekinthesticks
Sat Aug 02, 2014 11:37 am
Forum: Advanced users
Topic: Controlling a GoPro Via Wifi.
Replies: 3
Views: 26412

Re: Controlling a GoPro Via Wifi.

Thanks. I have managed to find a few useful pages showing how to control the GoPro over Wifi using http GET commands: https://github.com/KonradIT/goprowifihack http://hackaday.com/2014/06/20/pwn-your-gopro-scripting-wifi-and-bus-hacking/ http://www.reddit.com/r/goprodiy/comments/279j5r/removing_gopr...
by geekinthesticks
Sat Aug 02, 2014 9:50 am
Forum: Advanced users
Topic: Controlling a GoPro Via Wifi.
Replies: 3
Views: 26412

Controlling a GoPro Via Wifi.

I am want to do some time lapse photography with a GoPro. Specifically I want to be able to turn the camera on and off and take single shots. There is a usb cable with an FTDI chip that can probably do this, but the Pi will be some distance from the GoPro, so Wifi is preferable. I can't find any doc...
by geekinthesticks
Sat May 17, 2014 1:26 pm
Forum: Other projects
Topic: Case That Attaches to a Tripod
Replies: 3
Views: 3163

Re: Case That Attaches to a Tripod

Thanks both. I don't have access to a 3D printer, so the DIY option looks best.
by geekinthesticks
Sun May 11, 2014 1:15 pm
Forum: Other projects
Topic: Case That Attaches to a Tripod
Replies: 3
Views: 3163

Case That Attaches to a Tripod

I am looking for a case that will enclose my Pi and camera and attach to a standard tripod mount. Does such a thing exist? The nearest I can find is the Nwazet Pi Camera Box and wall mount, but this doesn't seem to have the standard tripod thread.
by geekinthesticks
Wed Mar 26, 2014 11:42 am
Forum: Advanced users
Topic: Wireless AP
Replies: 3
Views: 7330

Re: Wireless AP

Thanks for posting that. I have been using my Pi as an AP with Arch for some time. I had a systemd unit similar to yours, which had been working for ages, but after a recent update it wouldn't bring up an ip link for wlan0. It seemed that it was trying to start the interface before wlan0 was availab...
by geekinthesticks
Mon Sep 23, 2013 9:02 pm
Forum: Camera board
Topic: raspistill - exposure
Replies: 86
Views: 32519

Re: raspistill - exposure

If someone has time can you add the -ex verylong issue to the userland github bug tracker so I don't forget it. Ta.
Added to Github.
by geekinthesticks
Mon Sep 23, 2013 5:45 pm
Forum: Camera board
Topic: raspistill - exposure
Replies: 86
Views: 32519

Re: raspistill - exposure

Manually setting ISO as in:

Code: Select all

./raspistill -ex night -ISO 800 -o test_night800.jpg
Results in an ISO of 800, but an exposure of 1/20 sec and an underexposed picture. Don't know if this is expected behaviour. Maybe --ISO and -ex are mutually exclusive.
by geekinthesticks
Mon Sep 23, 2013 5:34 pm
Forum: Camera board
Topic: raspistill - exposure
Replies: 86
Views: 32519

Re: raspistill - exposure

On ArchLinux this gives me 0.25sec exposure and ISO 500 (from EXIF tags). Can also confirm that verylong never returns and causes the camera to lock up. Will do some more exepriments.
by geekinthesticks
Sun Sep 15, 2013 12:54 pm
Forum: Camera board
Topic: Star Trails
Replies: 14
Views: 5194

Re: Star Trails

Thanks for all the feedback. I tried last night, which was the first clear night for a few days. The result was that I got a load of black frames:) So, back to lugging around the DSLR. I wasn't too surprised, as I didn't really expect the camera to work well at night time. However, it's still going ...
by geekinthesticks
Thu Sep 12, 2013 12:27 pm
Forum: Camera board
Topic: Star Trails
Replies: 14
Views: 5194

Re: Star Trails

Thanks for the feedback. With my Canon I use exposures if something like 20secs (data not to hand at the moment), which gives good single image results. Like you said there is no timed exposure mode with the Pi camera. I as just wondering if anyone had any experience of trying this sort of thing wit...
by geekinthesticks
Wed Sep 11, 2013 2:54 pm
Forum: Camera board
Topic: Star Trails
Replies: 14
Views: 5194

Star Trails

I have had great fun using my Canon DSLR to take a series of still photos of the night sky, then either stacking them, or creating a time lapse video. I want to do something similar with my Pi i.e. take a series of stills of the night sky over several hours. Has anyone tried doing this? I see there ...
by geekinthesticks
Thu Aug 08, 2013 8:47 am
Forum: Advanced users
Topic: Multiple mpeg Licences
Replies: 2
Views: 757

Re: Multiple mpeg Licences

Thanks.
by geekinthesticks
Thu Aug 08, 2013 8:36 am
Forum: Advanced users
Topic: Multiple mpeg Licences
Replies: 2
Views: 757

Multiple mpeg Licences

I have three Pi's and at the moment I only have one mpeg licence, but I intend buying another two. Is there a way of entering multiple licence codes into config.txt, so I can swap SD cards between Pi's without having to change the licence details each time?
by geekinthesticks
Thu Aug 08, 2013 8:34 am
Forum: Advanced users
Topic: GSM modem for sending SMS text ?
Replies: 10
Views: 30263

Re: GSM modem for sending SMS text ?

If it's important that the message gets through, I would opt for more than one method of delivery. Here in the UK text messages are fairly reliable, but sometimes there can be delays. If you use email try going for a final address where your email won't go through intermediate servers. You could set...

Go to advanced search