# Usage of IoT Framework in Water Supply Management for Smart City in Nepal
## 3 Proposed Methodology
### Development of Experimental Setup  
Python programming language has been used to program the Raspberry-Pi. The Table 3 shows the specific technical details and uncertainty of the devices used in the experiment. \begin{table}
\begin{tabular}{c c c} \hline \hline
**SN** & **Device** & **Specifications** & **Limitations** \\ \hline \multirow{8}{*}{1} & & System on chip (SoC): Broadcom BCM2837B0 quad-core & \\  & & A53 (ARMv8) 64-bit @ 1.4 GHz. & \\ \cline{2-3}  & & GPU: Broadcom Videocor-IV. & \\ \cline{2-3}  & & RAM: 1 GB LPDDR2 SDRAM. & Overheating problem causes \\ \cline{2-3}  & & Networking: Gigabit Ethernet (via USB channel), 2.4 GHz & the system to malfunction. \\ \cline{2-3}  & & and 5 GHz 802.11b/g/n/ac Wi-Fi. & \\ \cline{2-3}  & & Bluetooth: Bluetooth 4.2, Bluetooth Low Energy (BLE) & \\ \cline{2-3}  & & Storage: Micro-SD 8 GB used & \\ \cline{2-3}  & & DC power 3v & \\ \hline \multirow{8}{*}{2} & & Model: JSN-SR04T & \\ \cline{2-3}  & & Operating voltage: 5 v & \\ \cline{2-3}  & & Operating current: 30 mA & \\ \cline{2-3}  & & Quiescent current: 5 mA & \\ \cline{2-3}  & & Resonating Frequency: 40 KHz & The sensor cannot measure \\ \cline{2-3}  & & Measuring range 25-450 cm & \\ \cline{2-3}  & & Resolution 2 mm & \\ \cline{2-3}  & & Measuring angle 45–75 degrees & \\ \cline{2-3}  & & Sensor dimensions 23.5 \(\times\) 20 \(\times\) 2.5 mm & \\ \hline \multirow{8}{*}{3} & & Power Range: 0.5 HP to 1.0 HP & \\ \cline{2-3}  & & 1 Phase, 2900 RPM & \\ \cline{1-1} \cline{2-3}  & & Capacity: 30 LPM–2500 LPM & \\ \cline{1-1} \cline{2-3}  & & Total Head: 6.0 to 50 Meters & \\ \hline \multirow{2}{*}{4} & & \multirow{2}{*}{Relay} & Channel: Single channel & \\ \cline{3-3}  & & Frequency: 315 MHz & Voltage fluctuations hinder \\ \cline{2-3}  & & Voltage: 220 v & the output of the relay \\ \hline \multirow{4}{*}{5} & & \multirow{4}{*}{Router} & External Power Supply: 9 VDC/0.6 A & \\ \cline{3-3}  & & Wireless Standards: IEEE 802.11n, IEEE 802.11g, & \\ \cline{1-1} \cline{2-3}  & & IEEE 802.11b & \\ \cline{1-1} \cline{2-3}  & & Dimension: 7.2 \(\times\) 5.0 \(\times\) 1.4 in & \\ \hline \hline \end{tabular}
\end{table} 
Table 3: Technical specifications and limitations of device used in the experiment. The research work used one full-on experiment to develop an automatic system to fill and store the water in a home using ultrasound technology as shown in Figure 3. This experiment uses two cylindrical water tanks. The local area network (LAN) cat6 cable has been used for communication between upper and lower tanks. Raspberry-Pi is used for networking and controlling the sensors. Trial versions of cloud computing have been utilized to store the data in the cloud. Two ultrasonic sensors are used, one in the bottom tank and the other in the upper one. The storage tank is in the lower position and from this tank the daily usage of water in the home takes place. A comparison is made between the levels of water between these two tanks to automatically switch on the motor. Ultrasonic Sensor1 and sensor2 used in the bottom tank and upper tank considers the mathematical relations that are based on Doppler's effect.