Go to advanced search

by alexcroox
Tue Nov 26, 2013 11:06 am
Forum: Automation, sensing and robotics
Topic: Meet Sid, our Pi controlled office robot!
Replies: 0
Views: 648

Meet Sid, our Pi controlled office robot!

Hey rPi just thought I'd show you a project we've been working on and a say a big thank you to the community who helped us through a lot of challenges!

http://sidigital.co/sid
by alexcroox
Sun Sep 08, 2013 4:55 pm
Forum: Camera board
Topic: Camera freezes
Replies: 129
Views: 27354

Re: Camera freezes

recantha2 wrote:There are these cheap-and-cheerful mounts for the camera:
http://shop.pimoroni.com/collections/ca ... mera-mount
£3 from Pimoroni

Image
Ah that's great, and in the UK too, cheers!
by alexcroox
Sat Sep 07, 2013 11:59 am
Forum: Camera board
Topic: Camera freezes
Replies: 129
Views: 27354

Re: Camera freezes

Does anywhere sell 3D printed enclosures for the module? Would make handling it a lot easier if it so sensitive to ESD.
by alexcroox
Tue Sep 03, 2013 1:20 pm
Forum: Camera board
Topic: Camera freezes
Replies: 129
Views: 27354

Re: Camera freezes

Didn't fix it for me, Red light comes on and stays on even when I kill all processes, only re-boot will stop it staying on: raspistill -v -o b3.jpg raspistill Camera App v1.2 Width 2592, Height 1944, quality 85, filename b3.jpg Time delay 5000, Raw no Thumbnail enabled Yes, width 64, height 48, qual...
by alexcroox
Fri Jul 26, 2013 11:24 am
Forum: Camera board
Topic: Streaming Raspberry Pi Camera H264 into HTML over RTMP
Replies: 199
Views: 247565

Re: Streaming Raspberry Pi Camera H264 into HTML over RTMP

ok it works. You need an internet connection to download the pulgin for Firefoxe for the first start of the Firefoxe jwplayer. The video is very good, unfortunately I have a delay of 5-6 seconds. What is the reason that I can make it better. Use the raspberry as wireless ad-hoc and then with the PC...
by alexcroox
Thu Jul 25, 2013 7:59 am
Forum: Python
Topic: Multiple GPIO.add_event_detect, one callback function
Replies: 18
Views: 38224

Re: Multiple GPIO.add_event_detect, one callback function

I added a print(time.time()) to the function to work out how close they were being called...at the exact same time it turns out def buttonPressed(value): print('Scored! %s'%value) print(time.time()) Scored! 50 1374739140.93 Scored! 50 1374739140.93 If I remove the second add_event_detect for the oth...
by alexcroox
Wed Jul 24, 2013 11:09 pm
Forum: Python
Topic: Multiple GPIO.add_event_detect, one callback function
Replies: 18
Views: 38224

Re: Multiple GPIO.add_event_detect, one callback function

I thought originally it might be bouncing but a bounce time of 2 seconds is pretty high, plus it only double outputs once, if I try to press it multiple times in 2 seconds it will only output that duplicate once until the debounce time is up.
by alexcroox
Wed Jul 24, 2013 10:44 pm
Forum: Python
Topic: Multiple GPIO.add_event_detect, one callback function
Replies: 18
Views: 38224

Multiple GPIO.add_event_detect, one callback function

I have several lever switches that represent scores. I want a single callback function when pressed that acts on the value of that lever. I have this working except it seems to call the function twice, I think I'm failing to understand callback functions correctly. GPIO.setmode(GPIO.BCM) GPIO.setup(...
by alexcroox
Wed Jul 24, 2013 9:20 pm
Forum: Camera board
Topic: Streaming Raspberry Pi Camera H264 into HTML over RTMP
Replies: 199
Views: 247565

Re: Streaming Raspberry Pi Camera H264 into HTML over RTMP

Fixed my 6 second lag issue by switching to strobemediaplayer. Amazing how a different client can make all the difference! (I was amazed when switching from flowplayer to JW player and now I'm amazed at the improvement again! Does it go deeper? :P)
by alexcroox
Mon Jul 22, 2013 11:33 pm
Forum: Camera board
Topic: Streaming Raspberry Pi Camera H264 into HTML over RTMP
Replies: 199
Views: 247565

Re: Streaming Raspberry Pi Camera H264 into HTML over RTMP

towolf can you confirm this is with a remote server? I can get a 1 second delay with crmtpserver and a cheap USB webcam streaming to JWplayer, but as soon as use the actual camera module with the same setup I can't get it below 3-6 second delay. It actually takes around 5/6 seconds to start the vide...
by alexcroox
Sun Jul 21, 2013 7:54 pm
Forum: Graphics, sound and multimedia
Topic: Live streaming from PiCam
Replies: 110
Views: 57949

Re: Live streaming from PiCam

I too am experiencing the 6 second lag with the camera module. With the exact same setup using a £5 USB webcam to the same RTMP server (crtmpserver) I get < 1s lag, however I cannot get it below 5 seconds with the camera module. Limitations of the hardware or delay in copying from raspvid to ffmpeg?...
by alexcroox
Sun Jul 21, 2013 5:30 pm
Forum: Camera board
Topic: Streaming Raspberry Pi Camera H264 into HTML over RTMP
Replies: 199
Views: 247565

Re: Streaming Raspberry Pi Camera H264 into HTML over RTMP

I can also confirm the 6 second delay, using the same setup and posting to the same server with a shitty £5 USB camera the delay is < 1 second. Perhaps piping raspvid to ffmpeg is causing the delay? Or limitations of the camera hardware?
by alexcroox
Wed Jun 19, 2013 8:54 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: GPIO lever swich
Replies: 4
Views: 1486

Re: GPIO lever swich

Yer it was all wrong. This was the working circuit (I think I soldered the header the wrong way round!)

http://al3x.me/PkmH
by alexcroox
Wed Jun 19, 2013 8:34 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: GPIO lever swich
Replies: 4
Views: 1486

Re: GPIO lever swich

I had the ribbon cable the wrong way round! EEK!
by alexcroox
Wed Jun 19, 2013 8:07 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: GPIO lever swich
Replies: 4
Views: 1486

GPIO lever swich

I am trying to trigger an event when a push lever is pressed. I have the following code: import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) GPIO.setup(17,GPIO.IN) #initialise a previous input variable to 0 (assume button not pressed last) prev_input = 0 while True: #take a reading input = GP...
by alexcroox
Mon Jun 03, 2013 3:50 pm
Forum: Automation, sensing and robotics
Topic: How many push buttons can I use with this?
Replies: 4
Views: 2064

Re: How many push buttons can I use with this?

Great thank you very much :D
by alexcroox
Mon Jun 03, 2013 3:06 pm
Forum: Automation, sensing and robotics
Topic: How many push buttons can I use with this?
Replies: 4
Views: 2064

Re: How many push buttons can I use with this?

So if I understand correctly I could use up to 17 buttons in the basic circuit described in that tutorial? (17 "in" pins)
by alexcroox
Sun Jun 02, 2013 11:00 pm
Forum: Automation, sensing and robotics
Topic: How many push buttons can I use with this?
Replies: 4
Views: 2064

How many push buttons can I use with this?

I am a bit of an electronics noob and I am trying to follow this tutorial to hook a push button up to a python script: http://www.cl.cam.ac.uk/projects/raspberrypi/tutorials/robot/buttons_and_switches/ Using this breakout board how many push buttons will I be able to connect to it? Ideally I'd like ...

Go to advanced search