Go to advanced search

by BigJinge
Sun Jul 28, 2019 12:40 pm
Forum: Automation, sensing and robotics
Topic: Cat flap hall sensor advice needed for in place magnet.
Replies: 2
Views: 212

Re: Cat flap hall sensor advice needed for in place magnet.

Visited reeds before. Can’t use them. The issue is the flap cannot have any wiring on it. The iron shaped slug and the magnet underneath are matched, so attaching a similar shaped magnet instead of the slug and identical slug instead of the magnet isn’t an option. Having magnets / reeds / halls atta...
by BigJinge
Sun Jul 28, 2019 12:25 am
Forum: Automation, sensing and robotics
Topic: Cat flap hall sensor advice needed for in place magnet.
Replies: 2
Views: 212

Cat flap hall sensor advice needed for in place magnet.

Calling Hall Effect sensor / switch experts... After looking at a number of friction-less options to detect a cat flap opening, I went with hall effect switches. The idea is to mount the hall effect switch with the cat flap's magnet behind it to replicate a back bias setup and when the iron weight o...
by BigJinge
Tue Jul 02, 2019 5:12 pm
Forum: Automation, sensing and robotics
Topic: The Integrated Cat Flap : Pi Zero
Replies: 25
Views: 7483

Re: The Integrated Cat Flap : Pi Zero

Coral USB Accelerator came today and have been running the exported cat flap Google AutoML Vision Edge TPU model on it. Coral.PNG Works fine. Mouse in cat's mouth detection peaks around 96% , Cat by itself around 95% MouseProb.PNG Will add the Edge TPU Python code / libraries into the existing locki...
by BigJinge
Mon Jul 01, 2019 5:38 pm
Forum: Automation, sensing and robotics
Topic: The Integrated Cat Flap : Pi Zero
Replies: 25
Views: 7483

Re: The Integrated Cat Flap : Pi Zero

One of the goals of the project is to make it easier so you don't have do deal with ML engines and models at a programming level. You'll find that each location where the cat flap is positioned and cat are different. A ML model someone creates that recognises their cat(s) for say cat A with a white ...
by BigJinge
Mon Jul 01, 2019 4:28 pm
Forum: Automation, sensing and robotics
Topic: The Integrated Cat Flap : Pi Zero
Replies: 25
Views: 7483

Re: The Integrated Cat Flap : Pi Zero

Yes, I've just seen the Amazon engineers story. I'm glad this has gotten publicity that you can use ML / AI to block out prey but his design is still with the lock on the outside of the cat flap where mine is designed from the get go to be an easy swap out with an existing cat flap as it has all the...
by BigJinge
Fri Jun 28, 2019 12:15 am
Forum: Automation, sensing and robotics
Topic: The Integrated Cat Flap : Pi Zero
Replies: 25
Views: 7483

Re: The Integrated Cat Flap : Pi Zero

Hi Nickcats, It might be that a cat magnetic collar attachment can trigger the dog magnetic flap. They aren't coded. It's just a magnet. However as you've got the cat flap, I'll go from there. Short answer The flap looks fine but the locking mechanism works in reverse. The reason it won't lock when ...
by BigJinge
Tue Jun 25, 2019 7:56 pm
Forum: Automation, sensing and robotics
Topic: The Integrated Cat Flap : Pi Zero
Replies: 25
Views: 7483

Re: The Integrated Cat Flap : Pi Zero

Well, the project has mostly been on hiatus due to other commitments. There has been some progress. I was looking how to create the AI model given that the OpenCV cascade idea wasn't that accurate and didn't work out. I could have worked through Machine Learning with different engines such as Keras ...
by BigJinge
Sat Mar 31, 2018 4:17 pm
Forum: Automation, sensing and robotics
Topic: The Integrated Cat Flap : Pi Zero
Replies: 25
Views: 7483

Re: The Integrated Cat Flap : Pi Zero

Hi, I didn’t think about the biting sensor as the camera choice was moving forward. As I want to keep everything integrated I wouldn’t want to have a bite sensor sticking out from the door, plus the cat is older and it would be hard to teach now. Saying that, there is nothing stopping a bite sensor ...
by BigJinge
Fri Mar 23, 2018 2:54 pm
Forum: Automation, sensing and robotics
Topic: The Integrated Cat Flap : Pi Zero
Replies: 25
Views: 7483

Re: The Integrated Cat Flap : Pi Zero

I've never see her back in from the outside so this is a use case I didn't need to bake in...
by BigJinge
Thu Mar 22, 2018 4:07 am
Forum: Automation, sensing and robotics
Topic: The Integrated Cat Flap : Pi Zero
Replies: 25
Views: 7483

Re: The Integrated Cat Flap : Pi Zero

Hi, I've had to put the cat flap project on hold for the time being due to life commitments. I have been collecting more mouse image grabs to increase the quality of the Open CV cascade. Hopefully the cascade trainer file will be useful for all people as an infrared mouse looks the same regardless o...
by BigJinge
Mon Feb 06, 2017 1:15 am
Forum: Python
Topic: Python programme crashes when run in background
Replies: 4
Views: 957

Re: Python programme crashes when run in background

Screen sounds promising. The Python code runs inside a virtual environment so that and OpenCV, I can see it may not like being backgrounded.

Is this the Screen you mean?

http://raspi.tv/2012/using-screen-with- ... sions-open
by BigJinge
Sun Feb 05, 2017 11:53 pm
Forum: Python
Topic: Python programme crashes when run in background
Replies: 4
Views: 957

Python programme crashes when run in background

Hi, I've got a Python programme that runs fine when run in interactive mode. Programme shows output from print statements on screen then servos initialise. All good. However, when I run it in a background script, it starts, I hear the servos init and then crashes. The problem is I can't tell how it ...
by BigJinge
Fri Jan 20, 2017 2:22 pm
Forum: Automation, sensing and robotics
Topic: The Integrated Cat Flap : Pi Zero
Replies: 25
Views: 7483

Re: The Integrated Cat Flap : Pi Zero

What A CAT--RASTOPHEY. Would you like a door sensor, stopping you bringing in a Mc Donalds Diet Coke & a Double Cheese Burger To be fair though, I'm not bringing in half eaten Burger King, dropping it in front of her and staring at her until she has to deal with it...
by BigJinge
Fri Jan 20, 2017 2:19 pm
Forum: Automation, sensing and robotics
Topic: The Integrated Cat Flap : Pi Zero
Replies: 25
Views: 7483

Re: The Integrated Cat Flap : Pi Zero

Have you breached article 8 of the European Convention on Feline Rights? Kitteh is allowed to bring presents home for the boss cat, that's what kittehs do. Can we have a daylight picture of the poor victim of your horrid torture? Fluffy has a LOT of instinct to bring back presents for us bosses. We...
by BigJinge
Fri Jan 20, 2017 2:13 pm
Forum: Automation, sensing and robotics
Topic: The Integrated Cat Flap : Pi Zero
Replies: 25
Views: 7483

Re: The Integrated Cat Flap : Pi Zero

Great idea but are all those pictures of cat with or without prey as they all look like no prey to me Those are pictures without prey just to show what the camera sees. I haven't posted any prey pictures because nature is rough and given this is an all age forum, don't want to disturb people with b...
by BigJinge
Fri Jan 20, 2017 2:07 pm
Forum: Automation, sensing and robotics
Topic: The Integrated Cat Flap : Pi Zero
Replies: 25
Views: 7483

Re: The Integrated Cat Flap : Pi Zero

That is impressive - both your solution and the cat. Presumably many of the 500 photos are of the cat with the same animal in its mouth as it makes repeated attempts to come in. How long has it taken for the cat to realise what is going on and trying less frequently with same prey? Thanks Paul. We'...
by BigJinge
Fri Jan 20, 2017 1:33 am
Forum: Automation, sensing and robotics
Topic: The Integrated Cat Flap : Pi Zero
Replies: 25
Views: 7483

The Integrated Cat Flap : Pi Zero

