<div dir="ltr">FWIW I'm working on a cheap wireless arduino module that I should have done by the end of a hackathon next weekend. It would be a complete arduino and wireless solution integrated into one compact board. My main goal is wireless lighting control, but it will be general purpose enough to control other things (and open source so you can always modify it). It uses the CC2500 2.4GHz wireless chip, which is under $3 in qty 100 and $4 qty1. So it should hopefully be great for making many wireless nodes for cheap. I just got basic communications working, so the concept works. I'll do the rest of the work at the Hackathon.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Feb 17, 2013 at 3:28 PM, Jake <span dir="ltr"><<a href="mailto:jake@spaz.org" target="_blank">jake@spaz.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Carlo,<br>
<br>
I recommend the arduino platform.  It is pretty easy to code in arduino's flavor of C (basically just like regular C except less pedantic) and the hardware has all the things you need.  Six analog inputs and 13 GPIO General Purpose Input/Output pins.<br>

<br>
If you're going to be controlling things running off of DC power, you can simply use an N-channel FET connected between the output pin of the arduino, Ground, and the minus terminal of your pump or motor or whatever.<br>

<br>
If you're going to control things powered by 120V (or 240V) AC power, you need an opto-isolated SCR relay, or if you prefer you could use a regular coil-style relay.  If you use the former, you just connect it to the arduino output in and arduino ground, and the other side of it has two screw terminals that go in series with the AC load.  Very simple and you could control a 5KW water heater if you wanted to.<br>

<br>
As for sensors, to use a thermistor temperature-sensor you just wire it to one of the six analog inputs with a pull-up resistor, and read the value in software.  There are also digital and analog temperature sensors you can get from mouser or digikey which require no calibration and send temperatures in numbers of degrees either through digital protocols or by sending a DC voltage to your ADC.<br>

<br>
I can't see why you would need a raspberry pi for this unless you needed a web interface.  If you did, I would recommend considering the WR-703N which is smaller than a raspberry pi, half the price, and has a 500mW wifi radio built in.  And it has GPIO pins you can use to control stuff, although it would be easier to just plug an arduino into its USB port.<span class="HOEnZb"><font color="#888888"><br>

<br>
-jake</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
Carlo wrote:<br>
I bet something similar has already been discussed :) but...<br>
<br>
I want to control a few water pumps (low power, aquarium kind of<br>
pumps) via software, and read inputs from a sensor or two (humidity,<br>
temperature).<br>
<br>
I'd like a solution that is cheap, I can bring up as quickly as<br>
possible with as little work as possible, ideally no to little<br>
soldering, I can easily program with good libraries (python / C /<br>
whatever is fine). Eg, I'd like this to be a one afternoon project, I<br>
plan to get most of my hacking fun by playing with the result, rather<br>
than with building the system :)<br>
<br>
I was looking into:<br>
1) raspberry PI + relay board + sensors.<br>
2) Arduino + relay board + sensors - seems like a bit more work than<br>
the above? even if more flexible?<br>
3) Something like:<br>
<a href="http://www.controlanything.com/Relay/Relay/WIFI_PROXR&CpField=relays&CpValue=4" target="_blank">http://www.controlanything.<u></u>com/Relay/Relay/WIFI_PROXR&<u></u>CpField=relays&CpValue=4</a><br>

they seem to have tons of pre-made relatively low effort solutions.<br>
<br>
I've had some embedded experience in the past, but have not used any<br>
of the above. Suggestions? hints? experiences?<br>
<br>
Thanks!<br>
Carlo<br>
______________________________<u></u>_________________<br>
Noisebridge-discuss mailing list<br>
<a href="mailto:Noisebridge-discuss@lists.noisebridge.net" target="_blank">Noisebridge-discuss@lists.<u></u>noisebridge.net</a><br>
<a href="https://www.noisebridge.net/mailman/listinfo/noisebridge-discuss" target="_blank">https://www.noisebridge.net/<u></u>mailman/listinfo/noisebridge-<u></u>discuss</a><br>
</div></div></blockquote></div><br></div>