Posts | Comments

Planet Arduino

Archive for the ‘reed switch’ Category

Riley, an 8 lb pug, has more beauty than brains, and a palate as unrefined as crude oil. While we hate criticizing others’ interests and tastes, his penchant for eating cat poop needed to stop. After a thorough exploration of a variety of options, including cat food additives that make its excrement taste worse (HOW? WHY? Clearly taste wasn’t the issue!), automatic litter boxes that stow the secretions, and pet doors that authenticate access to the room with the litter box, [Science Buddies] eventually settled on a solution that was amenable to all members of the family.

The trick was in creating a door mechanism with a blacklist of sorts rather than a whitelist. As the cat didn’t like to push the door open itself, the solution needed to have the pet door open by default. A magnet on Riley’s collar would trip a sensor attached to an Arduino that would control servos to swing the door shut immediately if he attempted to access the defecated delights. Of course safety was a consideration with the door swinging in Riley’s face.

We’ve covered a few pet screeners, including one for the same purpose that used IR sensors (but a much bigger dog also named Riley), and a flock of solutions for chickens. We’ve also seen [Science Buddies] in previous posts, so they’re not on the tips line blacklist.

Magnets (especially those ball magnets!) are endlessly fascinating, aren’t they? It’s almost dangerous to combine them with LEDs, because how are you supposed to get anything done with something like [andrei.erdei]’s Arduino Magnetic Board beckoning from beyond your keyboard?

This tons-of-fun board uses ball magnets to light up RGB LEDs as they roll around on the sexy Plexiglas field. Underneath the LED matrix is an orchestra of 36 reed switches — those little glass gas-filled grains of rice with axial leads that snap together or fly apart in the presence of magnetic fields. The LEDs are controlled with an Arduino Pro Mini, and so is the 8Ω speaker for sound effects.

[andrei.erdei] has already developed a few applications for this delightful desk toy, and they’re all on GitHub. There’s a chase game that involves tilting the board to catch the next red dot with the magnet, a light painting game, and a sequencer that mimics the ToneMatrix. Roll past the break to check out the series of short demo videos.

Want to play with reed switches but can’t source any at the moment? You could just make them yourself.

Some dogs have no sense of self-preservation. Given the opportunity, they will eat until they’re sick. It’s up to us humans to both feed them and remember doing it so they aren’t accidentally overfed. In a busy household with young children, the tricky part is the remembering.

[Bryan]’s family feeds their dog Chloe once a day, in the mornings. She was a rescue who spent a few years scrounging for meals on the street, so some part of her is always interested in finding food, even if she just ate. Each morning, the flurry of activity throughout the house is compounded by Chloe’s repeated requests for food, so [Bryan] got his kids involved and built a simple circuit that lets everyone know—at a glance—whether Chloe was fed.

Chloe’s kibble is kept in a touch-top wastebasket that flips open at the press of a button. [Bryan]’s dog-fed detector uses a reed switch and an Arduino clone to detect when the lid is opened. When the reed switch goes, low, the Arduino lights up an LED. The light stays on for two hours and then shuts off automatically to get ready for the next day. You don’t have to beg for a demo video, because it’s waiting for you after the break.

Since Chloe devours a bowl of food in about two minutes flat, maybe the next project for [Bryan]’s family could teach her to slow down a bit.



  • Newsletter

    Sign up for the PlanetArduino Newsletter, which delivers the most popular articles via e-mail to your inbox every week. Just fill in the information below and submit.

  • Like Us on Facebook