Showcasing amazing maker projects of 2022 Gift the gift of Make: Magazine this holiday season! Subscribe to the premier DIY magazine todayĬommunity access, print, and digital Magazine, and more Share a cool tool or product with the community.įind a special something for the makers in your life. Skill builder, project tutorials, and more Get hands-on with kits, books, and more from the Maker Shed A project collaboration and documentation platform.Initiatives for the next generation of makers. Membership connects and supports the people and projects that shape our future and supports the learning.A free program that lights children’s creative fires and allows them to explore projects in areas such as arts &Ĭrafts, science & engineering, design, and technology.Microcontrollers including Arduino and Raspberry Pi, Drones and 3D Printing, and more. Maker-written books designed to inform and delight! Topics such as.A smart collection of books, magazines, electronics kits, robots, microcontrollers, tools, supplies, and moreĬurated by us, the people behind Make: and the Maker Faire.Together tech enthusiasts, crafters, educators across the globe. A celebration of the Maker Movement, a family-friendly showcase of invention and creativity that gathers.The premier publication of maker projects, skill-building tutorials, in-depth reviews, and inspirational stories,. ![]() Hopefully this helped you, as it helped me and my folks’ not dead fish. Really, it was a simple 3-liner, running the same code as the feed.php. That thing probably took me the longest to write….jk. This is my code for feed.php:įont-family: Segoe, “Segoe UI”, “DejaVu Sans”, “Trebuchet MS”, Verdana, sans-serif Īlso nothing too bad, just runs a system command to feed the fish using the motorAutoFeed.py (same thing as motor.py, just a bit OCD about naming :D), and just has a link back to the index.html Nothing to get worked over, just a basic JavaScript timer counting down to the nearest 6:00, and a manual feed the fish button. It works…but how do we make it automatic?įirst follow gigafide’s tutorial on how to make your RPi into a webserver then we will start making things work.įont-family: “Comic Sans MS”, cursive, sans-serif įont-family:Segoe, “Segoe UI”, “DejaVu Sans”, “Trebuchet MS”, Verdana, sans-serif NOTE: If you don’t shut a motor off, it will keep on running even when you quit it. Then I use the GPIO.cleanup() function to reset the GPIO pins. I turn on the current for the 11 pin for 0.05 seconds (the time in the time.sleep() is actually seconds), then shut it off for 0.5 seconds. I put in a little print(“Fish Fed”) just so I can tell if it is working or not. I then setup the 11 GPIO pin to GPIO.OUT, because it is an output pin, and I don’t want get input, just want to run the motor. I set the tmode to GPIO.BOARD because I like the way that the setup of the pins are, as well as the fact that it remains constant between both models of the RPi. I then set the twarnings to False, because it just got plain annoying. In the first part, I just import some modules to help us out. NOTE: You don’t need the buttons, I just used them to test, they are not in my final codeįirst thing that we want to make is motor spin.Īlright, lots of things going on. I tried to make it as obvious as I could (red is positive, black is negative) NOTE: The motor I had was EXTREMELY low-torque, so I couldn’t actually use shaft collars to fasten the shafts, because it was “too much strain for the motor”, so I had to improvise and use other gears instead. I have a small wheel there as well, so that it “spits” out the food. But, as you can see, I just have a simple small gear to 2 big gears that move in opposite directions and a piece of wood hot glued to a paper towel tube which puts the food on the main wheel. Sorry for the bad quality on the last ones. So we actually need to build device, or the thing that our motor runs. If you do not, a post will be up soon about it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |