Go to advanced search

by vinnieb
Sat Nov 02, 2019 9:56 pm
Forum: General discussion
Topic: Drone Vision-Based Autonomous Landing using R-Pi & Pixy2 Camera?
Replies: 1
Views: 316

Re: Drone Vision-Based Autonomous Landing using R-Pi & Pixy2 Camera?

Did this about 4 years back using artoolkit. There's probably other options out there now but that's been around so long it's pretty well documented. As soon as the marker comes into camera view you get your xyz relative to it. You've then got a standard control loop problem to solve to modify drone...
by vinnieb
Thu Feb 28, 2019 4:35 pm
Forum: General discussion
Topic: Controlling My Nan's TV remotely
Replies: 2
Views: 264

Re: Controlling My Nan's TV remotely

Broadlink have a couple of devices for under 20 quid, they connect up to your WiFi and then can receive an IR command and store it, and replay on demand. You could then use a pi as a VPN server with a port forwarded to it, and with some openvpn setup have keys setup for your phone, I've used this fo...
by vinnieb
Wed Feb 13, 2019 9:45 pm
Forum: General discussion
Topic: Any mic recommendations? Or how to detect a water leak!
Replies: 4
Views: 329

Re: Any mic recommendations? Or how to detect a water leak!

Hm ultrasonic for depth of the tank is an interesting one.. ideally I'm trying to avoid adding more stuff into the tank that could fall in, but given the state of it I'm not sure it would make much difference! I did spot those kind of water detectors, and will probably get a couple to put around the...
by vinnieb
Wed Feb 13, 2019 9:07 pm
Forum: General discussion
Topic: Any mic recommendations? Or how to detect a water leak!
Replies: 4
Views: 329

Any mic recommendations? Or how to detect a water leak!

Hi All, After suffering a surprise leak on the weekend, I've been scratching my head on how to detect a water leak. Obvious methods for direct measurement of water flow don't look promising - hall sensor doesn't seem good for general house pipes (tho the cold water tank isn't exactly clean), ultraso...
by vinnieb
Mon Dec 03, 2018 7:43 am
Forum: General discussion
Topic: Is camera module really suitable for.24/7 streaming?
Replies: 16
Views: 1552

Re: Is camera module really suitable for.24/7 streaming?

Had a variety of pis running for about 4 years or so now doing this, total time not uptime. Currently using a pi zero, longest uptime approached a year before I had other power problems. Running openvpn on it connected out to my VPN server so I can access it as a local device anywhere. Motion provid...
by vinnieb
Fri Oct 19, 2018 6:21 pm
Forum: General discussion
Topic: 'Data Science' relatable MSc project sought
Replies: 4
Views: 576

Re: 'Data Science' relatable MSc project sought

Definitely a good idea to pick a topic that motivates you, plus more sense of ownership. I wonder if the driver data is done in the models that insurance companies use when offering reduced premiums if you use their black box in your car? Personally I'm trying to get a bit of time to look at the dat...
by vinnieb
Fri Oct 05, 2018 4:41 pm
Forum: General discussion
Topic: "Unfortunately, I do not have a scope, nor does anybody I know."
Replies: 12
Views: 1526

Re: "Unfortunately, I do not have a scope, nor does anybody I know."

I had alot of fun building the dso138, and learnt alot about the circuitry involved through hours of troubleshooting why it wasn't working. There's some mods to improve it further, and some firmware alternatives too I believe. I haven't actually used it much for real applications yet, but for the lo...
by vinnieb
Wed Aug 01, 2018 8:39 am
Forum: Assistive technology and accessibility
Topic: Can a Pi be used in some way to prevent Dementia sufferers making landline calls to a specific number?
Replies: 16
Views: 12358

Re: Can a Pi be used in some way to prevent Dementia sufferers making landline calls to a specific number?

This is the same option as going down the exclusive VoIP option, just 2 different ways I've played with it here.. There's free phone exchange software out there that would run on the pi, called asterisk. There's distros made just for the pi with everything pre installed. That's VoIP based, so the ne...
by vinnieb
Mon Jul 16, 2018 6:51 pm
Forum: General discussion
Topic: Want to play back first frame of video, while still recording, for an FX trick.
Replies: 3
Views: 422

