The present project deals with wireless technology in the hotel management area. The present system working is a very tedious process ordering to one person, sending that with another person to the kitchen and sending the same to the cashier. 

This total procedure will be build up by using the embedded system with wireless technology. By using Bluetooth technology we can reduce the manpower in hotels and also it reduces the wastage time.

Here we developed one-touch technology; by selecting the item from the menu list display in LCD, select one item then enter to transmit order data to the server point.

The receiver, section receives the order from the respective table number and selected items then the server goes to serve respect item to respective table customers. In this way, we can speed up the servicing and attract the customer with one wireless and touch technology.

The system uses compact circuitry built around the Flash-version of the Atmel microcontroller with a non-volatile memory capable of retaining the password. Programs are developed in embedded C.  ISP is used to dump the code into the microcontroller

This project uses a regulated 5v, 750ma power supply. 7805 three-terminal voltage regulator is used for voltage regulation. Bridge type full wave rectifier is used to rectify the ac output of secondary of 230/18v step down transformer.

TECHNICAL SPECIFICATIONS

HARDWARE

  • Arduino (ATMEGA328)
  • LCD
  • Bluetooth hc 05
  • Mobile phone

POWER SUPPLY

  • Transformer                    :             12V step down 
  • Filter                               :             1000uf/25V
  • Voltage Regulator           :             7805 / 7812

SOFTWARE

  • Software tools used
  • Keil IDE,PROTEUS

BLOCK DIAGRAM

POWER SUPPLY:

Bill of Materials

S.NoCOMPONENTSDESCRIPTIONQUANTITYlink
1Arduino UnoArduino UNO atmega3281https://www.amazon.com/Arduino-A000066-ARDUINO-UNO-R3/dp/B008GRTSV6
2 Bluetooth hc-05 Bluetooth hc0-5 1https://www.amazon.in/xcluma-Wireless-Bluetooth-Transceiver-Arduino/dp/B071HWFYJP/ref=sr_1_2?adgrpid=59669149860&dchild=1&ext_vrnc=hi&gclid=CjwKCAjwndCKBhAkEiwAgSDKQXhErM3iD6bt4qi4jPYuFlBhq00jXMjpPOZyFf7exBtDV8eQXeFakBoCOzQQAvD_BwE&hvadid=294135675811&hvdev=c&hvlocphy=9302486&hvnetw=g&hvqmt=e&hvrand=15261584624003535611&hvtargid=kwd-301578922975&hydadcr=5844_1738698&keywords=bluetooth+hc-05&qid=1632935799&sr=8-2
3LCD 16*2 LCD 16*2 1https://www.thingbits.in/products/standard-lcd-16×2-display
4Laptoplaptop1https://www.amazon.in/Lenovo-IdeaPad-Business-Graphics-Platinum/dp/B0999BTTKZ/ref=sr_1_2?dchild=1&qid=1632933668&refinements=p_89%3ALenovo&s=computers&sr=1-2
5BreadboardBreadboard1https://www.electronicscomp.com/gl12-840-points-solderless-breadboard?gclid=CjwKCAjwndCKBhAkEiwAgSDKQT8pZpDgWOcNPcG4vm5xkorj2j1NmHG7bI6YPNIZGlibrYrijf4AcBoCzdsQAvD_BwE
6Jumper WiresJumper Wires40https://www.flipkart.com/arduino-female-male-dupont-20cm-jumper-wire-40pcs-interconnect-electronic-hobby-kit/p/itmf8e5ezvkequ3h?pid=EHKF8DVBG9BXZHHH&lid=LSTEHKF8DVBG9BXZHHHUGSG9J&marketplace=FLIPKART&cmpid=content_electronic-hobby-kit_14498130132_u_8965229628_gmc_pla&tgi=sem,1,G,11214002,u,,,543116155366,,,,c,,,,,,,&ef_id=CjwKCAjwndCKBhAkEiwAgSDKQYwKr3euuMpKCLDJnf-2qgZAQRW2n8hnMZC3nTW73FEqy4E5LPx20RoCuUAQAvD_BwE:G:s&s_kwcid=AL!739!3!543116155366!!!u!297659526158!&gclid=CjwKCAjwndCKBhAkEiwAgSDKQYwKr3euuMpKCLDJnf-2qgZAQRW2n8hnMZC3nTW73FEqy4E5LPx20RoCuUAQAvD_BwE&gclsrc=aw.ds

