I’m planning a smart fishtank system with these features:
- detect and record feeding frequency
- record light intensity and time of lighting inside of tank (through the glass)
- record temperature
Why Build a Smart Fishtank?
The tank is in my office and there are four possible people that feed the goldfish on a daily basis. As we do not coordinate feeding schedules, it is possible to overfeed or forget to feed the goldfish.
Physical Device Mounting and Power
I’m looking into a mount point on the side of the tank.
There is already a filter there, so it looks like a decent place to maintain the aesthetics of the tank.
I’m using the Renesas battery for initial tests. I charge it with my powered USB hub, then, move it to the tank for testing.
As the tank filter is powered by an AC power source with a AC plug right below the tank, it will be easy to convert the demo to power from an AC adapter.
I’m planning to use these values
- temp, light, humidity from AMS Environmental Sensor (part of IoT Fast Prototyping Kit)
- vibration from board
My current tank has a digital temperature sensor.
The current sensor is not smart and doesn’t provide data logging or remote access. It does have the advantage of having the sensor submerged. For the AMS environmental sensor, I’m going to stick it to the outside of the tank so I don’t have to deal with building a case for it. I could just use a test tube and put the sensor in the tube and keep the mouth of the tube above the water. I would still need to mount the test tube to the inside of the tank.
As I have a submerged sensor as a data point, I can compare the temp sensor on the AMS Environmental sensor on the outside of the tank to the values on the sensor inside of the temp. I can then adjust the values with a Python script if I need to.
Based on our last experiments with vibration using the Smart Chef demo as a basis, I’m hoping that the S3A7 board itself can be used to detect the vibration of the door opening. I’m wondering if the velcro on the board will interfere with vibration detection. I plan to have the board on the tank cover and not on the door.