Advice on What to Learn for this Project

Hello,

I am new to Arduino so bear with me.

I am working through the Arduino tutorials on this page:

but there are so many and I don't feel that I need to learn them all at this point. I was wondering if someone can advice me on which tutorials and functions to learn and master for my project. Here is my project: I am building a simple pet feeder, which will consist of an motor driving a shaft connected to a snack dispenser that will dispense food twice a day at preset times or at 12 hour intervals.

What aspect of Arduino programming would be most helpful?

Thanks,

What aspect of Arduino programming would be most helpful?

The ones you don't already know.

Your project breaks down into several parts. You need to be able to set a pin high to start the motor. You need to be able to set it low to stop the motor. There may need to be limit switches involved, so you may need to be able to read switch states. You'll need some kind of motor controller. The Arduino can't power a motor directly.

You need to be able to tell what time it is. The Arduino doesn't come with a watch. It has a millis() function that can be used for relative times (relative to when the Arduino started), but is useless for absolute times. And cats, in particular, are pretty finicky about absolute times.

You might want to show, on a LCD, what time it is and when the next feeding is.

You might want to sound an alarm before feeding, or call the critters after feeding. Or not. It's your project.

Thanks! I obviously know the basic functions and have done a few of the sketches...I am just going to work my way through as many of the tutorials as I can, but sometimes, doing the tutorials is less "exciting" than working on a real project with an end result in mind. I could also start with a simpler project too. Thanks for the suggestions!

I was new to Arduino programming a few months ago also. Now my project is running (in experimental setup).

My method to get it up and running was to divide the project in a lot of different small projects:

  • print 'hello world' on the lcd
  • get data from the pc and print it on the lcd
  • debounce a button
  • switch a relay
  • have a buzzer make a sound
  • ...

After testing them all separately I put them all as functions in one sketch and this is the result: band decoder

For those not into amateur radio: this system automatically switches my antennas and band pass filters when I change the frequency of my transceivers.

When will it be ready? NEVER (I'm sure that over time I'll find some things missing that need to be added)

When will it be in use? As soon as I find a good enclosure for the complete setup