In a world where everything is becoming 'Smart', I thought of taking a simple project and make it IoT! Smart Water Level Sensor.

The IoT Based Water Level Sensor monitors the level of water in a bottle using an ultrasonic sensor and conveys the same information to the Cloud based platform provided by IBM Bluemix.

Hardware: A USB/Battery powered ATMEL SAMW25 chip along with an HC-SRO4 (ultrasonic ) sensor to sense the level of water. Actuator in the form of LED and a 3.3V buzzer. The entire hardware, from schematic to layout, was designed in 'Altium' The firmware was written in Atmel Studio.

Cloud: IBM Bluemix provides the IBM Watson Platform to develop a UI for interfacing with the hardware. the broker is an MQTT Cloud broker which is called by the code to interface with Bluemix.

Though I tried implementing a simple Topic on MQTT, receiving data from the ultrasonic sensor, going ahead I would like to explore the IBM Bluemix platform to analyse the received data and store and display the information as well as control the actuators from Cloud.

GROUP PROJECT- IoT DOOR LOCK

I worked in a group with Aasif and on his board for the final demo. The IoT Door Lock used a photo sensor to sense the ambient light in a room and the actuator was in the form of a servo which was connected with the server to control the opening and closing of the door.

Firmware Demo: https://goo.gl/photos/FE7vdCxAAPF4HEiG8

Demo Video: https://goo.gl/photos/gthdSvmEVq3V3eb7A

Node Red Flow: [{"id":"921ffccc.7b424","type":"ui_switch","z":"19bb578d.438a28","name":"","label":"Door","group":"76df0ff1.6334a","order":0,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"","style":"","onvalue":"1","onvalueType":"str","onicon":"","oncolor":"","offvalue":"0","offvalueType":"str","officon":"","offcolor":"","x":396,"y":152,"wires":[["ea7bc88a.bc5488"]]},{"id":"c049217e.ba03b","type":"inject","z":"19bb578d.438a28","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":115,"y":149,"wires":[["921ffccc.7b424"]]},{"id":"ea7bc88a.bc5488","type":"mqtt out","z":"19bb578d.438a28","name":"switch1","topic":"ese680/actuator/","qos":"1","retain":"false","broker":"f5efa4e6.160468","x":580,"y":153,"wires":[]},{"id":"277ffdcf.e341f2","type":"mqtt in","z":"19bb578d.438a28","name":"Sensor","topic":"ese680/sensor/","qos":"1","broker":"f5efa4e6.160468","x":103,"y":273,"wires":[["3a08bf43.e73de"]]},{"id":"3a08bf43.e73de","type":"ui_text","z":"19bb578d.438a28","group":"76df0ff1.6334a","order":0,"width":0,"height":0,"name":"","label":"Lights: ","format":"{{msg.payload}}","layout":"row-spread","x":394.75,"y":278.234375,"wires":[]},{"id":"f114ccc0.ebb36","type":"mqtt in","z":"19bb578d.438a28","name":"","topic":"ese680/main/","qos":"1","broker":"f5efa4e6.160468","x":128.5,"y":454.00003814697266,"wires":[["863d3f85.96dcf"]]},{"id":"1f5b4143.33c19f","type":"ui_text","z":"19bb578d.438a28","group":"76df0ff1.6334a","order":0,"width":0,"height":0,"name":"","label":"Alive","format":"{{ msg.timestamp }}","layout":"row-spread","x":532.5000305175781,"y":467.3333511352539,"wires":[]},{"id":"863d3f85.96dcf","type":"timestamp","z":"19bb578d.438a28","name":"alive","x":350.8333511352539,"y":480.66668701171875,"wires":[["1f5b4143.33c19f"]]},{"id":"76df0ff1.6334a","type":"ui_group","z":"","name":"Main","tab":"fd5fe284.1d953","disp":true,"width":"6"},{"id":"f5efa4e6.160468","type":"mqtt-broker","z":"","broker":"m11.cloudmqtt.com","port":"16625","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"willTopic":"","willQos":"0","willPayload":"","birthTopic":"","birthQos":"0","birthPayload":""},{"id":"fd5fe284.1d953","type":"ui_tab","z":"","name":"Home","icon":"dashboard"}]

Built With

Share this project:
×

Updates