Arduino uno

This is the new Arduino Uno R3. In addition to all the features of the previous board, the Uno now uses an ATmega16U2 instead of the 8U2 found on the Uno (or the FTDI found on previous generations). This allows for faster transfer rates and more memory. No drivers are needed for Linux or Mac (inf file for Windows is needed and included in the Arduino IDE), and the ability to have the Uno show up as a keyboard, mouse, joystick, etc. Never fear for accidental electrical discharge, either since the Uno R3 also includes a plastic base plate to protect it!

The Uno R3 also adds SDA and SCL pins next to the AREF. In addition, there are two new pins placed near the RESET pin. One is the IOREF that allows the shields to adapt to the voltage provided from the board. The other is not connected and is reserved for future purposes. The Uno R3 works with all existing shields but can adapt to new shields which use these additional pins.

Arduino is an open-source physical computing platform based on a simple i/o board and a development environment that implements the Processing/Wiring language. Arduino can be used to develop stand-alone interactive objects or can be connected to software on your computer (e.g. Flash, Processing, MaxMSP). The open-source IDE can be downloaded for free (currently for Mac OS X, Windows, and Linux).

Standard LCD 16×2 Display

Wanna add an interface to your project? Use the 16×2 standard alphanumeric LCD display, they are extremely common and is a fast way to have your project show status messages.

An LCD (Liquid Crystal Display) screen is an electronic display module and has a wide range of applications. A 16×2 LCD display is a very basic module and is very commonly used in various devices and circuits.

A 16×2 LCD means it can display 16 characters per line and there are 2 such lines. In this LCD each character is displayed in a 5×7 pixel matrix. The 16 x 2 intelligent alphanumeric dot matrix display is capable of displaying 224 different characters and symbols. This LCD has two registers, namely, Command and Data. Command register stores various commands given to the display.

The data register stores data to be displayed. The process of controlling the display involves putting the data that form the image of what you want to display into the data registers, then putting instructions in the instruction register. In your Arduino project, Liquid Crystal Library simplifies this for you so you don’t need to know the low-level instructions. The contrast of the display can be adjusted by adjusting the potentiometer to be connected across the VEE pin.

General specifications

Minimum logic voltage:4.5 V
Maximum logic voltage:5.5 V
Typical LED backlight voltage drop:4.2 V
Typical LED backlight current:120 mA
Supply current:2 mA

Pinout

PinSymbolFunction
1Vssground (0 V)
2Vdd5 V logic supply voltage
3Vocontrast adjustment
4RSH/L register select signal
5R/WH/L read/write signal
6EH/L enable signal
7-14DB0 – DB7H/L data bus for 4- or 8-bit mode
15A (LED+)backlight anode
16K (LED-)backlight cathode

Hc-05 Wireless Bluetooth Rf Transceiver Module Serial/Ttl/Rs232

  • Wireless Bluetooth RF Transceiver Module HC-05 RS232 Master Slave for Arduino Feature Bluetooth Serial Transceiver Module with backboard. Works with any USB Bluetooth adapters.
  • This module includes key interface and state interface compared with Smart Bluetooth Module Baseboard. The Bluetooth Module Baseboard can be compatible with master mode,slave mode and both master-slave mode.
  • Works for Bluetooth TTL transceiver module which allows your target device to both send or receive the TTL data. The key interface on the baseboard is the master mode button and can be controlled by high level from external MCU, then this module will search again automatically.
  • This module power supply input is 4.5~6V Use the CSR mainstream bluetooth chip, bluetooth V2.0 protocol standards. Module working voltage 3.3 V. Default rate of 9600, the user can be set up. Working current: matching for 30 MA, matching the communication for 8 MA. Dormancy current: no dormancy.

HC-05 Specifications:- 

  • Profiles: Bluetooth serial port Profile
  • Bluetooth protocol: Bluetooth Specification v2.0+EDR
  • Frequency: 2.4GHz ISM band
  • Modulation: GFSK(Gaussian Frequency Shift Keying)
  • Emission power: ≤4dBm, Class 2
  • Sensitivity: ≤-84dBm at 0.1% BER
  • Speed: Asynchronous: 2.1Mbps(Max) / 160 kbps, Synchronous: 1Mbps/1Mbps
  • Security: Authentication and encryption
  • Power supply: +3.3VDC 50mA
  • Working temperature: -20 ~ +75Centigrade
  • Dimension: 26.9mm x 13mm x 2.2 mm

