Warehouse Automation System
- Clone this project and cd into it
- Run
npm install
- Install mongodb. If in Ubuntu
sudo apt install mongodb
- Run
node data.js
to create some sample data - Run
node index.js
for frontend server - Run
node api_server.js
for separate api server. (Same database. But does not need to run for functioning of frontend) - Clone this project to a Raspberry Pi and run
npm install express axios node-bluetooth
- Install at least node.js version 8 on the Pi
- Run
node api_bot_2.js
in the Pi - Note: Pi server will refuse to run (and drown the screen with errors) if it cannot establish a bluetooth connection to the address defined. For this you will need to create and bind an rfcomm channel for that address. The address is for the HC05 connected to arduino.
- Write the Bot.ino code to the Arduino