So, how hard is to attach simple temp sensor to typhoon to monitor temperature on one heat sink ? I need a wat to see how hot it gets inside enclosed hood with stock fans running. I'd appreciate any help
Here's what I found for a single sensor.
And this is how I did 3 sensors. But note..
That red jumper should be connected to ground, not vcc.. buddy pointed that out to me just from the picture.
This post had the schematic for multiple sensors
http://www.reefcentral.com/forums/showpost.php?p=19749657&postcount=897
It was pretty easy actually. Just look at my script, and see where the temp stuff was added, and you can see what needs changing. I just did a simple c/p from another script out there
Jarek,
"pin 3" is the analog input pin that was liberated in version 1.0 of the hardware. If you do not have 1.0, you can set up your one wire network on one of the serial port pins, you'll just have to update the sketch to use that pin instead.
The DS1820 reports it's own temperature, so if you want it to report the temperature of a specific thing or a specific environment, just put it there! If you want it to report a heatsink temperature, glue it to the heatsink with a dab of thermal epoxy. Just make sure the pins and wires don't contact the heatsink or it'll short out.
Anyone who is new to this sort of thing and thinking about these sorts of expansions should probably get a "normal" arduino (or an RBBB if you're on a budget) and play with whatever the new component is on it's own, before trying to integrate into the Typhon. This will give you a solid foundation and help you understand how things function, which can be invaluable when integrating components.
// create the buttons
Button btnMenu = Button(12,BUTTON_PULLDOWN);
Button btnSelect = Button(13,BUTTON_PULLDOWN);
Button btnPlus = Button(14,BUTTON_PULLDOWN);
Button btnMinus = Button(15,BUTTON_PULLDOWN);
// create the buttons
Button btnMenu = Button(12,PULLDOWN);
Button btnSelect = Button(13,PULLDOWN);
Button btnPlus = Button(14,PULLDOWN);
Button btnMinus = Button(15,PULLDOWN);
shark boy brought something to my attention... I needed to modify the script for "my" linux box, so if you're trying to compile "my" version of Typhon, then you'll need to edit a few lines back to what they originally were...
Spuzzum - if you have to modify the code like this, you are just running and older version of the Button library. If you update to the latest version, it will work.
/*
|| @description
|| | Set pin LOW as default
|| #
*/
void Button::pulldown(void)
{
mode = BUTTON_PULLDOWN;
}
Question for the smart folks here. Would this relay work with typhoon to turn on fans?
http://shop.moderndevice.com/products/relay-plug
And than another question that just popped into my head. I'm using two (pin 1 and 2) 10v pins for dimming, i'm not really sure if this is possible, but is there a simple relay that would sense that there is voltage on the same pins 1 and 2 on the 5 volt side and close to turn on fan? That way there is no programing needed or anything. That way if the lights on pin 1 are on than the fan is on (pin 1 is turned on 30 min earlier than pin 2)
Thanks for any insigts
Jarek
I'm not sure about that relay board. It looks like it's designed to work with the jee plugs, which are more or less compatible with Arduino hardware but only if you have the required pins available. It looks like it works on the single digital and analog pins on the jee plug, which you could hack to two free PWM pins if you're only using two.
On your second question - that won't work. The 5v pins will have a PWM signal on them, so at partial dimming settings (anything less than 100%) you'll fry the relays by slamming them on and off at 400hz.