Table of Contents

DIY Smart Shopping Cart/Trolley

Smart-shopping-cart
Project Description

Introduction

Visiting malls can be fun. But dragging the Shopping Cart along as you fill it with stuff is something that is downright annoying. The pain of pushing it through those narrow aisles, making those sharp turns! So, here’s (kind of) an offer that you can’t refuse – how ‘bout transforming that regular, boring Shopping Cart into a cool DIY smart shopping cart that you can control with a few taps on your phone?

Sounds like exactly what you need, right?

Let’s get started then!

Making of Shopping Cart

  • Take the cart and remove its wheels using Nose Plier.Shopping Cart Remove Wheels
  • Now, all you have is a cart without wheels.Cart Without Wheels
  • Attach two DC motors, one of each side of the back end of the cart using the cable tie.Attach Motors

Now, its time to give wheels to the cart.

  • Attach the wheels on the DC Motor.Add Wheels
  • Now, attach the castor wheel on the front end of the cart with the help of cable ties. Finally, cut the extra cable tie using the wire cutter.Attach Castor Wheel
  • Now, all you need to attach evive to the cart using the cable ties.Attach evive
  • Attach HC-05 Module on evive at its dedicated slot provided. You can clearly see the connections from the Connection Section Below.
  • We are using Bluetooth HC-05 module for wireless connectivity.
  • Thus, your shopping cart is now ready.Smart Trolley

Logic and Flowchart

In this case, we are communicating wirelessly. The user gives instructions by pressing the buttons on the Gamepad module in Dabble, a project-making mobile application developed by STEMpedia. You can install it on your phone from Google Play.

The robot takes actions according to the button pressed.

For example, if Down is pressed the robot will move backwards; if none of the buttons is pressed, the robot will stop.

Below is the complete flowchart:Flowchart

Circuitry:

For the Shopping Cart, we have to connect the Bluetooth module (HC05). In the following figure, you can observe where the Bluetooth module’s 6 pin connectors are plugged on evive.attaching_bluetooth_module

evive Alert
Bluetooth module’s RX pin will go to TX3V3 pin on evive and others correspondingly. Note that on powering evive, a red LED will start blinking on the module. If you do not connect the module correctly, it may get damaged.

 

Scratch Script

The following image shows the Scratch Script which you need to upload to evive to control the Shopping Cartfrom our smartphone. We will assign the actions with respect to each button on the app. SmartphoneControlledScript

GoStraight GoBackward TurnLeft TurnRight Brake

Connecting HC-05

To pair Dabble with the Bluetooth Module, follow the steps below:

  1. Install the app and open it.Dabble Home Disconnected

  2. Then, pair it with the HC-05 Bluetooth module.Dabble Home Connected

  3. Open Gamepad. You can now control your robot using the keys of the GamePad.Game Pad_Connected

Conclusion

With this, your DIY Smart Shopping Cartis ready! Next time you visit the mall, get ready for some attention as it makes heads turn when you pass by others!

Project Downloads - Code and Files

Circuit Diagram

Circuit Diagram DescriptionCircuit Diagram Fritzing Diagram

Here, we need to connect HC05 in the Bluetooth module’s 6 pins and DC Motor to M1 and M2

Explore Related Projects by STEMpedia

Level up your robot control skills by learning how to control a 2-Wheel Drive Robot with hand gestures using PictoBlox AI's Machine Learning extension. Get ready to channel your inner Jean Grey!
Learn how to make a two-wheel-drive robot and code on the go with PictoBlox's mobile app. Control your robot in real-time with your smartphone!
Learn how to make an automatic chocolate dispenser to delight Santa this Christmas. All components can be found in the evive Starter Kit. Let's begin!

Explore Community Projects