0

I'm developing a device system in our campus - my aim is to provide three IoT smart garbage containers that will get the fill level (to determine the space of garbage inside and to inform the garbage collector if the garbage is empty, not yet full and full), temperature and humidity from the garbage bin and will send the information to my application that I'm going to develop.

I don't know how I can connect these three IoT devices which are a fair distance from each other. I know it should be wireless though I can't figure out the exact Arduino device to provide connection to my mobile application.

0

1 Answer 1

2

Does your campus have WiFi? If so, go with EPS8266 if its pins are OK for your sensors. ESP Pinout

You'd want to keep an eye on power consumption; you'd sample your sensors per desired interval and deep-sleep at all other times. Check out available sleep here. It also has en example of how to sample and send a sensor, and sleep afterwards.

On the application end, you could either use a ready service such as Blynk, or go for a custom solution and send the data on your server. Of course, you would then need to write an API and some sort of application to present your data.

Let me also point out that for measuring garbage level, you should calculate the total volume of your bin and subtract the volume of garbage your sensor detects. Having non-uniform trash would give you some trouble, but it's a good technique for an estimation of garbage volume. Also, if using ultrasonic distance sensors, given the fact that you have temperature readings available, you should compensate your measurements; check this out.

5
  • thank you! :) please guide me for more details. I don't know how to code on ESP8266 and connect it from those 3 devices. Sep 21, 2018 at 14:02
  • have a look at the second tutorial in the link I provided here. He is presenting a very similar project.
    – dBm
    Sep 22, 2018 at 18:10
  • thank you @dBm do I need one breadboard for each sensor devices? Sep 23, 2018 at 14:51
  • SIR should I use a wifi-module or not? Sep 24, 2018 at 8:54
  • sir another one should we used a battery for it and battery case holder? thank you Sep 24, 2018 at 10:46

Not the answer you're looking for? Browse other questions tagged or ask your own question.