Go to advanced search

by ZacharyI123
Sat Dec 07, 2013 8:45 am
Forum: Automation, sensing and robotics
Topic: Christmas lights !
Replies: 3
Views: 1358

Re: Christmas lights !

I recently bought christmas lights, but I didn't see that it was powered by 3 AA batteries. This type kind of sucks, since you need to change batteries every two weeks :-( But the good thing is, 3 AA batteries is about 5 Volts, which is just the right voltage to play with GPIO pins of the PI. So, I...
by ZacharyI123
Fri Dec 06, 2013 8:00 pm
Forum: Beginners
Topic: Phototransistor and GPIO input
Replies: 10
Views: 10019

Re: Phototransistor and GPIO input

Hi. I need to have the pi detect when a light beam is interrupted. For that I wanted to use a phototransistor. I searched the forum to find how to correctly connect it to the Pi, and found this topic: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=91&t=5806&hilit=GPIO+phototransistor After readi...
by ZacharyI123
Fri Dec 06, 2013 7:57 pm
Forum: Beginners
Topic: Phototransistor and GPIO input
Replies: 10
Views: 10019

Re: Phototransistor and GPIO input

This post is a very good way of using a photo transistor with a Pi: http://www.raspberrypi.org/phpBB3/viewt ... 94#p440294

It is especially good because you chose the sensitivity.
by ZacharyI123
Thu Dec 05, 2013 10:25 pm
Forum: Beginners
Topic: Trade-offs between RaspPi and Arduino
Replies: 8
Views: 1509

Re: Trade-offs between RaspPi and Arduino

I would like to use the model A because it has half of the power consumption than the model B board. Regardless, the devices i plan on connecting to either board can be connected using a Rs232 to USB( a Campbell Scientific Datalogger with transmission rates up to 10Mbps), USB(a logitech webcam for ...
by ZacharyI123
Tue Dec 03, 2013 5:22 pm
Forum: Beginners
Topic: Running minecraft
Replies: 8
Views: 1782

Re: Running minecraft

I am a new raspberry pi user, infact I have just set it all up. I am trying to run the minecraft download from the minecraft pi edition. So far I have managed to unzip the file and I have done the following cd mcpi to run it and then minecraft-pi Unfortunately I just come back with minecraft-pi com...
by ZacharyI123
Tue Dec 03, 2013 5:17 pm
Forum: General discussion
Topic: WIFI Driver for Pi
Replies: 10
Views: 1556

Re: WIFI Driver for Pi

ZacharyI123 the output from lsusb on this device appears to be: bus 001.device 009 ID 148f:3070 RaLink Technology, Corp. RT2870/RT3070 Wireless Adapter The OS is Debian 7.1 Take a look http://www.raspberrypi.org/phpBB3/viewtopic.php?t=61755&p=459409 and http://www.raspberrypi.org/phpBB3/viewtopic.p...
by ZacharyI123
Tue Dec 03, 2013 7:36 am
Forum: Staffroom, classroom and projects
Topic: Raspberry Pi and Door Sensor
Replies: 6
Views: 3430

Re: Raspberry Pi and Door Sensor

beardedgeek wrote:
kghunt wrote:Use an interrupt instead of constant checking.
How would you do it this way rather than constantly checking?
You probably want to use the built in GPIO interrupt of the RPi.GPIO framework: http://pythonhosted.org/RPIO/rpio_py.html
by ZacharyI123
Mon Dec 02, 2013 5:10 pm
Forum: General discussion
Topic: WIFI Driver for Pi
Replies: 10
Views: 1556

Re: WIFI Driver for Pi

Got my raspberry up and running on wired Ethernet. The USB WIFI dongle that came with the kit I bought can't be installed because the CD with the driver is unreadable on my laptop. The dongle is marked Stictech 802.11 n Does anyone know where I can find the driver for that device online? I cannot f...
by ZacharyI123
Sun Dec 01, 2013 8:04 pm
Forum: Automation, sensing and robotics
Topic: What if sonar beam doesn't come back
Replies: 18
Views: 2626

Re: What if sonar beam doesn't come back

What if sonar beam doesn't come back Call it a stick. I tried that; also a useless wazock and other names. It still wouldn't come. Eventually found it at the back of the wardrobe. It had made a nest. Now we've got lots of little sonar beams running round. Now you probably get very weird readings fr...
by ZacharyI123
Sun Dec 01, 2013 4:02 pm
Forum: Automation, sensing and robotics
Topic: What if sonar beam doesn't come back
Replies: 18
Views: 2626

Re: What if sonar beam doesn't come back

If we are talking about the little £5 ultrasonics then they are basically rated at 5 metres max. I don't think there is anything around that can bounce a sound beam of a rock face 500m away and pick up the echo reliably :) The reason for the timeout is so that the code doesn't sit there blocking th...
by ZacharyI123
Sun Dec 01, 2013 7:49 am
Forum: Automation, sensing and robotics
Topic: What if sonar beam doesn't come back
Replies: 18
Views: 2626

Re: What if sonar beam doesn't come back

This is the code I use in my Scratch handler it assumes the ultrasonic is wired up for single pin mode it takes 3 readings and then returns the middle value as a simple way of trying not to return a daft result :) def pinSonar(self, pin): self.pinUse[pin] = self.PSONAR GPIO.setup(pin,GPIO.OUT) ti =...
by ZacharyI123
Sat Nov 30, 2013 4:41 pm
Forum: Automation, sensing and robotics
Topic: What if sonar beam doesn't come back
Replies: 18
Views: 2626

