Difficulty Level: Expert -
Open Aquarium has been designed to help you to take care of your fish by means of automating the control and preservation tasks that take location within the fish tanks and ponds. Open Aquarium consists of two distinctive and complementary kits: Basic and Aquaponics, and plenty of numerous more accessories.
There are five sensors available within the platform to degree the key parameters in the fish tank along with temperature, pH or Conductivity and then some others to govern the ideal nation of the fish tank (stage and leakages). In addition, there are 4 extraordinary actuators to automate responsibilities together with heating or cooling the water, feeding the fish, activating the pumps for water trade or drugs administration, and controlling the intensity of the light to simulate the day/night cicles.
A whole Open Source API is included to without problems manage the board through Arduino. And we've got also designed an internet utility that permits to shop in a information base the information gathered and visualize it from a browser and from iPhone / Android devices. We have released it as Open Source code too, so you can enhance it and make it personal for your personal product!
Open Aquarium has been designed to work with both 220V (Europe) & 110V (US). For more information go to the "Electrical Features section"
Basic Kit: Buy now
Aquaponics Kit: Buy now 1. Features
The % we're going to use on this educational is the Open Aquarium platform from Cooking Hacks. Open Aquarium is fully compatible with Arduino UNO. Electrical Features
Open Aquarium need to be powered by means of an outside power supply (12V - 2A).
Open Aquarium has been designed to paintings with each 220V (Europe) & 110V (US). To use the RF Power Strip in 110V strength setups you simply want to apply this 110-220V Power Converter. Wireless communique
Open Aquarium gateway communicates with the RF power strip with FSK modulation (Frequency-shift keying) at 433MHz.
Can I use the 433MHz radios included in Open Aquarium within the US?
Yes. The US Federal Communications Commission (FCC) regulates operation at 433 MHz beneath Regulation 10CFR47 Part 15.231. This frequency band is intended for remote control, despite the fact that some other usages are possible with some regulations:
- The duration of each transmission shall not be extra than one 2d and the silent length among transmissions shall be at the least 30 instances the length of the transmission however in no case much less than 10 seconds.
- Transmissions can also remaining 300mSec every 10 seconds.
- Data transmissions can not exceed 2000ms in line with hour. This way we are able to ship data periods of as a minimum 10 seconds from each node to the gateway.
- Transmission Power should be at most 10,000uV/meter at three meters. The radio and antennas supplied with open Aquarium have much less power than the maximum permitted.
http://www.ti.com/lit/an/swra090/swra090.pdf
Steve Sir Bernard Law, General Manager, Digital Six Laboratories, LLC, eleven/26/2013
Can I use the 433MHz radios blanketed in Open Aquarium in Europe?
Yes. The 433MHz band is unlicensed and freed from use in Europe. For extra information about the R&TTE / CEPT / ETSI directive examine the following record.
http://www.ti.com/lit/an/swra090/swra090.pdf 2. The Shield 2.1 Open Aquarium Shield
2.2 Open Aquarium Aquaponics
2.3 Open Aquarium over Arduino
three. The Library
Open Aquarium counts with a C++ library that helps you to examine effortlessly all the sensors and send the records by way of using any of the available radio interfaces. This library offers an easy-to-use open supply gadget. 3.1 Using the library with Arduino
Open Aquarium consists of a excessive degree library features for a clean manipulate of the board. Before begin using this capabilities you have to down load the files from this link. This zip consists of all of the documents wished in a single folder, "OpenAquarium". Copy this folder inside the arduino IDE folder "libraries". Don't forget consist of those libraries in your codes.
Download the Open Aquarium Libraries for Arduino.
Libraries are frequently dispensed as a ZIP record or folder. The name of the folder is the call of the library. Inside the folder can be the .cpp documents, .h documents and regularly a keywords.txt file, examples folder, and other files required by way of the library.
To set up the library, first stop the Arduino application. Then uncompress the ZIP document containing the library. For installing Open Aquarium library , uncompress OpenAquarium.zip. It ought to contain a folder called "Open Aquarium", with files like OpenAquarium.cpp and OpenAquarium.h internal. Drag the Open Aquarium folder into this folder (your libraries folder). Under Windows, it will possibly be called "My Documents\Arduino\libraries". For Mac users, it's going to likely be known as "Documents/Arduino/libraries". On Linux, it'll be the "libraries" folder on your sketchbook.
The library won't paintings if you put the .cpp and .h files directly into the libraries folder or if they're nested in a further folder. Restart the Arduino utility. Make positive the brand new library appears within the Sketch->Import Library menu object of the software program.
That's it! You've hooked up a library! three.2 General Open Aquarium features Open Aquarium Gateway capabilities
Sensor initializing capabilities:
init()//Include: initports(), welcome(),initDS18B20() and initRTC() initports()//Initialize all ports welcome()//Print a welcome message
Lighting program:
lighting()//Give important day light for fish depending on time fadelight()//Fading light lightON()//Turn ON the light lightOFF()//Turn OFF the mild
Leak capabilities:
leak()//If water leakage detected, turn off all pumps and an alarm sounds
Delete variable function:
newday()//Delete all variables
Feed fish features:
feedfish()//Makes a rotation of the automated fish feeder readyforfeeding()//Prepare feeder for feeding
Water exchange features:
empty()//Empty aquarium, turns ON pump1 till level2 detected and dosing drops fill()//Fill aquarium after empty turning ON pump2 until level1 detected
Water level capabilities:
waterlevel1()//Get the popularity of the water stage 1 and print a message waterlevel2()//Get the status of the water degree 2 and print a message readwaterlevel(out)//Getthe status of the water degree 1 or 2
Pumps functions:
pumpON(out)//Turn ON the water pump with the quantity "out" pumpOFF(out)//Turn OFF the water pump with the number "out" perpumpON(out)//Turn ON the peristaltic pump with the variety "out" perpumpOFF(out)//Turn OFF the peristaltic pump with the range "out"
Buzzer capabilities:
alarm()//Alarm sound playTone()//Makes song sound openingsong()//Makes a melody with buzzer
RTC functions:
initRTC()//Initializing vital for the RTC setTime()//Get the computer's time and date getTime()//Get a struct with contemporary time and date printTime(now)//Serial print the struct received with getTime
Power strip capabilities:
sendPowerStrip(plug)//Send a sign to show on or off a plug
DS18B20 features:
initDS18B20()//Initializing essential for sensor DS18B20 readtemperature()//Return the price of the DS18B20sensor tempcontrol(temperature)//Temperature manipulate with Power strip (25-27°C).Heater in socket 5 and //fan cooler in 4. An alarm sounds if temperature is better than 30°C
Aquaponics features:
calibratepH(calibration_point_4,calibration_point_7,calibration_point_10) //pH sensor calibration readpH()//ReturnpH value in mV pHConversion(mvpH)//Returns the price of the pH sensor calibrateEC(point_1_cond,point_1_cal,point_2_cond,point_2_cal)//EC sensor calibration readResistanceEC()//Returns EC Value in resistance ECConversion(_resistanceEC) //Returns EC Value in µS/cm4. Open Aquarium Basic
The complete kit may be observed here.
No comments:
Post a Comment