Pi or 'Duino?

From: Eric Wolf 
------------------------------------------------------
I'm wanting to build an automated dog treat dispenser but I want it to
trigger off various external events. I'm trying to decide whether to use a
Raspberry Pi or an Arduino for the controller. The advantage of the Pi is
easy of programming (Python FTW). The disadvantage is largely cost. The Pi
itself is a little more expensive, especially by the time you add in the
I/Os.

Any thoughts?

-=--=---=----=----=---=--=-=--=---=----=---=--=-=-
Eric B. Wolf                           720-334-7734

=============================================================== From: Phil Shapiro ------------------------------------------------------ A quick web search yielded these two blog posts Arduino http://www.instructables.com/id/Arduino-controled-dog-foodtreat-dispenser/ Raspberry Pi http://lifehacker.com/5993919/please-your-pets-with-a-raspberry-pi+powered-feeding-system Hope that helps, phil ----- Original Message ----- From: "Eric Wolf" To: "CHUGALUG" Sent: Monday, August 12, 2013 6:36:55 PM Subject: [Chugalug] Pi or 'Duino? I'm wanting to build an automated dog treat dispenser but I want it to trigger off various external events. I'm trying to decide whether to use a Raspberry Pi or an Arduino for the controller. The advantage of the Pi is easy of programming (Python FTW). The disadvantage is largely cost. The Pi itself is a little more expensive, especially by the time you add in the I/Os. Any thoughts? -=--=---=----=----=---=--=-=--=---=----=---=--=-=- Eric B. Wolf 720-334-7734

=============================================================== From: Stephen Kraus ------------------------------------------------------ Arduino is my personal favorite. Made a boost controller and an engine ecu out of one. Plus plugin daughter boards are available at the local Radioshack

=============================================================== From: Dan Lyke ------------------------------------------------------ Arduino C++ isn't that hard. And the ease of interfacing to the Arduino (milliamps vs microamps) makes the Arduino my first choice. I just got a Gertboard to make Pi interfacing easier, but basically everyone who's doing serious Pi stuff just hangs an AVR device, usually as an Arduino, off of it to get I/O into the range where you're not stepping on eggshells and hoping you don't overdrive the Pi's GPIO. Dan

=============================================================== From: Eric Wolf ------------------------------------------------------ I was wondering about the I/O ease with the Pi. It sounds like the Arduino is much easier. The big thing I need is to drive a stepper motor on the treat hopper. Secondarily, I'll want to trigger some kind of bell (ala Pavlov's Dog). I'd really like an HTTP interface I can initiate the treat sequence. I can do all the monitoring elsewhere (front door activity, neighbor dogs in their yards, etc). How hard is it to get a wifi interface on the Arduino? I think I just answered my question... right now a Wifi shield, alone, costs about the same as a Raspberry Pi. But there's a wifi Arduino project that costs $39 that's still in pre-order: https://www.sparkdevices.com/status# So where is the pain the greatest: connecting a servo to the Raspberry or connecting wifi to the Arduino? -Eric -=--=---=----=----=---=--=-=--=---=----=---=--=-=- Eric B. Wolf 720-334-7734

=============================================================== From: Jason Griffey ------------------------------------------------------ You're forgetting you'll have to buy a USB wifi adapter for the RPi as well. They aren't much but it doesn't have wifi built in. The arduino wifi shield is easy, and has a huge codebase to draw from for different uses. For driving a servo, I don't think the RPi is the right answer. The Arduino will do what you want very, very easily. Jason