Re: What if sonar beam doesn't come back

It should work fine the way it is. The ultrasonic sensors "give up" when they don't get a response within an expected time (the return time for sound from their maximum distance, value depends on sensor). I did something similar with a servo based Pi robot some time ago, so I know it will work for ...
by ZacharyI123
Sat Nov 30, 2013 4:15 pm
Forum: Automation, sensing and robotics
Topic: What if sonar beam doesn't come back
Replies: 18
Views: 2626

Re: What if sonar beam doesn't come back

I think you've got it just the way it is. I'm thinking that you won't need the timeout on the second while statement, because if the first one does time out, then GPIO.input(GPIO_ECHO) will still be 0 and the second while loop will just be skipped. You might need to add more code to it to handle th...
by ZacharyI123
Sat Nov 30, 2013 3:41 pm
Forum: Automation, sensing and robotics
Topic: What if sonar beam doesn't come back
Replies: 18
Views: 2626

Re: What if sonar beam doesn't come back

From what I can gather looking at the code, you have a while loop that waits while the return is 0, setting the start time, and then while the return is 1 setting the stop time. You should add a condition to the start time loop that checks to see how long it has been since the waiting started, and ...
by ZacharyI123
Sat Nov 30, 2013 2:27 pm
Forum: Automation, sensing and robotics
Topic: What if sonar beam doesn't come back
Replies: 18
Views: 2626

What if sonar beam doesn't come back

I have made a raspberry pi car that uses sonar drive about autonomously. It repeatedly measures the distance between the first object it'll encounter when going straight. If the distance is more than 30cm, it'll continue going straight, if not, it'll spin on the spot. I will be demo-ing it at the Ca...
by ZacharyI123
Mon Nov 25, 2013 7:10 pm
Forum: Python
Topic: GUI programming with Python for newbies
Replies: 6
Views: 4453

Re: GUI programming with Python for newbies

You can create GUIs with pygame, which is especially good if it's a game. Here's some tutorials: http://www.pygame.org/wiki/tutorials

I started with this: http://www.pygame.org/docs/tut/intro/intro.html
by ZacharyI123
Mon Nov 25, 2013 7:08 pm
Forum: Camera board
Topic: in car camera ?
Replies: 2
Views: 960

Re: in car camera ?

