[MostElectronics], like many of us, loves cats, and so wanted to make an internet connected treat dispenser for their most beloved. The result is an ingenious 3D printed mechanism connected to a Raspberry Pi that’s able to serve treats through a locally run web application.
From the software side, the Raspberry Pi uses a RESTful API that one can connect to through a static IP. The API is implemented as a Python Flask application running under a stand alone web server Python script. The web application itself keeps track of the number of treats left and provides a simple interface to dispense treats at the operators leisure. The RpiMotorLib Python library is used to control a 28BYJ-48 stepper motor through its ULN2003 controller module, which is used to rotate the inside shaft of the treat dispenser.
The mechanism to dispense treats is a stacked, compartmentalized drum, with two drum layers for food compartments that turn to drop treats. The bottom drum dispenses treats through a chute connected to the tray for the cat, leaving an empty compartment that the top drum can replenish by dropping its treats into through a staggered opening. Each compartmentalized treat drum layer provides 11 treats, allowing for a total of 22 treats with two layers stacked on top of each other. One could imagine extending the treat dispenser to include more drum layers by adding even more layers.
Source code is available on GitHub and the STL files for the dispenser are available on Thingiverse. We’ve seen cat electronic feeders before, sometimes with escalating consequences that shake us to our core and leave us questioning our superiority.
Video after the break!
Continue reading “Local IOT Cat Treat Dispenser”
It seems that the more hectic life gets, the harder it is to consciously slow down and enjoy the experience. There’s always another bill to worry about, and a new deadline around the corner. The last thing we need are ultra-precise digital clocks everywhere we look. When it’s time to relax, there’s more than enough room for a passive type of clock that gives the time on time’s terms.
[Scoops]’ beautiful chime-only clock seems perfect for its location — an intimate event space inside an old house in Taiwan. Having only a vague sense of passing time helps us relax responsibly at social events. There’s no need to pull out your phone or glance at your watch when notifications about the passage of time softly permeate the air.
Here’s how it works: a NodeMCU controls four hard drive actuators through a ULN2003. The actuators each have a small extension and a clapper fitted on the end, which strikes the aluminium tubes that make up the chimes. There’s a web interface where [Scoops] can set the chimes to sound as frequently or infrequently as desired, or schedule a quiet period during the overnight hours. In emergencies, the clock can also be muted directly with the push of a button.
Take a little time to check out the short videos after the break, because this thing does a mean Westminster Chimes. But don’t stay too long, because time is running out! You have until Friday, January 24th to enter our Tell Time Contest over on IO.
Time can be relaxing or suffocating, depending on the way you look at it. If it’s visual relaxation you need, watch this bubble clock and float away from reality for a while.
Continue reading “HDD-Driven Chime Clock Is Quite Striking”
For anyone who’s ever had to make their own tea, steeping it for the right amount of time can be a pain. That’s precisely the problem that the automatic tea brewing robot solves with its painless approach to brewing tea, built by Slovenian electrical engineering student [Kristjan Berce].
You can use the robot by setting a timer on the knob, at which point the robot raises it arm for the tea bag then dips in the water every 30 seconds until the time has passed. At the end of the timer, the bag is raised clear of the cup to end the brewing. It’s a remarkably simple design that almost evokes chindogu (the Japanese art of useless inventions) if not for the fact that the robot actually serves a useful purpose.
The components for 3D printing the robot are available online, consisting of a case, a container for the Arduino-powered electronics, the lever for holding the tea, and the gear that raises the lever up and down. The device also uses an integrated Li-Ion battery with an accessible charging port and integrated BMS. A 35BYJ46 stepper motor and ULN2003 driver are used to move the 3D printed mechanism. The device uses a potentiometer for setting the steeping time between 1 and 9 minutes, and there’s even a buzzer for indicating once the tea is done brewing.
The Gerber and Arduino code files are open-source for any hackers looking to make their own tea brewers; just take care they operate with “deadly punctuality”.
Continue reading “No Need To Watch Your Tea, This Robot Does It For You”
Proving that astrophotography doesn’t have to break the bank, [Gerald Gattringer] has recently documented his DIY “barn door” style star tracker which is built almost entirely from scratch. Short of the Arduino and stepper motor, all the components were either made by hand or are standard hardware store finds.
The build starts with three aluminum plates which [Gerald] cut by hand with an angle grinder. He then drilled all the necessary screw holes and a rectangular opening for the threaded rod to pass through. He even used epoxy to mount a nut to the bottom plate which would eventually attach it to the tripod.
The plates were then roughed up and spray painted black so they wouldn’t reflect light. The addition of a couple of screws, nuts, and a standard hinge.
Motion is provided by a 28BYJ-48 stepper which is connected to the drive nut by way of a belt. The spinning nut is used to raise and lower the threaded rod which opens and closes the “door”. To control the motor, [Gerald] is using an Arduino Nano coupled with a ULN2003 Darlington array which live on a routed PCB he made with his school’s Qbot MINImill. While some might say the Arduino is unnecessary for this project, it does make the final calibration of the device much easier.
We’ve covered a number of similar star trackers here on Hackaday, including one that you crank by hand. But the professional looking final result really makes this build stand out.
After nearly 60 years and a lot of stairs and squares, there is finally an easier way to draw on an Etch A Sketch®. For their final project in embedded microcontroller class, [Serena, Francis, and Alejandro] implemented a motor-driven solution that takes input from a touch screen.
Curves are a breeze to draw with a stylus instead of joysticks, but it’s still a 2-D plotter and must be treated as such. The Touch-A-Sketch system relies on the toy’s stylus starting in the lower left hand corner, so all masterpieces must begin at (0,0) on the knobs and the touch screen.
The BOM for this project is minimal. A PIC32 collects the input coordinates from the touch screen and sends them to a pair of stepper motors attached to the toy’s knobs. Each motor is driven by a Darlington array that quickly required a homemade heat sink, so there’s even a hack within the hack. The team was unable to source couplers that could deal with the discrepancy between the motor and knob shaft sizes, so they ended up mounting the motors in a small plywood table and attaching them to the stock knobs with Velcro. This worked out for the better, since the Etch A Sketch® screen still has to be reset the old-fashioned way.
They also considered using belts to drive the knobs like this clock we saw a few years ago, but they wanted to circumvent slippage. Pour another glass of your aunt’s high-octane eggnog and watch Touch-A-Sketch draw something festive after the break.
Continue reading “Touch-A-Sketch Gives An Old Toy A New Twist”
Most 3D printers use stepper motors to control the movement of the extruder head. If you could actually print those motors it would be one more big step toward self-replicating hardware. Now obviously [Chris Hawkins’] working 3d printed stepper motor wasn’t built 100% through 3D printing, but the majority of the parts were. All that he had to add was the electronic driver pieces, magnets, wire, and a few nails.
The coils are made up of nails wrapped in magnet wire. The rotor is a 3D printed framework which accepts neodymium rare earth magnets. The axle is pointed which reduces the friction where it meets the cone-shaped support on either side of the frame. The IC on the upper right is a transistor array that facilitates switching the 20V driving the coils. The board on the lower right is a Digispark, which is an ATtiny85 breakout board that includes a USB edge connector for programming and a linear regulator which is how he gets away with feeding 20V as the source.
Don’t miss the demo video after the break where you can see the motor stepping 7.5 degrees at a time.
Continue reading “Working 3D Printed Stepper Motor”