HC-05 Applications:-

  • Embedded Projects
  • Industrial Applications
  • Computer and portable Devices
  • GPS receiver

Final Code




#include <LiquidCrystal.h>
#include <SoftwareSerial.h>
void list();
LiquidCrystal lcd(14, 15, 16, 17, 18, 19);
SoftwareSerial mySerial(2, 3); 
int i=0,j=0,k=0;
char buf;
int idly=20,dosa=30,biryani=200,total=0;
void setup() {
  mySerial.begin(9600);
  lcd.begin(16, 2);
  lcd.print("Hotel automation");

}

void loop() {
 if(mySerial.available())
 {
  buf = mySerial.read();
    
  if(buf=='g')
  {
    lcd.clear();

     mySerial.print(" vaageswari college of engineering E-MESS ");
    lcd.setCursor(0,0);
    lcd.print("MENU:");
    lcd.setCursor(6,0);
    lcd.print("1.idly");
    lcd.setCursor(0,1);
    lcd.print("2.dosa 3.biryani");
    mySerial.println("1.idly=20");mySerial.println("2.dosa=30");mySerial.println("3.biryani=200");
    mySerial.println("c - clear order");
    
  }
  if(buf=='1')
  {
    lcd.clear();
    i++;
    total+=idly;
    list();
    lcd.setCursor(0,0);
    lcd.print("idly,");
    lcd.setCursor(0,1);
    lcd.print("total = ");
    lcd.setCursor(9,1);
    lcd.print(total);
    mySerial.print("1.idly = ");mySerial.println(i);
    mySerial.print("2.dosa = ");mySerial.println(j);
    mySerial.print("3.biryani = ");mySerial.println(k);
    mySerial.print("total = ");mySerial.println(total);
  }
  if(buf=='2')
  {
    lcd.clear();
    j++;
    total+=dosa;
    list();
    lcd.setCursor(5,0);
    lcd.print("dosa,");
    lcd.setCursor(0,1);
    lcd.print("total = ");
    lcd.setCursor(9,1);
    lcd.print(total);
    mySerial.print("1.idly = ");mySerial.println(i);
    mySerial.print("2.dosa = ");mySerial.println(j);
    mySerial.print("3.biryani = ");mySerial.println(k);
    mySerial.print("total = ");mySerial.println(total);
  }
  if(buf=='3')
  {
    lcd.clear();
    k++;
    total+=biryani;
    list();
    lcd.setCursor(10,0);
    lcd.print("bryni");
    lcd.setCursor(0,1);
    lcd.print("total = ");
    lcd.setCursor(9,1);
    lcd.print(total);
    mySerial.print("1.idly = ");mySerial.println(i);
    mySerial.print("2.dosa = ");mySerial.println(j);
    mySerial.print("3.biryani = ");mySerial.println(k);
    mySerial.print("total = ");mySerial.println(total);
  }
  if(buf=='c')
  {
    mySerial.println("your order is cancelled");
    lcd.clear();
    i=0;j=0;k=0;total=0;
    lcd.print("your order is cancelled");
    delay(1000);
     lcd.clear();
    lcd.print("MENU:");
    lcd.setCursor(6,0);
    lcd.print("1.idly");
    lcd.setCursor(0,1);
    lcd.print("2.dosa 3.biryani");
    
  }
  
  
 }

}

void list()
{
  
  if((i>0)&&(j>0))
  {
   lcd.setCursor(0,0);
   lcd.print("idly,dosa,"); 
  }
  if((j>0)&&(k>0))
  {
   lcd.setCursor(0,0);
   lcd.print("     dosa,bryni"); 
  }
  if((i>0)&&(k>0))
  {
   lcd.setCursor(0,0);
   lcd.print("idly,     bryni"); 
  }
  if((i>0)&&(j>0)&&(k>0))
  {
   lcd.setCursor(0,0);
   lcd.print("idly,dosa,bryni"); 
  }
}

By Devilal

Leave a Reply

Your email address will not be published. Required fields are marked *