Go to advanced search

by codyrigney92
Fri May 06, 2016 12:17 pm
Forum: Camera board
Topic: Get Camera Hardware Revision
Replies: 6
Views: 2990

Re: Get Camera Hardware Revision

Thanks I'll check it out!
by codyrigney92
Tue May 03, 2016 6:05 pm
Forum: Camera board
Topic: Get Camera Hardware Revision
Replies: 6
Views: 2990

Get Camera Hardware Revision

Hi,

I'm trying to figure out how to find out from code (C++ or Python) what hardware revision the connected pi camera is, whether V1 or V2. Is there a vcgencmd I can use or an mmal function? Thanks ahead of time!
by codyrigney92
Mon Mar 02, 2015 4:11 pm
Forum: Other
Topic: Ubuntu 14.04 (trusty) Raspberry Pi 2 image
Replies: 238
Views: 163848

Re: Ubuntu 14.04 (trusty) Raspberry Pi 2 image

The specific problem was that it couldn't create (or find?) the camera component. I discovered it was because it wasn't linking to libmmal_vc_client.so. Adding the --no-as-needed linker option to the build fixed it, which is what's in the patch I posted. I don't fully understand how the firmware wo...
by codyrigney92
Sun Mar 01, 2015 3:21 am
Forum: Other
Topic: Ubuntu 14.04 (trusty) Raspberry Pi 2 image
Replies: 238
Views: 163848

Re: Ubuntu 14.04 (trusty) Raspberry Pi 2 image

I was able to get the Pi Camera working on this image. Thank you for providing this OS image! I did NOT install the libraspberrypi-bin or libraspberrypi-dev because when I did they didn't work with the camera. I'm not sure why the libraspberrypi packages from the PPA wouldn't have worked. That libr...
by codyrigney92
Wed Feb 25, 2015 7:08 pm
Forum: Other
Topic: Ubuntu 14.04 (trusty) Raspberry Pi 2 image
Replies: 238
Views: 163848

Re: Ubuntu 14.04 (trusty) Raspberry Pi 2 image

Hey guys, I was able to get the Pi Camera working on this image. Thank you for providing this OS image! I did NOT install the libraspberrypi-bin or libraspberrypi-dev because when I did they didn't work with the camera. First thing is to add this to /boot/config.txt: start_x=1 gpu_mem=128 Then you h...
by codyrigney92
Mon May 12, 2014 1:43 am
Forum: Python
Topic: WiringPi, Apache2 and cgi-bin
Replies: 4
Views: 2757

Re: WiringPi, Apache2 and cgi-bin

When you run the script normally, are you running it as root? Is it possible that it doesn't work properly without root? Such as when apache executes it? I had an issue with either the raspberry pi or beaglebone (don't remember) where it wouldn't work right without root, but it never gave me errors....
by codyrigney92
Sat Jun 01, 2013 5:34 am
Forum: General discussion
Topic: 2gb sd card shows only 65 megabytes available
Replies: 18
Views: 4608

Re: 2gb sd card shows only 65 megabytes available

You can read between the lines and assume that the "It only has 65 megs" comment means "When viewed from a DOS/Windows PC". And the answer to that is: Don't worry about it. Everything is OK. Agreed. I don't normally make assumptions because I've seen too many times where a wrong...
by codyrigney92
Sat Jun 01, 2013 5:23 am
Forum: Camera board
Topic: Help with prog. RPi Camera seems slow for object detection?
Replies: 11
Views: 10401

Re: Help with prog. RPi Camera seems slow for object detecti

I haven't used the new Camera, but there has to be a way to do it. With the os.system function you are using it is creating a process(kernel overhead), writing to disk then reading(IO bottleneck), then finally the computer vision stuff. SO anyway not very fast. First thing I would do is look for exa...
by codyrigney92
Fri May 31, 2013 2:47 am
Forum: General discussion
Topic: 2gb sd card shows only 65 megabytes available
Replies: 18
Views: 4608

Re: 2gb sd card shows only 65 megabytes available

You aren't giving enough info. Where did it say it had only 65 megs left?

If you already flashed Raspbian or another distro and are looking at the FAT partition from your computer, that doesn't need to be large, it just contains the firmware and kernel.
by codyrigney92
Wed May 29, 2013 8:02 pm
Forum: General discussion
Topic: Open Source Pi Projects Android App
Replies: 4
Views: 1616

Re: Open Source Pi Projects Android App

You may not see the point because its not complete. Like Matt was saying, add ratings. Also categories, comments, etc. I gotta say its much easier to find cool projects on the app than googling where you are likely to get 95% crap results. This will greatly improve with the planned enhancements. Aga...
by codyrigney92
Wed May 29, 2013 5:06 pm
Forum: General discussion
Topic: Open Source Pi Projects Android App
Replies: 4
Views: 1616

Open Source Pi Projects Android App

Hi fellow Android developers, I decided to open source my Pi Projects android app. https://play.google.com/store/apps/details?id=com.rigney.raspberrypiprojects The source is here: https://github.com/codyrigney92/piprojects I won't have much free time anymore so maybe some other developers can help i...
by codyrigney92
Thu May 23, 2013 1:17 am
Forum: C/C++
Topic: uint8_t not declared?
Replies: 4
Views: 11691

