Simple pet feeder code?

Adafruit's tiny microcontroller platform. Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
hansdijkman
 
Posts: 1
Joined: Thu Aug 14, 2014 6:13 pm

Simple pet feeder code?

Post by hansdijkman »

I'd like to get some help with my first Trinket project. I'm new to this but do have experience in building electronics en computers.

I have the Trinket 5v and two 360 rotating servo's (on external power), wired it all with servo 1 to pin 0 and servo 2 to pin 1.
Managed to get them spinning so I know they work.

What I need your help with is that I am trying to build a simple interval pet feeder.
I want to set the interval in hours (milliseconds) and let the servo's simultaneously rotate for a couple of seconds or steps.

There are some people that already did something like this but I couldn't get it to work for me by modifying the code.

User avatar
adafruit_support_bill
 
Posts: 88087
Joined: Sat Feb 07, 2009 10:11 am

Re: Simple pet feeder code?

Post by adafruit_support_bill »

Post the code you have so far and describe which parts work and which parts don't work.

Locked
Please be positive and constructive with your questions and comments.

Return to “Trinket ATTiny, Trinket M0”