Fish Feeding Themselves
Fish Feeding Themselves
Fish Feeding Themselves
workshop
living
food
play
outside
Table of Contents
Fish feeding themselves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Step 2: Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Step 3: Schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Step 4: Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Step 5: Contact . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
http://www.instructables.com/id/Fish-feeding-themselves/
Author:RoboPandaPDX RoboPandaPDX
I like to invent, create and problem solve. I joke alot and love sharing knowledge and good times with others. Connecting with people is really the best way to
live life.
http://www.instructables.com/id/Fish-feeding-themselves/
Step 2: Components
To interact with the fish and make the feed themselves I will
need:
1. Feeder bar (home made)
2. Microcontroller Arduino Uno
3. ws2812 RGB Led
4. Servo (strong enough to push the button on the feeder)
5. Container of food (wallmart)
6. Some random erector set pieces
7. Wall wort to power everything 9-12v with 1A or more capability
8. Data logger for easy data collection (SparkFun OpenLogger)
9. Fish (gold)
10. Micro SD card, i used a 4GB card just fine
11. Serial LCD Screen (from radioshack)
12. Time, lots of Time. LOL
13. Adafruit_NeoPixel you can download it here at Github ( https://github.com/adafruit/Adafruit_NeoPixel )
http://www.instructables.com/id/Fish-feeding-themselves/
Image Notes
1. The stand is just for the dry dok build. the device is taped to the fish tank and
the base is removed when fully installed.
http://www.instructables.com/id/Fish-feeding-themselves/
Image Notes
1. sorry for the wire nest
http://www.instructables.com/id/Fish-feeding-themselves/
http://www.instructables.com/id/Fish-feeding-themselves/
Image Notes
1. fully installed and running
http://www.instructables.com/id/Fish-feeding-themselves/
Image Notes
http://www.instructables.com/id/Fish-feeding-themselves/
Image Notes
1. I used 4 different types of goldfish. Surprisingly the normal regular old
goldfish. figured it out first.
Image Notes
1. i used a green color due to its supposed to be the least useful color spectrum
in growing plants. also green for go just felt right. :)
File Downloads
Adafruit_NeoPixel.h (2 KB)
[NOTE: When saving, if you see .tmp as the file ext, rename it to 'Adafruit_NeoPixel.h']
buttoncycler.ino (4 KB)
[NOTE: When saving, if you see .tmp as the file ext, rename it to 'buttoncycler.ino']
simple.ino (1 KB)
[NOTE: When saving, if you see .tmp as the file ext, rename it to 'simple.ino']
strandtest.ino (3 KB)
[NOTE: When saving, if you see .tmp as the file ext, rename it to 'strandtest.ino']
http://www.instructables.com/id/Fish-feeding-themselves/
Step 3: Schematic
I just did not have the time to draw this out on fritz, so i went old school. I also added the prices i paid for each item. just to give you an idea of the cost of the project.
Key/Legend
Signal Lines: The green lines are all signal wires that hook up to the digital pins. I did not use any analog pins in this build.
Positive Lines: The red lines are the 5v and 3.3v lines. The Openlog calls for 3.3v so i used the Arduino 3.3 pin to supply the power. The WS2812 calls for 5v, but can
run on 3.3v however by doing that I am pushing more ampage through the WS2812. Since I am only using one rgb light at half power, it is fine. If I were to use more than
1 light i would recommend using the 5v line. I will change this on the next Rev. you always want to stick to the power requirements of the hardware as suggested by the
manufacturer.
The Switch: okay so the switch that i used in the diagram, is all over the internet. It is the basic pricipal of an open and closed circuit. At the time of this writing, exactly 2
months after the build was completed. I cant for the life of figure out why i attached it to the reset pin. LOL. but it all works so that's good enough for prototyping right now.
I would encourage you to just look into this and make your own switch because i don't think i drew it clearly. I took lots of pics though. have fun! :)
Servo: the servo is working off the power from the Arduino. so it is not that powerful. I used some 3 in 1 oil to make the button slide easier. the next gen it will have its
own power supply of 6 volts and all the amps it can handle.
Arduino Uno: the Uno I am using has the MC chip that i can program, and then remove to install in a project permanently. When i finally get done with the science side
of this project. The feeder will be programmed to come on every few hours for 5 minutes to let the fish hit the feeder bar as many times as they can.
SparkFun Open Log: Is absolutely amazing. What a great logger! so easy to use. no fuss no muss. right out of the box it starts logging to a txt file that it creates on the
sd card. It is programmable in all sorts of ways to better help with data collection. As I become more familiar with the logger i am sure i will be able to streamline my code
to get the data i want in the format i need. without any intervention from me in the post processing stages.
Bell housing: the reason i used a fishing lure type of device was from a story I once heard. I had heard a story about fish hatchery fish. The small fish in the big open
pools have a little lure type of device that when they hit it in the water it drops down pellets. This teaches the fish to hit lures when they are released into lakes and
streams. LOL. kind of funny to hear that the fishing game is rigged, or maybe its just a story. Either way, i decided to take this approach. It was extremely successful!
Okay i think that covers all the issues and thoughts i had while going through the hardware portion of the build.
http://www.instructables.com/id/Fish-feeding-themselves/
Step 4: Code
File Downloads
fish_tank_feeder.ino (5 KB)
[NOTE: When saving, if you see .tmp as the file ext, rename it to 'fish_tank_feeder.ino']
http://www.instructables.com/id/Fish-feeding-themselves/
Step 5: Contact
Find me on:
Robopandapdx.com
facebook:Robopandapdx
twitter: @RoboPandaPDX
youtube: Robopandapdx
https://www.youtube.com/channel/UCkA0zZJAopUZBNX56...
email: [email protected]
Upgrades coming soon:
Error detection in case the food does not drop.
Real time clock
better data collection
seperate power source for servo
Related Instructables
Indoor
Thermometer
with both LCD
and "Analog"
Readout with
NeoPixels by
NextFab
CNC NeoPixel
Jewelry by
markk7
Carved pumpkin
Infinity Mirror
with NeoPixel
Table by Lou
eyes by
VTR
techiebot
http://www.instructables.com/id/Fish-feeding-themselves/
Smart
Thermometer by
Aidan25
Pokeball
Speakers by
mkarvonen
Advertisements
Comments
http://www.instructables.com/id/Fish-feeding-themselves/