Category Archives: Tech Stuff

PI Time

DIY Auto Cat Feeder

When the Raspberry Pi came out a few years ago I picked one up in the hopes to create some home automation projects. As with many of my projects it never really eventuated as life and work took over as they tend to do. Well this year I attended the Adelaide show with my wife and made a visit to the science and tech centre pavilion. Looking over some of the cool projects the high school and primary school kids had put together rekindled my interest in electronics and specially the Pi.
I spent the next few weeks looking through Raspberry Pi projects but couldn’t really find a particular project that involved the pi and something I do every day that could be automated. That was until I came across this project. http://drstrangelove.net/2013/12/raspberry-pi-power-cat-feeder-updates/
We have had two cats for some years now and have tried various manual auto type feeders but found one of our cats in particular would eat its weight in food. Not naming anyone Charlie!!!
Looking over this project, It seemed to solve two of my problems that we sometimes face if we go away over night for an example.
1) Feeding that Cats
2) Ensuring they don’t eat too much.
Enter the DIY Cat Feeder Project.
I first began by thinking of what i would like my feeder to do. I wanted some sort of indicator to let me know it was about to dispense food and also some sort of alert tune. I started by creating a basic prototype on a bread board with two LED’s and a piezo buzzer and wired them up to my GPIO ports on the PI
breadboard

Cisco adjust ADSL noise margin

Go into global configuration mode and type the following:
service internal
int atm 0
dsl noise-margin (a value between -3 and 3)

The service internal command exposes the dsl noise-margin command (and other hidden/non standard commands). The dsl noise-margin forces the router to training at a higher noise margin (sacrificing speed for stability). Setting this to 3 for example should see you get a higher noise margin, slower speed (and depending on firmware) a higher attenuation.
Start at 3 and work your way down to 0 in 0.5 steps until you get a stable connection. A value of 0 is the same as not having this command at all (eg: normal settings).
If you add a dsl noise-margin command, after a reload you’ll see “WARNING: Unsupported Command. May cause violation to ADSL standards.” on bootup, ignore it, it’s just the addition of the noise-margin command.
Use the dsl noise-margin command to fine tune your connection to get that extra stability if required.

Set 877 to Bridge mode only

no ip routing
no ip cef
ip subnet-zero
!
interface vlan 1
no ip address
no ip route-cache
bridge-group 1
!
interface atm0
no shut
no ip address
no route-cache
no atm ilmi-keepalive
pvc 8/35
encapsulation aal5snap
!
dsl operating-mode auto
bridge-group 1
!
bridge 1 protocol ieee