We are writing in response to your letter describing a series of problems in your hotel. We have discussed it and we have found we can best help you with your problems with the dumbwaiter your patrons have been over filling. We have devised a way for you to be notified of the status of the dumbwaiter. There will be sensors in the dumbwaiter that will measure the distance from the top of the dumbwaiter to the height of the stacked dishes. Those measurements will be interpreted and will light either a red, yellow, or green led. The red will mean the dumb waiter is overfilled and requires your assistance before it can be operated. Yellow will mean it may possible to operate but as it will be moving, things might shift and could possibly get jammed. Finally, green will mean the dumbwaiter is within the normal filling range and can be operated without worry. In order to have this feedback system working you will need to install sensors in the dumbwaiter and program an Arduino. We will walk you through the steps and will even help you understand how the system works. These instructions will give you a working prototype. We understand that you are busy and might not have the time to go through some of the set up required, so we also are working on a upgrade that would make the system wireless thus simplifying the set up and making the capacity indicator portable.
Here is a list of the parts you will need:
Here also is a more formal Bill of Materials (BOM).
Before we get started on the actual build you should familiarize yourself with the schematic for the build and what system will look like once completed, shown here.
Preparing Arduino Tx
Now that you’re familiar with the schematic, its time to build! It’s quite simple, it’s just a matter of connecting the components to the right pins on the Arduino. Fortunately we already wrote the code for you so you just need to follow our instructions and you will have a working prototype in a few minutes.
1. First gather your 2 distance sensors and one Arduino, we will call it “Arduino Tx”. The sensors will have 4 pins you can go ahead and wrap a bit of hookup wire connecting the 2 middle pins(Trig and Echo), we will call this junction the signal pin. The other two are labeled Vcc and GND thats Voltage and ground respectively.
2. We will begin by connecting the sensors to the Arduino Tx. Next connect the signal pin into pin 13, then Vcc to the 5v pin on the Arduino. On the second sensor, connect the ground pin to the ground pins on the Arduino, next connect the signal pin or trigger and echo into pin 12, then Vcc to the 5v pin on the Arduino. Because the Arduino only has one 5V pin use a breadboard to connect the two pins with the 5V pin like shown.
3. Now upload the code to the Arduino 1. It is now ready to send the distance information to the Arduino 2.
Here’s a link to the code.
4. On the other Arduino (Arduino Rx) we will set up the LEDs. Using a bread board connect the green LED’s anode to pin 7 and the cathode to the ground pin. Next connect the yellow LED’s anode to pin 6 and the cathode to the ground pin. Next connect the red LED’s anode to pin 5 and the cathode to the ground pin.
5. Now upload the code to the Arduino 2. It is now ready to receive the distance information to the Arduino 1
Here is a link to the code
7. Both Arduinos are ready. Simply power both Arduinos and the system will be functional!
On the transmitting Arduino(Arduino 1/Arduino Tx) its best to use 4 AA Batteries
The Receiving (Arduino 2/Arduino Rx) will work just fine with a standard 9V battery
8. One last thing we tested and designed this system by strategically placing the sensors on top of the roof panel of the dumbwaiter you described. If you want to change the placement to better suit your dumbwaiter the system will still work. we placed them evenly across the image shows the holes for the sensors from above.
And there you have it, your fully functioning “Smart Waiter.” To improve this project even further you could set up multiple Xbee receivers i.e. one that you could carry around with you to let you know when the waiter is full or getting there. Another improvement would be to add more steps of “fullness” with some added code and more LEDs hooked up to the receivers. Last but not least, you could add an alarm or buzzer of sorts to not only give a visual warning, but an audible one to heighten awareness of the urgent and desperately dire issue that is the overfilled dumbwaiters. If your interested in making it wireless follow this link Thanks for reading.