Re: Want to play back first frame of video, while still recording, for an FX trick.

Cool idea. The concept should be possible with opencv as another alternative, and whatever java/python/c++ you feel most comfortable with. You'd get a stream object for the camera video feed, I guess manage an array of whatever frame rate divides into your 'ghost' duration, and drop out/add in frame...
by vinnieb
Tue Jun 19, 2018 6:58 pm
Forum: General discussion
Topic: 64-bit operating system
Replies: 351
Views: 96049

Re: 64-bit operating system

Finally had some time to explore a 64 bit build a bit more - I took a build from here https://github.com/Crazyhead90/pi64/releases/tag/2018-04-17 as was only one I could easily find with 64bit kernel+user land for Pi 3B+. I've been interested for a while why some OpenCV functions are a bit slow on t...
by vinnieb
Tue May 29, 2018 7:45 am
Forum: General discussion
Topic: Building a Custom Robot - A Few Questions
Replies: 1
Views: 319

Re: Building a Custom Robot - A Few Questions

Sounds like an interesting project, I've got a similar little robot :) On the servo front, can you put a test piece of code on the Arduino you have controlling them, just to cycle forward and back, at same speed as the pi would tell it to run? From what I remember motors have to work harder from sta...
by vinnieb
Sat May 26, 2018 10:32 am
Forum: General discussion
Topic: Setting up and exterior livestream
Replies: 3
Views: 436

Re: Setting up and exterior livestream

I'd suggest a measured scientific approach, it's always interesting to learn things along the way. So, off the top of my head, first maybe just try the pi with a webcam streaming at home, and take a look how much current this draws. You've then got to factor in energy loss due to whatever power supp...
by vinnieb
Wed May 09, 2018 7:29 am
Forum: General discussion
Topic: Determine if ceiling fan is moving from 2 or 3 meters away?
Replies: 5
Views: 697

Re: Determine if ceiling fan is moving from 2 or 3 meters away?

If youve got a webcam or picam around, I'd suggest giving opencv a try, depending on language preference it's not too tricky to put something together in java, python, or C++ from examples on the net. Unfortunately I've found there's not enough grunt to do much analysis per frame and still get a hig...
by vinnieb
Sun Nov 05, 2017 6:09 pm
Forum: General discussion
Topic: Anyone using opencv + face recognition, what sort of performance are you getting?
Replies: 0
Views: 569

Anyone using opencv + face recognition, what sort of performance are you getting?

Hi All, I ported over Pi builds of the JavaCV project a little while ago, which gives nice access via Java to a number of C++ projects. Initially I was using this for OpenCV, and I've always just worked around slightly slower performance and have been seeing around 2 frames per second up to 4 or 5, ...
by vinnieb
Mon May 01, 2017 3:04 pm
Forum: General discussion
Topic: pi motor control / l293d noise?
Replies: 5
Views: 843

Re: pi motor control / l293d noise?

xamal - bounce time just delay the effect kicking in (i.e. set to 1000ms, everything is fine until after that - I guess noise on the line is just ignored till then). On the GPIO pin side, I'm using board numbers rather than GPIO pin numbers where you see them. I've tried a few alternatives though an...
by vinnieb
Thu Apr 20, 2017 6:41 pm
Forum: General discussion
Topic: pi motor control / l293d noise?
Replies: 5
Views: 843

Re: pi motor control / l293d noise?

Hi, Yeah, rows 22 and 26 in the picture are the ones with switches, 10kohm switch in there on each switch. Switch works fine so long as the motor isn't connected into the circuit - I can see it trigger the callbacks and output text in that case. Just that something changes when the dc motor is turne...
by vinnieb
Wed Apr 19, 2017 9:53 am
Forum: General discussion
Topic: pi motor control / l293d noise?
Replies: 5
Views: 843

pi motor control / l293d noise?