=============================================================== From: Stephen Haywood ------------------------------------------------------ Any of you worked with one of these, = http://www.mouser.com/new/beagleboardorg/beagleboneblack/?gclid=3DCLCs4pCi= -bgCFY6k4AodgGUA1Q One of the guys on the DC423 list uses one to monitor his home-brew = system. http://www.10101brew.com/brewery.html -- Stephen Haywood Owner, ASG Consulting CISSP, GSEC, OSCP 423.305.3700 stephen@averagesecurityguy.info Arduino is much easier. The big thing I need is to drive a stepper motor = on the treat hopper. Secondarily, I'll want to trigger some kind of bell = (ala Pavlov's Dog). I'd really like an HTTP interface I can initiate the = treat sequence. I can do all the monitoring elsewhere (front door = activity, neighbor dogs in their yards, etc). costs about the same as a Raspberry Pi. But there's a wifi Arduino = project that costs $39 that's still in pre-order: or connecting wifi to the Arduino? -=3D- wrote: Pi is

=============================================================== From: Eric Wolf ------------------------------------------------------ I have a couple spare USB wifi adapters. So that's a non-issue. I wonder if Sparkfun has a retail shop? They are on my way to work. Unfortunately their next "Intro to Arduino" class coincides with a track day. Maybe I should just wait for this Wifi Arduino board. -Eric -=--=---=----=----=---=--=-=--=---=----=---=--=-=- Eric B. Wolf 720-334-7734

=============================================================== From: Ed King ------------------------------------------------------ Hardest part was remembering my wifi password :-) I don't know jack about Arduino so I'm biased. I ordered a 4 channel sainsmart relay board this morning, for my Pi-based disco-ceiling project, but first I will build it with leds.

=============================================================== From: David Welch ------------------------------------------------------ We've been using the first generation Beaglebone + audio cape for making a musical quilt . Good results so far. I have one of the new 'black' models but haven't played with it too much yet. Pros: half the price, on-board hard-drive, built in HDMI. Cons: can't log in over the USB, the audio cape seems to be incompatible with the new version. Overall, playing with these things is tremendous fun. Dave P.S. There is an irregularly scheduled CHUGALUG meeting tomorrow at 7 at Stonecup.

=============================================================== From: Ed King ------------------------------------------------------ woohoo!=A0 got my relay board, breadboard and led pack today...=A0=A0 one d= ay after ordering them from amazon (prime).=A0=A0 =0A=0Aits as if the polye= ster bellbottom dance suit gods are smiling down on me, egging me on=0A=0A= =0A=0A=0A

=============================================================== From: Ed King ------------------------------------------------------ can Arduino broadcast FM?=A0=A0 Pi FTW=0A=0Ahttp://www.icrobotics.co.uk/wik= i/index.php/Turning

=============================================================== From: Dan Lyke ------------------------------------------------------

=============================================================== From: Ed King ------------------------------------------------------ why is it that 90 percent of my personal projects seem to "stall" because s= omething more important comes up=0A=0AI was making "some" progress on my r-= pi disco ceiling project...=A0=A0 found a console-based mp3 player that had= ascii-character spectrum analyzer output, I thought, "because this is cons= ole mode app, it should run faster/smoother than an Xwinderz app"=A0=A0 Wro= ng!=A0=A0 It brings my not-overclocked pi to its knees.=A0 =0A=0Ahttp://van= heusden.com/consolecandy/=0A=0AI was in the process of studying the code to= see if I could take only what I needed (I don't need no stinkin spectrum d= isplay, but I do need to know when certain frequencies are "hit" so I can l= ight up the corresponding colored light), and then my mutha-in-law got me s= ucked into another project..=A0=A0 fix the gauges in her 2003 silverado...= =0A=0Ahttp://usedcarsit.com/content/chevrolet-speedometer-gauge-repair-inst= rument-cluster=0A=0Aso I guess I'll have to keep my polyester dance suit in= the closet a little while longer=0A=0A=0A=0A=0A

=============================================================== From: James Nylen ------------------------------------------------------ Ed, I am the same way about unfinished projects. I have a good bit of electronics equipment laying around the house that I haven't found the time to learn how to use - Arduinos, AVRs, an extra Raspberry Pi, and various components and old things waiting to be cannibalized for parts. I'm coming to tomorrow's Chatt*Lab meeting