Go to advanced search

by Ace Rimmer
Thu Feb 11, 2016 9:08 pm
Forum: Beginners
Topic: just want to read from MCP3002 some Analog HEEEEELP PLEASE.
Replies: 2
Views: 1948

Re: just want to read from MCP3002 some Analog HEEEEELP PLEA

Hello kourpetis, the following link may be useful. I think it is for the mcp3008 but may be easily trimmed down. Good luck. http://www.hertaville.com/interfacing-an-spi-adc-mcp3008-chip-to-the-raspberry-pi-using-c.html Or maybe this one https://github.com/hamishcunningham/wiringpi/blob/master/wiring...
by Ace Rimmer
Thu Feb 11, 2016 12:49 am
Forum: Python
Topic: Code for MPU-6050
Replies: 4
Views: 735

Re: Code for MPU-6050

Thanks BMS Doug, I'll give that a whirl. I used one of these devices on an Arduino last year and the code nearly did my head in.
by Ace Rimmer
Wed Feb 10, 2016 9:16 pm
Forum: Python
Topic: Code for MPU-6050
Replies: 4
Views: 735

Code for MPU-6050

I'm connecting an MPU-6050 accel/gyro to my Pi (a B+ at this stage). I'm looking for some very basic Python code - I only want to read x,y & z accelerometer values in the 16g range . There seems to be plenty of complex code out there, I'm fed up with trying to filter through it all :? . Can anyone h...
by Ace Rimmer
Sat Feb 06, 2016 1:34 am
Forum: General discussion
Topic: Worldwide Shortage?
Replies: 33
Views: 4760

Re: Worldwide Shortage?

Update. On Monday I decided to cancel my order and source an adaptor elsewhere, only to receive an email to say I couldn't cancel as the item had been dispatched 4 days earlier! :shock: Another anxious couple of days and it finally arrived :D after waiting only 3 months. Plugged it in and away it we...
by Ace Rimmer
Sun Jan 24, 2016 9:42 pm
Forum: Beginners
Topic: Portable Power?
Replies: 8
Views: 1545

Re: Portable Power?

Check out this little unit, it may be what you need, OKI-78SR, sorry I dont seem to have the link to it any more.

Found it at last https://www.piborg.org/battborg
The reg itself is available on its own from RS.
by Ace Rimmer
Sat Jan 16, 2016 8:36 pm
Forum: Troubleshooting
Topic: Cooked Pi
Replies: 12
Views: 1240

Re: Cooked Pi

The mystery is why you didn't suspect the SDCard in the first place. The mystery deepens - why didn't those who replied to my original question suspect the SDCard either ? While the old pi is not dead it 's not very well either, after successfully booting it and running it for awhile ( 10 or 15 min...
by Ace Rimmer
Fri Jan 15, 2016 2:25 am
Forum: Troubleshooting
Topic: Cooked Pi
Replies: 12
Views: 1240

Re: Cooked Pi

UPDATE; I received my new Rpi (B+) today plugged it in and Hey Presto it wouldn't boot :cry: . I then tried my old A+ with the same pwr supply, keyboard etc - no problems . Tried the A+ with the sd card from the cooked pi - it wouldn't boot :? Tried the new pi with the sd card from the old A+ and IT...
by Ace Rimmer
Sun Jan 10, 2016 4:29 am
Forum: Troubleshooting
Topic: Cooked Pi
Replies: 12
Views: 1240

Re: Cooked Pi

Douglas6 wrote:Here's one definition for you:
1.(of a situation or condition) extremely bad, unpleasant, and degrading.

So yeah, I meant 'abject'. Appreciate the attempt to improve my English, however.
http://blog.dictionary.com/sentence-initial-so/ ;)
by Ace Rimmer
Fri Jan 08, 2016 11:24 pm
Forum: Troubleshooting
Topic: Cooked Pi
Replies: 12
Views: 1240

Cooked Pi

While trying to fit all the componenents of my project onto the smallest breadboard I had I inadvertantly connected a 5v supply to the 3.3v gpio pin :oops: :oops: . It goes without saying that when I powered up nothing happened apart from the PWR & ACT leds lighting up. I disconnected everthing and ...
by Ace Rimmer
Thu Jan 07, 2016 2:49 am
Forum: Beginners
Topic: How to keep time without connect to internet ?
Replies: 16
Views: 4855

Re: How to keep time without connect to internet ?

Check the module for missing components or even the battery. The DS3231 is the one I used. If possible post a picture of it. I just noticed in the installation proceedure you used it mentions DS1307 instead of DS3231, could this be the problem? Once the time is set does it keep correct time until yo...
by Ace Rimmer
Wed Jan 06, 2016 6:24 am
Forum: Beginners
Topic: How to keep time without connect to internet ?
Replies: 16
Views: 4855

Re: How to keep time without connect to internet ?

The best way to do this would be to buy a Real Time Clock (RTC) module, have a look on ebay or try Banggood.com. These units are fairly easy to install/setup, I managed to do it and I know little about Rpi. Good luck.
by Ace Rimmer
Fri Jan 01, 2016 8:41 pm
Forum: General discussion
Topic: Worldwide Shortage?
Replies: 33
Views: 4760

Re: Worldwide Shortage?

Getting back on topic, why restriction yourself to the official dongle only? There are plenty of other WIFI dongles that work very well if you research, Edimax for example was/is very popular before the official dongle started shipping. Texy Hello texy, the reason I decided to go with the "official...
by Ace Rimmer
Wed Dec 30, 2015 12:09 am
Forum: General discussion
Topic: Help with streaming video from camera
Replies: 3
Views: 707

Re: Help with Project

Hi, the easiest way to connect a camera is to use an Rpi camera plugged into the camera connector on the Rpi. I believe you can also connect a webcam to one of the usb ports on the Rpi but you loose some resolution. As far as streaming goes you'll need advice from those who have done it - I haven't ...
by Ace Rimmer
Tue Dec 29, 2015 11:50 pm
Forum: General discussion
Topic: Worldwide Shortage?
Replies: 33
Views: 4760

Worldwide Shortage?

Back in early November I ordered an "official" Raspberry Pi USB WiFi adapter from RS, the delivery date was expected to be 27/11. A week or so later I was informed by email the delivery would be 8/12, and then 29/12. Today I emailed RS to find out when I might expect delivery, I received a reply to ...
by Ace Rimmer
Tue Dec 08, 2015 3:19 am
Forum: Camera board
Topic: Switching between cameras.
Replies: 8
Views: 1312

Re: Switching between cameras.

Rs is selling the compute module kits for around $55 : http://uk.rs-online.com/web/p/processor-microcontroller-development-kits/8134164/ (£36) Thanks mikerr, I usually check RS when I'm after electronic bits & pieces (presently waiting for a Rpi wifi dongle which has been backordered for over 1 mon...
by Ace Rimmer
Mon Dec 07, 2015 11:50 pm
Forum: Camera board
Topic: Switching between cameras.
Replies: 8
Views: 1312

Re: Switching between cameras.

Given the new low price of the Compute Module Dev kit that looks like your best option. Hmmmm, :? just checked "the new low price" at approx' $300 I dread to think what it was before. The multi-cam adaptor is roughly a quarter of the price - $70 ish. Might just have think of a way of physically fli...
by Ace Rimmer
Mon Dec 07, 2015 8:47 pm
Forum: Camera board
Topic: Switching between cameras.
Replies: 8
Views: 1312

Re: Switching between cameras.

Thanks for the info everyone. Looks just like what I need, don't know if the budget will stretch that far though. I noticed that the ebay one didn't mention the A+, a pity because my project will be using an A+. Food for thought.
by Ace Rimmer
Sat Dec 05, 2015 12:41 am
Forum: Camera board
Topic: Switching between cameras.
Replies: 8
Views: 1312

Switching between cameras.

Hello, is it possible to have two cameras attached to a Rpi ,only recording from one and then to switch to the other cam when a trigger event happens? I imagine I'd need some sort of adapter, if indeed they exist. Any thoughts?
by Ace Rimmer
Thu Nov 26, 2015 9:00 pm
Forum: Beginners
Topic: Recording video to USB stick.
Replies: 14
Views: 2664

Re: Recording video to USB stick.

Thanks rpdom , now I understand what shebang is all about. Thanks stderr Is the USB drive formatted using FAT or FAT32? The : is the marker under Windows and DOS that shows a letter refers to a drive, as in the C: drive. There are different illegal chars under Windows file systems than Linux file sy...
by Ace Rimmer
Thu Nov 26, 2015 4:30 am
Forum: Beginners
Topic: Recording video to USB stick.
Replies: 14
Views: 2664

Re: Recording video to USB stick.

I was using the the same name in both cases, it just wouldn't record it to the stick. Since my last post I have discovered the culprit. It's the colon ( : ) , for some reason when I record to the home directory python accepts this as a valid character in the file name, however when I try to record i...
by Ace Rimmer
Thu Nov 26, 2015 3:32 am
Forum: Beginners
Topic: Recording video to USB stick.
Replies: 14
Views: 2664

Re: Recording video to USB stick.

:D Problem solved, by removing %y-%m-%d:%M from the line
fylnayme = dt.datetime.now().strftime('/media/usbstick/rkt-cam%y-%m-%d:%M.h264')
the program records to the usb stick. I think I will just have to create the filename before I start recording. ;)
by Ace Rimmer
Thu Nov 26, 2015 12:21 am
Forum: Beginners
Topic: Recording video to USB stick.
Replies: 14
Views: 2664

Re: Recording video to USB stick.

I didn't see anything at the top of that hinting at which version you want running, say #!/usr/bin/env python2.7 or perhaps #!/usr/bin/env python3 OK...tried putting that line in, but it made no difference ( I still get Errno22) Pardon my ignorance :oops: but if the line starts with # surely the pr...
by Ace Rimmer
Tue Nov 24, 2015 3:13 am
Forum: Beginners
Topic: Recording video to USB stick.
Replies: 14
Views: 2664

Re: Recording video to USB stick.

Hope this makes things clearer.... import picamera import datetime as dt from time import time import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) GPIO.setup(26, GPIO.IN, GPIO.PUD_UP) with picamera.PiCamera() as camera: camera.resolution = (1920,1080) camera.framerate = 25 camera.exposure_mode = 'sports'...
by Ace Rimmer
Mon Nov 23, 2015 10:15 pm
Forum: Beginners
Topic: Recording video to USB stick.
Replies: 14
Views: 2664

Re: Recording video to USB stick.

Thanks guys for responding, here are are few more details that were lacking :roll: in my first post. At present the usb stick is mounted at bootup with the following line in /etc/fstab " /dev/sda1 /media/usbstick vfat defaults,uid=1000,gid=1000 0 0 " If I try to record the video to " /media/usbstick...
by Ace Rimmer
Mon Nov 23, 2015 4:08 am
Forum: Beginners
Topic: Recording video to USB stick.
Replies: 14
Views: 2664

Recording video to USB stick.

Hello everyone, I'm using a Python program to record video from an Rpi cam module. I would like to record the file directly to a Usb stick. The only way I've been able to do this so far is if the .py file is located on the stick. If the .py file is located in the home directory on the SD card the on...

Go to advanced search