Hi All, Been a good few years since I did much electronics, and even then it was never my strong point! So I'm a bit stuck and confused. I've wired up a DC motor to a L293D chip pretty much like this https://learn.adafruit.com/assets/3654 and if I just set the enable GPIO pin high, and the other two...
by vinnieb
Sun Sep 04, 2016 2:51 pm
Forum: General discussion
Topic: stability of pi over long time with camera running?
Replies: 15
Views: 2531

Re: stability of pi over long time with camera running?

Hey sorry slow reply.. Yeah it was quite a length off.. Previously I had a barrel connector out from the PoE power supply, to a full size USB connector, and then a fullsize to micro adapter on the end of that. None exactly high spec kit, so I could imagine there was a bit of resistance introduced so...
by vinnieb
Tue Jun 21, 2016 7:12 pm
Forum: General discussion
Topic: stability of pi over long time with camera running?
Replies: 15
Views: 2531

Re: stability of pi over long time with camera running?

Well, the proof is in the pudding! Shortened down the cable hugely, to only be about 10cm in total, soldered back up, powered on and hey presto - now seeing a steady 5.01V occasionally dipping down to 4.98 or so. vcgencmd get_throttled is showing 0x0. Great result in the end, a cost free change to h...
by vinnieb
Mon Jun 20, 2016 8:23 pm
Forum: General discussion
Topic: stability of pi over long time with camera running?
Replies: 15
Views: 2531

Re: stability of pi over long time with camera running?

Interesting.. did a bit more reading, and spotted this too
pi@picam:~ $ vcgencmd get_throttled
throttled=0x50005

And thats after rebooting it a few minutes ago. Looks like I need to shorten some cables!
by vinnieb
Mon Jun 20, 2016 7:18 pm
Forum: General discussion
Topic: stability of pi over long time with camera running?
Replies: 15
Views: 2531

Re: stability of pi over long time with camera running?

Got the multimeter out, it looks like for a Pi 3 its measured from the GPIO rather than test points? I was getting 4.88V but it fluctuated alot, at one point 4.79V. If its CPU load that could affect that, I guess when its doing face recognition on frames where there has been movement, it might drop ...
by vinnieb
Sun Jun 19, 2016 2:56 pm
Forum: General discussion
Topic: stability of pi over long time with camera running?
Replies: 15
Views: 2531

Re: stability of pi over long time with camera running?

That's good to hear that 9 months stability is possible. I don't suppose anyone has looked at measuring the resistance of cable from supply to unit, with a view on numbers that cause problems? Or anything you can look at that would confirm that as the problem? As xymon just reported that one of the ...
by vinnieb
Sun Jun 19, 2016 9:42 am
Forum: General discussion
Topic: stability of pi over long time with camera running?
Replies: 15
Views: 2531

stability of pi over long time with camera running?

Hi, I've got a few Pi's (1s,2s,3s,zero) doing various things, and I get good uptime / stability on most of them running for months no problem. But, I see a bit of a trend where I'm using the camera module, of occasional lockups (well, I don't have any plugged into a screen, so by that I mean no long...
by vinnieb
Tue Mar 15, 2016 4:41 pm
Forum: General discussion
Topic: best way to cross compile for all pis?
Replies: 3
Views: 2166

Re: best way to cross compile for all pis?

Yeah I thought about compiling locally.. the problem is on pi1 it can take something like 5+ hours, opencv takes a long time and then ffmpeg + dependencies on top of that. Is about 30 mins to build the lot on my desktop PC! I'm kind of swaying towards building 3 different targets, arm6, arm7 + pi3. ...
by vinnieb
Tue Mar 15, 2016 9:53 am
Forum: General discussion
Topic: best way to cross compile for all pis?
Replies: 3
Views: 2166

best way to cross compile for all pis?

Hi, I've been trying to add in a cross compiled build for the JavaCV project, initially I was focussing on Pi2/Pi3 and using the standard Ubuntu packaged arm-linux-gnueabihf gcc/g++ I produced a build that would run at around 6 frames per second (no computation/analysis, just grabbing a new webcam i...

Go to advanced search