Go to advanced search

by tobrien81
Tue Aug 13, 2013 9:14 am
Forum: General discussion
Topic: HDMI Splitter
Replies: 4
Views: 1640

HDMI Splitter

I have 2 screens that are running with my Raspberry Pi. I purchased a Passive HDMI splitter. 1 Male --> 2 Female ports http://www.ebay.com.au/itm/330960756472?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649 However not surprisingly it does not work to split the HDMI feed. Has anyone got this work...
by tobrien81
Thu Jul 11, 2013 10:16 am
Forum: Camera board
Topic: Lightweight python motion detection
Replies: 259
Views: 251845

Re: Lightweight python motion detection

Wow! How much of a newb am I???? as soon as I unloaded the servoblaster module and ran the compiled servod script it WORKED!!!! Thanks so much :-) Now, I just need to stop the image being shown on the screen each time motion is detected and then it will be seemless! (any ideas?) I assume this is bec...
by tobrien81
Tue Jul 09, 2013 11:43 pm
Forum: Camera board
Topic: Lightweight python motion detection
Replies: 259
Views: 251845

Re: Lightweight python motion detection

That's OK. Its not motion that I am using, sorry for the confusion. It is your python script that I just happened to name it motion :-)

Such a shame that it doesn't work. I might get onto the maker of servoblaster, might have a different insight perhaps?

Thanks again!!!
by tobrien81
Tue Jul 09, 2013 10:59 am
Forum: Camera board
Topic: Lightweight python motion detection
Replies: 259
Views: 251845

Re: Lightweight python motion detection

Hi Sorry, I should have mentioned that I already tried this. However I only found one reference to GPIO21 in the servod.c file. Does that sound about right? It was in the "static uint8_c" section. Mine now looks like this: static uint8_t servo2gpio[] = { 4, // P1-7 17, // P1-11 18, // P1-12 22, // P...
by tobrien81
Tue Jul 09, 2013 9:03 am
Forum: Camera board
Topic: Lightweight python motion detection
Replies: 259
Views: 251845

Re: Lightweight python motion detection

Hi I have a curious one for you. I have "servoblaster" running on my Pi. When I so an insmod to initialise servoblaster the motion detect code here does not work :-( it just hangs at the "imageData.write(subprocess.check_output(command, shell=True))" line in the defined code "captureTestImage()". Ho...
by tobrien81
Mon Jun 10, 2013 12:17 pm
Forum: Troubleshooting
Topic: Ultrasonic Module 100% CPU with my code
Replies: 6
Views: 1923

Re: Ultrasonic Module 100% CPU with my code

I applied your logic and it works perfectly. Thank you so much!!!! So simple, can't believe I missed that...
by tobrien81
Sat Jun 08, 2013 1:41 pm
Forum: Troubleshooting
Topic: Ultrasonic Module 100% CPU with my code
Replies: 6
Views: 1923

Ultrasonic Module 100% CPU with my code

Hi I have some code getting information from an ultrasonic sensor. My application is locking up after about 3 minutes when it gets to the line "while GPIO.input(GPIO_ECHO)==0:", my code is below if anyone can help? import RPi.GPIO as GPIO import os import time #Define GPIO to use on Pi GPIO.setmode(...
by tobrien81
Sun Jun 02, 2013 10:22 am
Forum: Automation, sensing and robotics
Topic: V4L2 Driver for the new Camera Board
Replies: 4
Views: 2026

Re: V4L2 Driver for the new Camera Board

I didn't think of doing that. Could you point me in the direction of people who have done this before? I am a newbie to programming cameras. I have relied on OpenCV libraries and V4L drivers in the past...
by tobrien81
Sun Jun 02, 2013 8:33 am
Forum: Automation, sensing and robotics
Topic: V4L2 Driver for the new Camera Board
Replies: 4
Views: 2026

Re: V4L2 Driver for the new Camera Board

Hi I have already started capturing images and using opencv to interigate the images and then delete and retake another image. However this gives me around 3-6 seconds of lag time. Not ideal for what I am trying to achieve. I would ideally need a response time of < 0.5 seconds and process within pyt...
by tobrien81
Wed May 22, 2013 1:33 am
Forum: Automation, sensing and robotics
Topic: V4L2 Driver for the new Camera Board
Replies: 4
Views: 2026

V4L2 Driver for the new Camera Board

Hi I am trying to run some automation tasks using opencv with the new camera board. Does anyone know if a V4L2 driver has been made yet or if there is another way to do facial recognition and pin point an x and y point in the middle of a face in real time capture mode? I was doing this fine with a U...
by tobrien81
Tue Nov 06, 2012 9:56 am
Forum: Automation, sensing and robotics
Topic: Driving multiple servos from the RaspberryPi
Replies: 209
Views: 94228

Re: Driving multiple servos from the RaspberryPi

Ok, so I started fresh on my Pi and now it works. I must have had a hardware addressing conflict somewhere in linux.

Thank you so much for your time :-)
by tobrien81
Tue Nov 06, 2012 5:46 am
Forum: Automation, sensing and robotics
Topic: Driving multiple servos from the RaspberryPi
Replies: 209
Views: 94228

Re: Driving multiple servos from the RaspberryPi

Hey So now I am confused. I have connected everything together. 6V power supply 1A, 1 x Servo to GPIO4, I have the servoblaster char file in /dev and in /dev/procs with an id of 251, however when I run the command "echo 0=12 > /dev/servoblaster" and I have tried 0 - 7 in the command I do not get any...
by tobrien81
Sat Nov 03, 2012 9:34 am
Forum: Automation, sensing and robotics
Topic: Driving multiple servos from the RaspberryPi
Replies: 209
Views: 94228

Re: Driving multiple servos from the RaspberryPi

Perfect. Thanks for that :-) I am new to servos and electronics. Programming is my forte :-)
by tobrien81
Fri Nov 02, 2012 9:42 am
Forum: Automation, sensing and robotics
Topic: Driving multiple servos from the RaspberryPi
Replies: 209
Views: 94228

Re: Driving multiple servos from the RaspberryPi

OK, So I need a little help. I have connected my servo to RPi GPIO port 7, the driver loads fine and I get a character file in /dev called /dev/servoblaster. However when I type in echo 0=120 > /dev/servoblaster the servo does not move... Any ideas? Apologies if these are simple-and-obvious points....
by tobrien81
Fri Nov 02, 2012 7:09 am
Forum: Automation, sensing and robotics
Topic: Driving multiple servos from the RaspberryPi
Replies: 209
Views: 94228

Re: Driving multiple servos from the RaspberryPi

OK, So I need a little help. I have connected my servo to RPi GPIO port 7, the driver loads fine and I get a character file in /dev called /dev/servoblaster. However when I type in echo 0=120 > /dev/servoblaster the servo does not move... Any ideas?
by tobrien81
Wed Sep 12, 2012 1:12 pm
Forum: C/C++
Topic: Motion detection and servo response
Replies: 2
Views: 2272

Re: Motion detection and servo response

Paul I have been grabbing the image, storing it in memory and then every 0.2 of a second grabbing another image and comparing it and then writing to a text file "movement" with a date stamp. This works but is very memory and process intensive and therefore laggy. Can you point me in the right direct...
by tobrien81
Thu Aug 30, 2012 10:02 am
Forum: C/C++
Topic: Motion detection and servo response
Replies: 2
Views: 2272

Motion detection and servo response

Good Evening I have got my pi successfully detecting motion and dumping to an avi file using ffmpeg. However I need something a little more complicated and I was hoping someone could help me? I want to be able to detect motion and then output an x and y coordinate depending on the size of the image ...

Go to advanced search