User Tools

Site Tools


amc:ss2023:group-d:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
amc:ss2023:group-d:start [2023/07/25 20:08] – [c. Initial Setup/Calibration] 29907_students.hsrwamc:ss2023:group-d:start [2023/07/25 20:23] (current) – [Table] 29907_students.hsrw
Line 17: Line 17:
 The ESP32-CAM is a popular and cheap development board based on the ESP32 microcontroller. Its dimensions of 27mm*40.5mm*4.5mm make it small but a powerful tool. It also comes with a built-in camera module and microSD card slot and has Wi-Fi and Bluetooth connectivity feature with a dual-core processor, making it suitable for a wide range of IoT (Internet of Things) applications, remote controlling, or inspection systems. The ESP32-CAM is a popular and cheap development board based on the ESP32 microcontroller. Its dimensions of 27mm*40.5mm*4.5mm make it small but a powerful tool. It also comes with a built-in camera module and microSD card slot and has Wi-Fi and Bluetooth connectivity feature with a dual-core processor, making it suitable for a wide range of IoT (Internet of Things) applications, remote controlling, or inspection systems.
 More details at: [[https://docs.ai-thinker.com/en/esp32-cam]] More details at: [[https://docs.ai-thinker.com/en/esp32-cam]]
-^{{:amc:ss2023:group-d:esp32-cam.jpeg?300|}}^ +^ {{:amc:ss2023:group-d:esp32-cam.jpeg?300}}                                                                                                    
-|**Figure 1.** ESP32-CAM \\ Source: [[https://www.nutsvolts.com/magazine/article/build-a-video-camera-using-the-esp32-cam-board]]\\ |+| **Figure 1.** ESP32-CAM (front and back)\\ Source: https://www.nutsvolts.com/magazine/article/build-a-video-camera-using-the-esp32-cam-board  |
  
  
Line 117: Line 117:
  
 =====4. Results ===== =====4. Results =====
-After reboot, the device now automatically captures the image and using its optical character recognition technology converts regions of interest into data readings. The device read the different samples provided as follows. Figure 13 shows the experimental setup of the device over the sample image. And Figure 14 shows the different readings when the device was placed over the different sample images. The value on the top right of the image is the actual post processed value, and above the individual digits and the analog needle are the pre processing initial read values.+After reboot, the device now automatically captures the image and using its optical character recognition technology converts regions of interest into data readings. The device read the different samples provided as follows. Figure 13 shows the experimental setup of the device over the sample image. 
  
 ^{{:amc:ss2023:group-d:experimental_setup_device_over_sample.jpeg?400|}}^ ^{{:amc:ss2023:group-d:experimental_setup_device_over_sample.jpeg?400|}}^
 |**Figure 13.** Experimental setup of the device over the sample image| |**Figure 13.** Experimental setup of the device over the sample image|
 +
 +Figure 14 shows the different readings when the device was placed over the different sample images. The value on the top right of the image is the actual post-processed value, and above the individual digits and the analog needle are the pre-processing initial read values.
  
 ^{{:amc:ss2023:group-d:reference_image_for_documentation_6.jpg?400|}}^ ^{{:amc:ss2023:group-d:reference_image_for_documentation_6.jpg?400|}}^
Line 150: Line 152:
 ^{{:amc:ss2023:group-d:mqtt_client.png?400|}}{{:amc:ss2023:group-d:mqtt_client2.png?400|}}^ ^{{:amc:ss2023:group-d:mqtt_client.png?400|}}{{:amc:ss2023:group-d:mqtt_client2.png?400|}}^
 |**Figure 19.** Remote data reception according to the subscription (main value and timestamp)| |**Figure 19.** Remote data reception according to the subscription (main value and timestamp)|
 +
 +For this project, only two topics i.e.,  the reading after post-processing and time stamp were pursued. Some other topics that could be also subscribed hence, remotely monitored are listed with their respective subscription topic and description in Table 1.
  
 |**Table 1:** Some topics and their description|| |**Table 1:** Some topics and their description||
Line 158: Line 162:
 | watermeter/main/changeabsolut  | Gives the difference between the previous and actual read value.                     | | watermeter/main/changeabsolut  | Gives the difference between the previous and actual read value.                     |
  
-For this project, only two topics i.e.,  the reading after post-processing and time stamp were pursued. Some other topics that could be also subscribed hence, remotely monitored are listed with their respective subscription topic and description in Table 1.  
  
 =====6. Best practice suggestions =====  =====6. Best practice suggestions ===== 
Line 174: Line 177:
 The main issue is still the reliability and accuracy because it cannot be always made sure that the device reads the correct values from the meter. In the above examples, we could see that the digits could be properly recognized but there was always a discrepancy with the analog needle values. Other than that, there is also the question of reliability in terms of maintaining the service, as the AI software doesn't always successfully detect the meter reading. In the course of this project, the image provided was high in contrast, and the possibility of reflection is minimal due to printed samples. But in a real-world scenario, the meter might not always be read or read correctly, due to reflections, brightness level, moisture, or even low contrast in the meter numbers, even if the reference image is calibrated to the best possible level.  The main issue is still the reliability and accuracy because it cannot be always made sure that the device reads the correct values from the meter. In the above examples, we could see that the digits could be properly recognized but there was always a discrepancy with the analog needle values. Other than that, there is also the question of reliability in terms of maintaining the service, as the AI software doesn't always successfully detect the meter reading. In the course of this project, the image provided was high in contrast, and the possibility of reflection is minimal due to printed samples. But in a real-world scenario, the meter might not always be read or read correctly, due to reflections, brightness level, moisture, or even low contrast in the meter numbers, even if the reference image is calibrated to the best possible level. 
  
-These issues can be tackled by using fully digital flow meters that can share their reading via numerous digital data transfer methods. Infrared reading is common with radiators and electric meters, where the values can be accurately transmitted. But it cannot be done in real-time. Another thing that could be further looked into in the future would be to introduce a battery-based current source and further introduce deep sleep for sustainable energy consumption. +These issues can be tackled by using fully digital flow meters that can share their reading via numerous digital data transfer methods. Infrared reading is common with radiators and electric meters, where the values can be accurately transmitted. But it cannot be done in real-time. Another thing that could be further looked into in the future would be to introduce a battery-based current source and moreover introduce deep sleep for sustainable energy consumption in the long deployment. Additionally, data retention technology like the introduction of data banks to save data from different meters could help widen the appeal of such installations in more devices.
  
-All in all, if the user is looking for a cheap solution that works with existing infrastructure and is able to maintain the accuracy and reliability of the readings, then this method will definitely be suitable.+All in all, if the user is looking for a cheap solution that works with existing infrastructure and is able to maintain the accuracy and reliability of the readings, then this method will definitely be suitable. It was undoubtedly difficult to realize this project in a limited amount of time and with insufficient technological expertise, but with enough devotion and guidance from the instructors, it was completed successfully
  
 =====8. References ===== =====8. References =====
amc/ss2023/group-d/start.1690308481.txt.gz · Last modified: 2023/07/25 20:08 by 29907_students.hsrw