Go to advanced search

by theunit
Thu Jul 19, 2012 12:14 pm
Forum: Automation, sensing and robotics
Topic: Kinect - Would it ever work with a Raspberry Pi?
Replies: 117
Views: 71252

Re: Kinect - Would it ever work with a Raspberry Pi?

I didn't even think to try the java samples. I would guess that the glut/c++ implementation would run a bit faster (if it worked).
by theunit
Thu Jul 19, 2012 11:57 am
Forum: Automation, sensing and robotics
Topic: Kinect - Would it ever work with a Raspberry Pi?
Replies: 117
Views: 71252

Re: Kinect - Would it ever work with a Raspberry Pi?

Nice work Dimi!

I see you got the SimpleViewer working, I thought there were issues with glut or something, it didn't work on mine. Did you do anything different? Which distro? I was using Debian squeeze, I am going to update to wheezy soon though.
by theunit
Mon Jul 09, 2012 3:32 pm
Forum: Automation, sensing and robotics
Topic: Kinect - Would it ever work with a Raspberry Pi?
Replies: 117
Views: 71252

Re: Kinect - Would it ever work with a Raspberry Pi?

jmacey, I found the freenect tiltdemo example to work fine without any hacks. I did write some code to grab a depth image from kinect and save it to file - this seemed like the most basic program - but I have not yet tested it. No-one has reported success of grabbing depth images from the Kinect wit...
by theunit
Wed Jul 04, 2012 4:26 pm
Forum: Automation, sensing and robotics
Topic: Kinect - Would it ever work with a Raspberry Pi?
Replies: 117
Views: 71252

Re: Kinect - Would it ever work with a Raspberry Pi?

I tried compiling the Kinect drivers for OpenNI from https://github.com/avin2/SensorKinect/ but the compile failed due to what seems like some missing header files.
by theunit
Wed Jul 04, 2012 3:17 pm
Forum: Automation, sensing and robotics
Topic: Kinect - Would it ever work with a Raspberry Pi?
Replies: 117
Views: 71252

Re: Kinect - Would it ever work with a Raspberry Pi?

I have just got the ASUS Xtion sensor working on the raspberry pi using OpenNI. The OpenNI SimpleRead example works and outputs the depth of the middle pixel. I can't see any reason why the Kinect would not also work with OpenNI. There are a few things you must do to make OpenNI compile (and compila...
by theunit
Fri Jun 22, 2012 9:47 am
Forum: Automation, sensing and robotics
Topic: Kinect - Would it ever work with a Raspberry Pi?
Replies: 117
Views: 71252

Re: Kinect - Would it ever work with a Raspberry Pi?

Somehow the OpenGL seems to make Problems. This is the conclusion I came to. I wrote some code to access the depth stream without GL but I haven't tested it yet (I was borrowing a Kinect and i no longer have it) Were you able to access the depth and colour streams with your non-GL code? I think I r...
by theunit
Tue Jun 05, 2012 7:42 pm
Forum: Python
Topic: Help needed with pyserial (Arduino)
Replies: 19
Views: 46093

Re: Help needed with pyserial (Arduino)

Try plugging the Arduino in a different USB port (maybe directly to the RP)

I just rearranged the ordering of my Arduino and Keyboard to not be through my hub and now it all works! Really surprising since the Arduino is being powered directly from Raspberry Pi.
by theunit
Tue Jun 05, 2012 7:38 pm
Forum: C/C++
Topic: Serial comms with Boost ASIO and Arduino
Replies: 2
Views: 2968

Re: Serial comms with Boost ASIO and Arduino

I just tried a few different combinations of where the USB devices were plugged in and now it works. Clearly a USB issue.
by theunit
Tue Jun 05, 2012 7:25 pm
Forum: Python
Topic: Help needed with pyserial (Arduino)
Replies: 19
Views: 46093

Re: Help needed with pyserial (Arduino)

I am having the exact same problems. I haven'y tried Python but I cannot get communication working with C++ or LinuxTTY. All i get is an Input/output error.

Has anyone found a fix for this yet?
by theunit
Tue Jun 05, 2012 7:10 pm
Forum: C/C++
Topic: Serial comms with Boost ASIO and Arduino
Replies: 2
Views: 2968

Re: Serial comms with Boost ASIO and Arduino

So just tried using LinuxTTY as described on Arduino website: http://arduino.cc/playground/Interfacing/LinuxTTY Using this command: stty -F /dev/ttyACM0 cs8 38400 ignbrk -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke noflsh -ixon -crtscts I get the s...
by theunit
Tue Jun 05, 2012 7:01 pm
Forum: C/C++
Topic: Serial comms with Boost ASIO and Arduino
Replies: 2
Views: 2968

Serial comms with Boost ASIO and Arduino