Anyone tried making an in car camera, the type that record your journey ? http://www.ebay.co.uk/itm/2-5-HD-Car-Vehicle-Dash-Dashboard-Camera-IR-DVR-Cam-CCTV-Night-Vision-Recorder-/390570278018 I expect the basics to be: Boot up , without keyboard etc straight into program. Record videos from pi cam...
by ZacharyI123
Mon Nov 25, 2013 6:16 pm
Forum: Beginners
Topic: open office
Replies: 3
Views: 860

Re: open office

A Davis wrote:Has anyone successfully down loaded openoffice.org. I failed.
You can get libreoffice from The Pi Store or by running the following command:

Code: Select all

sudo apt-get install libreoffice
by ZacharyI123
Mon Nov 25, 2013 4:32 pm
Forum: Beginners
Topic: Timelapse projects
Replies: 3
Views: 655

Re: Timelapse projects

Hi, my raspberry pi camera module has arrived and I am excited to get started on some projects. I am wondering if there are any timelapse tutorials available. Any suggestions will be appreciated A great tutorial on how to do a time lapse: http://www.raspberrypi-spy.co.uk/2013/05/creating-timelapse-...
by ZacharyI123
Mon Nov 25, 2013 4:23 pm
Forum: Beginners
Topic: Hardware Compatability
Replies: 1
Views: 876

Re: Hardware Compatability

I was wondering if the EMS Top Gun is compatible with the Raspberry Pi. A link to the product can be found here . It works by pretending to be a mouse, so i would imagine that it should work out of the box. However I'm not sure if there are drivers for it for Linux and if so how well they work. Any...
by ZacharyI123
Thu Nov 14, 2013 4:58 pm
Forum: Camera board
Topic: Simple time-lapse with raspivid
Replies: 6
Views: 4129

Re: Simple time-lapse with raspivid

I didn't think 1fps worked! Maybe it clips it to 2fps. That is at the moment the slowest speed it will go to. I cannot remember why there is this limit - I'll try and find out. Maybe but what are the limits of raspivid? Max file size is 2GB right? What happens if you exceed? What happens if you run...
by ZacharyI123
Thu Nov 14, 2013 6:47 am
Forum: Automation, sensing and robotics
Topic: 3d sonar mapping
Replies: 9
Views: 17781

Re: 3d sonar mapping

I'm not really sure? You could learn how to use pygame. In your code you could draw 360 lines from the centre of your screen to an end point that you work out. To work out the end point, use trigornemetery. You know the hypotenuse length (the sonar reading) and you know the angle that the servo is p...
by ZacharyI123
Wed Nov 13, 2013 9:43 pm
Forum: Camera board
Topic: Simple time-lapse with raspivid
Replies: 6
Views: 4129

Simple time-lapse with raspivid

People have created many programs to create time-lapse videos, but I don't understand why they don't just use raspivid. I have tried running this: $ raspivid -t 600000 -o video.h264 -fps 1 which basically gave me a 10 minute time-lapse video at 1 fps and it way much easier than collecting and mergin...
by ZacharyI123
Wed Nov 13, 2013 9:22 pm
Forum: Automation, sensing and robotics
Topic: 3d sonar mapping
Replies: 9
Views: 17781

Re: 3d sonar mapping

Hello, i have just started using the raspberry pi and i want to do something really special witch i could take to school and show my friends. one idea i think i could pull of with your help is a 3d sonar mapping system which you could place in a room and it will make a rough 3d model of the room on...
by ZacharyI123
Sun Nov 10, 2013 10:27 am
Forum: Automation, sensing and robotics
Topic: Meassure distance in tube
Replies: 8
Views: 2133

Re: Meassure distance in tube

What is your experience with these sensors in a tube? I find mixed reactions when it comes to placing them in a tube. I haven't tried but I'd expect you'd get lots of readings from the sides of the tube. The beam is hardly pin-sharp. Not pin sharp and does vary slightly from module to module, but p...

Go to advanced search