This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
wiki:make_treat_dispenser [2020/09/28 16:20] vizycam |
wiki:make_treat_dispenser [2020/09/28 16:47] vizycam |
||
---|---|---|---|
Line 2: | Line 2: | ||
- | {{wiki:treat.mp4|800x10|loop,autoplay}} | + | {{wiki:treat.mp4|680x10|loop,autoplay}} |
+ | |||
+ | |||
+ | You can make a treat dispenser for your pet out of some fairly basic ingredients, the main ingredients being cardboard and a solenoid. It's pretty fun, and after you're done you can say "I made a robot to feed my precious <insert pet's name>, what did you do today?" | ||
- | You can make a treat dispenser for your pet out of some fairly basic ingredients, the main ingredients being cardboard and a solenoid. Here's what you will need: | + | Here's what you will need: |
* Some corrugated cardboard -- it can be used/recycled | * Some corrugated cardboard -- it can be used/recycled | ||
Line 19: | Line 22: | ||
- | We'll start by making a box. We're making a gravity-fed treat dispenser, so we need a fair amount of height to keep things moving along and not getting clogged. Our box is 7"x7" on the base and 8" high. | + | We'll start by making a box. We're making a gravity-fed treat dispenser, so we need a fair amount of height to keep things moving along and not get clogged. Our box is 7"x7" on the base and 8" high. |
- | Cut out five 8"x7" rectangles. We'll use four of the rectangles for the sides of the box and save one for later. | + | Cut out five 8"x7" rectangles. We'll use four of the rectangles for the sides of the box. Save the extra for later. |
Line 85: | Line 88: | ||
- | [{{wiki:p1000629_result.jpg}}] | + | [{{wiki:p1000628_result.jpg}}] |
- | [{{wiki:p1000630_result.jpg}}] | + | [{{wiki:p1000629_result.jpg}}] |
Line 109: | Line 112: | ||
- | [{{wiki:p1000638_result.jpg}}] | + | [{{wiki:p1000637_result.jpg}}] |
- | [{{wiki:p1000639_result.jpg}}] | + | [{{wiki:p1000638_result.jpg}}] |
Line 173: | Line 176: | ||
[{{wiki:p1000667_result.jpg}}] | [{{wiki:p1000667_result.jpg}}] | ||
+ | |||
+ | |||
+ | And don't forget to plug the terminal block into Vizy. | ||
===== Testing ===== | ===== Testing ===== | ||
- | Test the treat dispenser with the [[wiki:pet_companion|Pet Companion application]], or with some simple Python. Just type into a Python instance (you can bring up a Python instance by pointing your browser to ''http://vizy.local/python'' | + | Test the treat dispenser with the [[wiki:pet_companion|Pet Companion application]] by clicking on ''Dispense treat''. |
+ | |||
+ | |||
+ | Or you can punch in some simple lines of Python. Just type into a Python instance (you can bring up a Python instance by pointing your browser to ''http://vizy.local/python''.) | ||
<Code:python> | <Code:python> | ||
Line 203: | Line 212: | ||
+ | {{wiki:treat.mp4|800x10|loop,autoplay}} | ||