Go to advanced search

by samson241
Fri Jul 25, 2014 1:49 pm
Forum: General discussion
Topic: Completed: Piduino Cart!
Replies: 12
Views: 2631

Re: Completed: Piduino Cart!

scott85 wrote:Wow, nice work!
Looking at the code, am I correct in assuming that if both IR's detect an object then it will stop?
It will just take whichever side detected first. Had to change the code a little to make this work.
by samson241
Sun Apr 13, 2014 11:10 pm
Forum: Camera board
Topic: pi noir not working
Replies: 1
Views: 574

pi noir not working

My pi noir is not working. It seems like it is working but never goes into preview. The light is lit up and I get no error. Please clear this up for me.
by samson241
Sat Feb 01, 2014 5:25 am
Forum: General discussion
Topic: Monitor help
Replies: 1
Views: 400

Monitor help

Hello, I have a new(to me) monitor that I connected via an adapter hdmi-vga. It claims to have 1280-1024 resolution. The command line is off the edges of the screen to the left and down. After fiddling extensively with the monitor in my monitor menu, the problem is unsolved. I can't get it to positi...
by samson241
Thu Jan 02, 2014 11:42 pm
Forum: Camera board
Topic: pi noir
Replies: 2
Views: 574

Re: pi noir

Thanks
by samson241
Thu Jan 02, 2014 5:43 pm
Forum: Camera board
Topic: pi noir
Replies: 2
Views: 574

pi noir

I was wondering if using the ir board in normal light would damage it. As I understand it, it won't but the image will look a little weird. Please clear that up for me. Thanks!
by samson241
Mon Nov 25, 2013 4:55 pm
Forum: Python
Topic: Curses module help
Replies: 2
Views: 1033

Re: Curses module help

Thank you it works great now!
Sam
by samson241
Mon Nov 25, 2013 1:25 am
Forum: Python
Topic: Curses module help
Replies: 2
Views: 1033

Curses module help

Now I have figured out that my problem is that the line char=screen.getch() it stops until I put in a character. Is there a way that I can have it take the character if there is one but in the absence of one move on with the program? Here is my full code. import serial import RPi.GPIO as GPIO import...
by samson241
Sun Nov 24, 2013 6:19 pm
Forum: Python
Topic: robot programming
Replies: 8
Views: 1551

Re: robot programming

okay, so I now can switch seamlessly between the two and use the RC mode. The auto mode is still not working. It has to be either the taking of data from the sensors or the serial communication in that section. If you see anything please let me know. Thank you so much for the help!
by samson241
Sun Nov 24, 2013 2:54 pm
Forum: Python
Topic: robot programming
Replies: 8
Views: 1551

Re: robot programming

Hi Samson, What I had in mind was something like this (untested): import serial import RPi.GPIO as GPIO import time import curses ser=serial.Serial('/dev/ttyACM0',9600) GPIO.setwarnings(False) GPIO.setmode(GPIO.BOARD) GPIO.setup(11, GPIO.IN) GPIO.setup(26, GPIO.IN) screen=curses.initscr() curses.no...
by samson241
Sun Nov 24, 2013 6:34 am
Forum: Python
Topic: robot programming
Replies: 8
Views: 1551

Re: robot programming

what I am trying to do is have the functions call each other when I trigger a specific hey, in this example, the down arrow. I am trying to get it to switch from reading sensors to responding to my keyboard inputs. The code I have I can't find any problems, but it doesn't work. Thank you so much for...
by samson241
Sat Nov 23, 2013 10:03 pm
Forum: Python
Topic: robot programming
Replies: 8
Views: 1551

Re: robot programming

I don't understand exactly what you want to do, but your while loop cannot work: it loops while the down arrow is pressed, but then checks == up, left, right - none of these check can be true because the code only reaches that point if just the down arrow is pressed. I suspect you "while" actually ...
by samson241
Sat Nov 23, 2013 9:50 pm
Forum: Python
Topic: robot programming
Replies: 8
Views: 1551

robot programming

Hello, this is Sam. Today I have made two modes for my robot, autonomous , and RC. Now I am trying to combine them like functions and make them switch by hitting the down arrow. So far I have had lots of problems. Here is my code. import serial import RPi.GPIO as GPIO import time import curses ser=s...
by samson241
Fri Nov 08, 2013 6:43 pm
Forum: Automation, sensing and robotics
Topic: A Hexapod robot project Etmos
Replies: 1
Views: 1309

Re: A Hexapod robot project Etmos

Good luck!
by samson241
Sat Nov 02, 2013 4:11 pm
Forum: Camera board
Topic: pi camera not working
Replies: 1
Views: 501

pi camera not working

for some reason now is shows only black in the preview screen and the vids come out black. when I try verbose, it shows everything acting normally. Any help will be appreciated. Thanks.
by samson241
Tue Oct 29, 2013 1:47 pm
Forum: Python
Topic: object tracking in python
Replies: 0
Views: 666

object tracking in python

Hi this is Sam. I was wondering if anyone knew how to stream video from the pi camera into a python program and be able to locate, say a red rubber ball. Have any ideas? Thanks!
by samson241
Mon Sep 23, 2013 4:12 am
Forum: General discussion
Topic: Xbee Explorer
Replies: 1
Views: 730

Re: Xbee Explorer

Would this be a good substitute? http://www.amazon.com/FTDI-FT232RL-Breakout-Board-socket/dp/B007R5DA7Q/ref=sr_1_4?ie=UTF8&qid=1379887465&sr=8-4&keywords=USB+FTDI+TTL-232+cable Also could I give commands through it connected to my laptop? I would like to send signals to my rpi and/or arduino from my...
by samson241
Mon Sep 23, 2013 4:07 am
Forum: General discussion
Topic: Xbee Explorer
Replies: 1
Views: 730

Xbee Explorer

Is xbee explorer required to use xbee? do I need one to set up communication?
by samson241
Mon Sep 23, 2013 3:51 am
Forum: Camera board
Topic: timelapse problems
Replies: 9
Views: 1529

Re: timelapse problems

Ok. I got it to work. I used movie maker to put the pictures together. Thanks!
by samson241
Sun Sep 22, 2013 5:59 pm
Forum: Camera board
Topic: timelapse problems
Replies: 9
Views: 1529

Re: timelapse problems

when I set up my time lapse, I seem to get not many pictures, but one picture that changes to be the one last taken. Can anyone help with this?
by samson241
Sun Sep 22, 2013 4:07 pm
Forum: Camera board
Topic: timelapse problems
Replies: 9
Views: 1529

Re: timelapse problems

Thank you so much!
So my understanding now is that -t determines how many shots you are going to take.
by samson241
Sat Sep 21, 2013 3:23 pm
Forum: Camera board
Topic: timelapse problems
Replies: 9
Views: 1529

Re: timelapse problems

I think I understand. Could you give me an example command in avcovc or ffmpeg?
thanks
by samson241
Sat Sep 21, 2013 2:22 pm
Forum: Camera board
Topic: timelapse problems
Replies: 9
Views: 1529

Re: timelapse problems

ednl wrote:If you need a movie from the start, use raspivid.
Will the fps on raspivid give me a time lapse or just a choppy video? And what is a h264 stream?
thanks, sam.
by samson241
Sat Sep 21, 2013 4:53 am
Forum: Camera board
Topic: timelapse problems
Replies: 9
Views: 1529

timelapse problems

Hello, This is Sam and I am having some problems. I want to use the time-lapse function under raspistill, but it isn't working. My problem is telling it when to stop. Here is what I put in. sudo raspistill -tl 500 -t 36000000 -o /media/LEXAR/tl.avi According to my calculations this should set it for...
by samson241
Tue Aug 27, 2013 5:54 am
Forum: General discussion
Topic: Completed: Piduino Cart!
Replies: 12
Views: 2631

Re: Completed: Piduino Cart!

blamarpa wrote:I like it, congratulations, :lol:
Thanks! This has been a lot of work and saving up money. It totaled about $100 USD.
by samson241
Tue Aug 27, 2013 5:51 am
Forum: General discussion
Topic: Completed: Piduino Cart!
Replies: 12
Views: 2631

Re: Completed: Piduino Cart!

mikerr wrote:Hehe, like the guinea pig along for the ride

you could also use the Pi to directly control the servos with servoblaster software.
That would be cool. I tried to use it but i had problems because i iz noob. :lol:

Go to advanced search