I finally got around to working on a few RA related projects and I thought I would share them here if anyone is interested in building something similar or has suggestions.
The first is this slick little LED warning light system. I made this and connect it to a IO module. I was going to install it directly in the stand, but I thought this was easier and I can move it to another tank later. It was really easy to build, just a red, yellow and green LED with some resistors to keep the brightness down. It's handy that I can see it across the room and I get a little extra warning with the 'caution' yellow option. I have it signal temp pH, water level warnings. It is on yellow in these pics as it was topping off the water. .
The second is the voice recognition module I started awhile ago. http://forum.reefangel.com/viewtopic.php?f=3&t=2521I squeezed it all into a project box and use a PIR to detect when someone is nearby and the module should be listening. The blue LED indicates it is listening. Here is what it looks like now. It can control the lights, powerheads, feeder, water change, as well as set back to auto. It's fun, but it is really sensitive to cadence when you speak and it struggles when the house is noisy. I suppose I could probably make the code better, but I'm still trying to learn what it can do. Here is a video: https://www.youtube.com/watch?v=nV0dgtgD1Vo
Comments and suggestions alwyas welcome.
Jon
DIY add on modules
- jsclownfish
- Posts: 378
- Joined: Mon Oct 24, 2011 7:52 pm
- Location: Saint Louis
Re: DIY add on modules
Those are both awesome!
Re: DIY add on modules
I've been following the "Listening Reef" thread for a while. Great job on it.
I was thinking about something similar to the LED's but never got around to it.
I'd like some more info on how your LED warning system is set up.
I was thinking about something similar to the LED's but never got around to it.
I'd like some more info on how your LED warning system is set up.
- jsclownfish
- Posts: 378
- Joined: Mon Oct 24, 2011 7:52 pm
- Location: Saint Louis
Re: DIY add on modules
Here is a picture of the inside of the LED module. It is pretty simple really, just 3 LEDs (each with a resistor under the shrink tubing) and the grounds are tied together. It's kind of handy that the phone cord has 4 wires and the colors match.
Hopefully that helps,
Jon
I used this bit of code to send signals to the IO module. My IO code is pretty custom, but I'm sure it could work using the standard IO coding as well.Code: Select all
void ErrorCheckLED()
{
RedLED = 0;
static WiFiAlert redAlert;
if (ReefAngel.Params.Temp[T1_PROBE]>820)
{
RedLED=1;
redAlert.Send("Check Tank, Temp>82");
}
if (ReefAngel.Params.PH>840)
{
RedLED=1;
redAlert.Send("Check Tank, pH>8.4");
}
if (ReefAngel.LowATO.IsActive())
{
RedLED=1;
redAlert.Send("Check Tank, LowATO!");
}
YellowLED=0;
if (RedLED == 0)
{
if (ReefAngel.Params.Temp[T1_PROBE]>810 && ReefAngel.Params.Temp[T1_PROBE]<821) YellowLED=1;
if (ReefAngel.Params.PH>820 && ReefAngel.Params.PH>841) YellowLED=1;
//if (!ReefAngel.HighATO.IsActive()) YellowLED=1;
if (ReefAngel.WaterLevel.GetLevel()<80) YellowLED=1;
}
GreenLED=0;
if (RedLED == 0 && YellowLED == 0) GreenLED=1;
else GreenLED=0;
}
Jon
- Rodasphoto
- Posts: 187
- Joined: Wed Apr 10, 2013 2:48 pm
- Location: Athens, Ga
- Contact:
Re: DIY add on modules
Any more development on your talking tank?
Sent from my SCH-I535 using Tapatalk
Sent from my SCH-I535 using Tapatalk
- jsclownfish
- Posts: 378
- Joined: Mon Oct 24, 2011 7:52 pm
- Location: Saint Louis
Re: DIY add on modules
Well, not exactly sure what you're asking. As it is now, the sound module plays little snippets I've recorded on the chip when folks walk by or in response to signals from the RA. The listening module will also play a limited amount of sound bytes as part of the voice recognition response. Both however are fairly limited in space for sound info. The sound module should be able to actually report things like temp (or any other number, http://www.spikenzielabs.com/SpikenzieL ... hield.html), but since the sound memory space is pretty limited I replaced the space used for numbers with my sound bytes.
I just assembled a Wave Shield board https://learn.adafruit.com/adafruit-wav ... or-arduino and I may switch it over to this as it can carry a much larger assortment of sounds to call on. Im hoping I can then keep my fun sound bytes and the numbers as well.
-Jon
I just assembled a Wave Shield board https://learn.adafruit.com/adafruit-wav ... or-arduino and I may switch it over to this as it can carry a much larger assortment of sounds to call on. Im hoping I can then keep my fun sound bytes and the numbers as well.
-Jon
- Rodasphoto
- Posts: 187
- Joined: Wed Apr 10, 2013 2:48 pm
- Location: Athens, Ga
- Contact:
Re: DIY add on modules
I was wondering if you incorporated a new sounds or features. Please keep us updated if you can keep both sound bytes and numbers. I was hoping to in the future add what you have done and maybe some thunder sounds to compliment lighting from lights.jsclownfish wrote:Well, not exactly sure what you're asking. As it is now, the sound module plays little snippets I've recorded on the chip when folks walk by or in response to signals from the RA. The listening module will also play a limited amount of sound bytes as part of the voice recognition response. Both however are fairly limited in space for sound info. The sound module should be able to actually report things like temp (or any other number, http://www.spikenzielabs.com/SpikenzieL ... hield.html), but since the sound memory space is pretty limited I replaced the space used for numbers with my sound bytes.
I just assembled a Wave Shield board https://learn.adafruit.com/adafruit-wav ... or-arduino and I may switch it over to this as it can carry a much larger assortment of sounds to call on. Im hoping I can then keep my fun sound bytes and the numbers as well.
-Jon
I just came upon this and thought you might be interested in it
http://jasperproject.github.io/