Untie Your Shoes - Rube Goldberg Machine With CPX

by bar2798 in Circuits > Arduino

368 Views, 11 Favorites, 0 Comments

Untie Your Shoes - Rube Goldberg Machine With CPX

Untie Your Shoes - Rube Goldberg Machine With CPX

Our final project presents an "easy" solution to the everyday problem of being unable to untie one's shoes upon arrival at home. Fortunately, our application serves as a savior in this predicament.

To use it, simply launch the app on your mobile device, connect the clips to your shoelace, and press the "Untie My Shoes" button.

The CPX will then be activated with a distinctive sound and a servo movement, initiating a chain reaction of events in the style of a Rube Goldberg machine.

During the sequence, a calendar event will be generated on Google Calendar, and email notifications will be dispatched to your friends to notify them of your progress in untying your shoes.

Furthermore, one of the events entails the dispensing of a treat for the dog, a phone notification will be sent to your family members to inform them if your dog has consumed his treat.

Once the events have been completed, your shoelaces will be untied, relieving your feet from the restriction of their footwear."

**No animals were harmed

**Attached below this section is the workflow for the project run.

Supplies

first connect.jpg
speakers.jpg
IMG_7377.JPG
IMG_7356.JPG
blynk-iot-platform.png
MAKE-ISRAELCRM.png
download.png
Arduino_Logo.svg.png

General:

  • Make.com Account
  • Blynk.cloud Account
  • Arduino Software
  • Integromat Mobile App

Hardware:

  • CPX (Adafruit Playground Express)
  • ESP8266 (Wi-Fi microchip)
  • Power supply
  • 3 colored wires
  • Micro Servo 9g - SG90
  • Spray straw

Possible:

  • Speaker + 2 wires

Rube Goldberg machine:

  • Domino pieces
  • Various boxes
  • Duct tape
  • Aluminum Foil
  • Aluminum Foil ball (or other small ball)
  • Tennis ball
  • Scissors
  • Dog Treats
  • Rope
  • A dog (or a very well trained cat)

Connect the CPX to ESP8266

cpx connect to wifi.jpg

The ESP8266 is an low-cost microchip that provides Wi-Fi connectivity and includes built-in TCP/IP networking software. By connecting the CPX as shown in the picture above, the CPX can now connect to Wi-Fi. This capability allows for wireless communication and the exchange of data between devices.

Connect the Servo

connecting to cpx.jpg
connecting to servo.jpg
connecting to cpxx.jpg

1. Attach the spray straw to extend the servo leverage

2. Connect the servo to the CPX

One side:

Connect 3 wires to the servo :

  • Brown to black
  • Red to red
  • Orange to Yellow

Second side:

Connect the CPX to a power supply and connect the 3 wires from the servo

  • Black to GND pin
  • Red to 3.3V pin
  • Yellow to A2 pin

Connect Your Speaker

connect speaker to cpx.jpg
connecting the speaker.jpg

Connect your speaker to enhance the clarity of the output sound

Connect 2 wires:

  • Aux SLEEVE to A0
  • Aux RING to GND

Write the Code and Connect to Blynk App

6e69b44b-5c95-4a5e-abf8-eca428b36ced.jpg
hgf.jpg
pins.jpg
set new project.jpg
set pin13.jpg
v5.jpg
v6.jpg
device.jpg
first integromat.jpg
Untitled6.png
Untitled5.png
Untitled4.png
Untitled3.png

In the following code, several functionalities were incorporated:

  • The servo movement was activated through the Blynk application
  • The CPX 10 NeoPixels exhibit fading green light until a button is pressed in the app
  • The CPX emitted sound based on the Blynk app's commands
  • The Blynk app was connected to Make (formerly known as Integromat) functions using webhooks.

To initiate the process of untying one's shoes, simply press the button within the app. Upon activation, a command is transmitted to the CPX:

  • The CPX, who is connected to JBL speaker, outputs the sound "READY! 3... 2... 1... START!"
  • The servo commences movement, initiating the sequential operations of the Rube Goldberg machine
  • The integration between the application and the system allows for the creation of a calendar event on Google Calendar, which records the current time at which you untied your shoes
  • A email notification is dispatched to inform your associates that you are in the process of untying your shoes." "”I am going to untie my shoelaces!!! HURRAY!!!”

Add Additional CPX to the Chain of Events

high value.jpg
low value.jpg
webhock.jpg
luka run notificcatiion.jpg
middle - integromat.jpg
Untitled2.png
Untitled1.png

Subsequently, a subsequent event in the sequence involves the dispensing of a treat for Luka the dog. Upon completion of the procedure, a treat will be deposited into Luka's bed. As Luka retrieves the treat, he will obscure the Light sensor of the CPX, triggering the Make hock to send a phone notification to inform the family members of his activity of eating.

Creating the Rube Goldberg Machine

ac37d7ea-af77-492c-874f-04295458cc9d.jpg
IMG_7365.JPG
IMG_7364.JPG
IMG_7298.JPG
IMG_7315.JPG
IMG_7285.JPG
IMG_7356.JPG

We wanted to use physics and gravity rules in order to help us reach our final goal - to untie the shoelace!

First, we placed the servo on top of the stairs. Then, after it is initialized, it will knock the tennis ball down.

Then we used the boxes, duct tape, aluminum foil and domino pieces and placed them in positions such that in the end - the dog's treat will fall right into the dog's bed -> so that the final chain reaction will take place. We encourage you to try and find out how to use your current space to your advantage in creating the perfect Rube Goldberg machine for you!

Once the treat falls into the dog bed - Luca, the dog, do as all dog does and run towards it to eat it. What Luca doesn't know is that when he moves - he pulls the rope which we tied one side of it to him - and the other side to our shoelace - and then he opens the shoelace for us!

Post Untying

WhatsApp Image 2023-02-08 at 17.58.35.jpeg
WhatsApp Image 2023-02-08 at 17.46.12.jpeg
Untitled22.png

After the machine is ending and the shoelace is untied - we send a notification that the dog has eaten, and we also get to notified people (whoever we wish) via email that we were successful and untied our shoes!

Furthermore, of course we added the shoelace untying to our google calendar - it is a very important event!


We hope your friends will be as happy to hear that as ours are!