Re: uint8_t not declared?

I was missing <stdint.h> (as well as <string.h> for a memcpy), thanks for the help everyone! OS X must just throw those in some other way and not require the includes. You are absolutely right. I think the compiler auto-includes them. This caused me problems for class assignments. I would write the...
by codyrigney92
Sat Apr 06, 2013 10:31 pm
Forum: C/C++
Topic: Where should OpenCV be ?
Replies: 5
Views: 1515

Re: Where should OpenCV be ?

When you do "make install" in the opencv directory it should have placed all the files in the proper places. This way you can just include them like normal. I think the directory it installs the includes in is /usr/local/include
by codyrigney92
Tue Apr 02, 2013 11:23 pm
Forum: Other projects
Topic: iPad/RasPi/EggBot
Replies: 1
Views: 1516

Re: iPad/RasPi/EggBot

That's awesome.

I did something similar but with my nexus 7. I used a OTG cable to hook up my keyboard and mouse and just used VNC to get the Pi screen.
by codyrigney92
Mon Apr 01, 2013 5:20 pm
Forum: Bare metal, Assembly language
Topic: Samsung Strive screen on a pi?
Replies: 7
Views: 2385

Re: Samsung Strive screen on a pi?

Well the ribbon seems to have 30-31 contact points so I'm wondering if I can find a cable that can clip that type to the pi gpio Look how the GPIO pins are layed out: http://elinux.org/RPi_Low-level_peripherals This is what you would need to interface with it. If you notice, most pins are specific ...
by codyrigney92
Mon Apr 01, 2013 12:23 am
Forum: Other projects
Topic: Wireless Communication?
Replies: 1
Views: 835

Re: Wireless Communication?

Not 415 MHz I meant 433Mhz.
by codyrigney92
Sat Mar 30, 2013 5:51 pm
Forum: Other projects
Topic: Wireless Communication?
Replies: 1
Views: 835

Wireless Communication?

I had an idea for wireless communication I wanted to try. Using this as the transmitter(Raspberry Pi, just with this software): http://www.icrobotics.co.uk/wiki/index.php/Turning_the_Raspberry_Pi_Into_an_FM_Transmitter And this as the receiver: http://www.adafruit.com/products/1096 My question is, t...
by codyrigney92
Fri Mar 29, 2013 10:04 pm
Forum: General programming discussion
Topic: ARM is the same as ARM?
Replies: 8
Views: 2186

Re: ARM is the same as ARM?

Don't you need the GBA API binaries to do this? I assume you had them since it didn't give you a compile error. Maybe you would have better luck downloading the GBA compiler onto the pi. Of course that would mean you need an ARM GCC GBA compiler. Or just build the source of the compiler if its avail...
by codyrigney92
Thu Mar 14, 2013 10:53 pm
Forum: General programming discussion
Topic: Detect process running, if not, restart it
Replies: 7
Views: 17274

Re: Detect process running, if not, restart it

You can use this command.

Code: Select all

ps -e | grep programname
And if it gives back any results than its already running.
by codyrigney92
Sun Feb 17, 2013 7:00 pm
Forum: Graphics programming
Topic: Release: Raspberry2D library
Replies: 4
Views: 3015

Re: Release: Raspberry2D library

This looks awesome. Thanks! Great for use and learning purposes.
by codyrigney92
Thu Feb 14, 2013 4:47 am
Forum: Bare metal, Assembly language
Topic: Writing a basic hello world OS?
Replies: 12
Views: 7761

Re: Writing a basic hello world OS?

For OS written in C you can look a few pages into this forum and there was a recent post about it. The guy posted example code. Can't find it at the moment but you will probably find it.
by codyrigney92
Wed Feb 13, 2013 10:37 pm
Forum: C/C++
Topic: Playing a .WAV file from a C / C++ program
Replies: 8
Views: 9456

Re: Playing a .WAV file from a C / C++ program

Couldn't you just call: ?

Code: Select all

aplay sound.wav
I think that binary comes with the Rasbian distro.
by codyrigney92
Wed Feb 13, 2013 10:35 pm
Forum: C/C++
Topic: send email from a C program?
Replies: 12
Views: 17064

Re: send email from a C program?

You could execute software that does it for you. Here is an example: http://www.debianadmin.com/how-to-sendemail-from-the-command-line-using-a-gmail-account-and-others.html Also, gmail has a capability of at least receiving(maybe sending) email by calling a certain HTTP request to their servers done...
by codyrigney92
Wed Feb 13, 2013 6:52 pm
Forum: Other projects
Topic: Button notification
Replies: 4
Views: 989

Re: Button notification

Yes, the Pi can act as a server. I don't know anything about "push" servers or if there is anything proprietary to it but what you could do is run the pi as a server. Have the app check the server every so many minutes or seconds (polling) that way the only thing you would have to do is se...
by codyrigney92
Tue Feb 12, 2013 5:29 am
Forum: Gaming
Topic: Minecraft Now Available!
Replies: 14
Views: 6069

Re: Minecraft Now Available!

I tried to launch it and it just opens the window and hangs. Using about a quarter CPU. Anybody know why?

Go to advanced search