I am trying to get my RP communicating with my Arduino using Boost ASIO but having some problems. When i try to run my program it does nothing for a while and then I get an error from boost: what(): Input/output error The same code runs fine on another computer (although other pc has Boost 1.46.1, R...
by theunit
Tue Jun 05, 2012 2:41 pm
Forum: Other projects
Topic: Is there any point? 3.5 screen
Replies: 4
Views: 1738

Re: Is there any point? 3.5 screen

I have just ordered a very similar one from eBay. Mine is for use on an RPi based robot I am building. It is just to give some visual feedback so will be fine. I would imagine watching videos on it would not be too bad but reading text will probably be awful. Imagine reading text on your phone, that...
by theunit
Tue Jun 05, 2012 2:34 pm
Forum: Automation, sensing and robotics
Topic: Kinect - Would it ever work with a Raspberry Pi?
Replies: 117
Views: 71252

Re: Kinect - Would it ever work with a Raspberry Pi?

A few people have mentioned the issue of only the Motor showing up, no Audio and Camera. In my experience you MUST put the Kinect through a powered hub to get these to show up consistently (as well as the Kinect external power supply). The Kinect has it's own USB Hub, the motor, the audio and the ca...
by theunit
Thu May 17, 2012 6:40 pm
Forum: Troubleshooting
Topic: Pi naughtily leeching power...
Replies: 13
Views: 1976

Re: Pi naughtily leeching power...

FollowingGhosts wrote:IIRC the USB fuse is around 140mA and the Pi power draw is at least twice that, so it won't be doing your polyfuse any favours.
Surely the polyfuses must be able to cope with that? A standard USB device can draw 500ma which is more than the RP draws.
by theunit
Thu May 17, 2012 6:37 pm
Forum: Troubleshooting
Topic: Issues with USB and Ethernet
Replies: 8
Views: 1946

Re: Issues with USB and Ethernet

Thanks for the note about the kernel.img - is there a newer one available on github than in the latest debian release?
Yes it is much newer, in fact the current kernel.img was built a day ago!

Link: https://github.com/raspberrypi/firmware ... aster/boot
by theunit
Thu May 17, 2012 5:35 pm
Forum: Troubleshooting
Topic: Issues with USB and Ethernet
Replies: 8
Views: 1946

Re: Issues with USB and Ethernet

When your hub doesn't work when you cut the +5V, it's a clear sign that the hub was drawing power from the RP! It is exactly what happened with mine. I have now soldered an extra wire in my hub so the external power supply connects to the would-have-been-there USB 5V. Haven't got to testing it yet. ...
by theunit
Thu May 17, 2012 5:29 pm
Forum: Troubleshooting
Topic: Pi naughtily leeching power...
Replies: 13
Views: 1976

Re: Pi naughtily leeching power...

I don't quite understand the setup you have got there. In my powered USB hub there is a diode connecting the DC in V+ and the USB in V+. This stops the hub from sucking current from the RP if the DC in voltage drops. However, it does not stop the RP from drawing current from the hub if there is no v...
by theunit
Thu May 17, 2012 1:18 pm
Forum: Troubleshooting
Topic: OpenElec + External HDD
Replies: 22
Views: 50135

Re: OpenElec + External HDD

Do you have all the USB devices plugged in in the same configuration as when you used Debian?
by theunit
Thu May 17, 2012 1:07 pm
Forum: Troubleshooting
Topic: Issues with USB and Ethernet
Replies: 8
Views: 1946

Re: Issues with USB and Ethernet

This could still be a power issue. The USB hub, even if self powered, has the potential to draw up to 500ma from the RP. The RP can only supply up to 100ma. I have just hacked my hub to isolate its power from the RP but haven't tested it yet. Hopefully this will fix the problem Another thing is ther...
by theunit
Thu May 17, 2012 11:27 am
Forum: Troubleshooting
Topic: OpenElec + External HDD
Replies: 22
Views: 50135

Re: OpenElec + External HDD

May seem stupid, but have you tried unplugging the USB drive and plugging it back in? It worked for me!
by theunit
Wed May 16, 2012 9:02 pm
Forum: Troubleshooting
Topic: USB power isolation
Replies: 6
Views: 1590

Re: USB power isolation

So i got the hub apart. Mostly tiny surface mount components which I am sure i am never going to be able to connect to with my soldering skills. Luckily for me, there is huge diode connecting the USB in V+ and the DC in V+. Nice big connections which are easy to solder on to. I did a quick test bypa...
by theunit
Wed May 16, 2012 7:37 pm
Forum: Troubleshooting
Topic: USB power isolation
Replies: 6
Views: 1590

Re: USB power isolation

So i got me a cheap 6-inch USB extension lead today and proceeded to disconnect the V+ wire. I then tested the hub connected via this lead, the hub did not even get detected. So it seems for my hub, even though it has it's own power supply, it needs the 5V from the USB to power up. This is clearly t...
by theunit
Tue May 15, 2012 9:20 am
Forum: Troubleshooting
Topic: USB power isolation
Replies: 6
Views: 1590

USB power isolation

USB/ethernet seems to be a huge issue with the Pi at the moment. Many people have said that the problems are likely due to power issues. There have been many suggestions by people to isolate the usb power form the Pi so there is definitely no current draw over USB. Has anyone actually tried this? An...
by theunit
Mon May 14, 2012 10:17 am
Forum: Troubleshooting
Topic: Recommended USB power supplies?
Replies: 12
Views: 19819

Re: Recommended USB power supplies?

The main thing to check is the rating of the power supply. The RP needs 700ma. I personally would get a power supply which can deliver at least 1000ma to be sure. Can you find out the power rating of your keyboard? If it is greater than 140ma then that could be the reason for the repeated key-presse...
by theunit
Mon May 14, 2012 9:57 am
Forum: Troubleshooting
Topic: I cant get a keyboard to work with my PI!
Replies: 42
Views: 34655

Re: I cant get a keyboard to work with my PI!

The problem I read about was something to do with libusb or the kernel, the firmware upgrade would be as simple as writing a new image to the SD card, or maybe even just upgrading directly from the current SD card.

Go to advanced search