Hello, I've been working on a project over the last year (time permitting) and would love some feedback. We have a cat who is a very avid hunter and wanted to stop her from bringing her "wares" into the kitchen and beyond. I've seen other cat flap projects but they all seem to rely on sending data o...
by BigJinge
Tue Oct 11, 2016 11:18 pm
Forum: Python
Topic: Counter : Persistent after reboot
Replies: 1
Views: 573

Counter : Persistent after reboot

Hi, I'm using the following in a timelapse camera which will take the camera feed and save it with a three decimal width incremental counter. for filename in camera.capture_continuous('tlpics/img{counter:03d}.jpg'): All is working fine until a reboot of the Pi when the count returns back to 001. Is ...
by BigJinge
Sat Oct 01, 2016 1:38 pm
Forum: Camera board
Topic: Pi Zero long camera cable bond?
Replies: 8
Views: 3342

Re: Pi Zero long camera cable bond?

You can buy the connector to link two cables together from Pimoroni now for the same price. https://shop.pimoroni.com/products/camera-cable-joiner-extender-for-raspberry-pi Hi, yes I saw they had these yesterday. I'd been in contact with a number of Pi suppliers about longer Zero cables and they sa...
by BigJinge
Mon Sep 26, 2016 2:23 pm
Forum: Troubleshooting
Topic: microSDHC card : Removing embedded card write protection
Replies: 8
Views: 4359

Re: microSDHC card : Removing embedded card write protection

Follow up. I checked my other card, and that is fine. The status for that one reads [+] Write protection state: Off. Both cards are Lexar 633x microSDHCs On the card with the issue I created a folder and a txt file, then rebooted the Pi. The folder and txt file had disappeared pointing to the change...
by BigJinge
Mon Sep 26, 2016 2:04 am
Forum: Troubleshooting
Topic: microSDHC card : Removing embedded card write protection
Replies: 8
Views: 4359

Re: microSDHC card : Removing embedded card write protection

I'll check the other card (exact same type) and see if the Permanent flag is on. Regarding Win32DiskImager, if it was locking the cards after the img file was pushed then you wouldn't be able to configure the card with raspi-config, which you can. I've installed OpenCV and others. Only now I want to...
by BigJinge
Mon Sep 26, 2016 12:55 am
Forum: Troubleshooting
Topic: microSDHC card : Removing embedded card write protection
Replies: 8
Views: 4359

Re: microSDHC card : Removing embedded card write protection

Doing some more digging it appears that if the firmware of an SD card thinks that the data on the card will get corrupted it turns on the permanent write protect flag basically turning the card into a ROM card. You're not supposed to remove the permanent write flag but that doesn't stop people from ...
by BigJinge
Mon Sep 26, 2016 12:25 am
Forum: Troubleshooting
Topic: microSDHC card : Removing embedded card write protection
Replies: 8
Views: 4359

Re: microSDHC card : Removing embedded card write protection

He's someone else with the permanent write protected lock bit enabled on the card.

viewtopic.php?p=422350#p422350
by BigJinge
Mon Sep 26, 2016 12:14 am
Forum: Troubleshooting
Topic: microSDHC card : Removing embedded card write protection
Replies: 8
Views: 4359

Re: microSDHC card : Removing embedded card write protection

So I tried your updated sudo status version and my card came back with this... [+] Write protection state : Permanent I tried with unlock at the end and it said this... [?] Card is permanently locked. I will try to clear the flag, but it will likely fail [+] Writing CSD. [+] Write protection state :...
by BigJinge
Sun Sep 25, 2016 10:28 pm
Forum: Troubleshooting
Topic: microSDHC card : Removing embedded card write protection
Replies: 8
Views: 4359

microSDHC card : Removing embedded card write protection

Hi, I bought a 16GB microSDHC card a month or so ago and have been using it fine in my Rasp Pi 3. I've now bought a Rasp Pi Zero 1.3 and went to reuse the memory card. I used Win32DiskImager again to write the Jessie Lite img and it said that the card is write protected. I've gone though all the ste...

Go to advanced search