Introduction: Crimson Clock

We all know waking up at 7 am for work or school is not the easiest thing in the world. Don't you wish you could have a robot wake you up by driving around the room forcing you to get up? This instructable will show you exactly how to do all of that. Using an alarm clock (or even your phone), a node MCU, 3D printed and laser cut parts, and a couple more materials, you can build your own Crimson Clock! When you are finished all you have to do is set your phone or you can even keep an alarm clock in the chassis and when the bot hears the sound you will be all set! Let's get onto the steps.

Step 1: Step 1: BoM and Building the CrimsonBot

First, you will need build the CrimsonBot for which you will put your build chassis on. For this you need a 3D printer and a laser cutter. This is the list of materials that you will need to build the CrimsonBot.

Motor Board x1

Node MCU x1

Wheels/Motors x1

Battery Holder x1

Male/Male Wires x8

Spacers x5

Screws x10

Rotating wheel x1

*Additional materials that you need/need access to, to make the CrimsonBot*

Screwdriver kit x1

Soldering kit x1

For the Crimson Clock you will need

Female/Female Wires x3

Sound Sensor x1

IF YOU DO NOT WANT TO USE YOUR PHONE THIS ALARM CLOCK WOULD WORK PERFECTLY

Alarm Clock x1

First, you will need to cut out the sheet of acrylic which is labeled CrimsonBot Chassis. Once you have the acrylic board then you can glue or use tape to put the Motor Board on, the Motor Board has all the connections for power in/out and, pins. Now take one of the M/M wires you have and solder the wire into the back of the Motor Board labeled GND and then take another wire and solder it into the space right next to it labeled UIN. Now that you have those soldered take both of them and solder them into the battery holder.

Make sure the UIN is soldered to the positive side and GND is soldered to the negative.

*At any time if you are not sure you are doing it correctly you can click here to make sure you are doing everything correctly*

We then connect the wheels onto the motors and you can screw the motor into the acrylic on the sides of the Bot with the screws and spacers you have. Then you are just going to want to repeat the steps taken to solder the battery holder except now you are going to do it with the motors, again if you are unsure you are doing something wrong you can take a look at the pictures.

Making sure all your connections are done properly we can now go to the Crimson Clock part of this model.

Step 2: Step 2: Building the Crimson Clock

Once you have the sound sensors you can screw the sound sensor into one of the holes in the acrylic board. When that is done you can put the female wires onto the three prongs on the sound sensor.

Now that you have the wires on the prongs on the sound sensor make sure that you match the correct input and outputs to the motor control board or else you might fry the sound sensor.

OUT -- D0

GND -- G

VCC -- 3v3

Again you check here to see if your connections are correct.

Now we can build the Chassis and Legs

Step 3: Creating the Chassis and the Legs

Step 1. Select files

Step 2. Put in (at least 2 GB SD card) to your computer

**MAC OS WORKS BEST**

Step 3. Put files onto SD card and put the SD card into your Ultimaker

Step 4. Select "print" then scroll to where you see the Chassis and Legs and print them

*Repeat step 4 until all of the legs are printed*

Now that you have the Chassis (1) and the Legs (4) in hand put the legs into your holes on the acrylic board and superglue them onto your chassis

Step 4: Putting the Code Onto the Node MCU

Before we begin, make sure you have your Node MCU, Visual Studio Code, AMPY, WebREPL and a computer that can access wifi. First, physically attach the MicroUSB to the NodeMCU, open the main.py file, and type the following into the terminal

IF YOU USE MAC OS

ampy -p /dev/tty.SLAB_USBtoUART put main.py **This uploads main.py to the NodeMCU**

ampy -p /dev/tty.SLAB_USBtoUART ls **list the files already loaded on the NodeMCU**

ampy -p /dev/tty.SLAB_USBtoUART run main.py **run the file main.py (will show errors in terminal)**


IF YOU USE WINDOWS OS

ampy -p COM3 put main.py **This uploads main.py to the NodeMCU**

ampy -p COM3 ls **This lists the files already loaded on the NodeMCU**

ampy -p COM3 run main.py **This runs the file main.py (will show errors in terminal)**

(you can rename the main.py file to something different just make sure you change everything that you have named main.py to the renamed file that you created)

You can now put the Node MCU onto the do this by lining up the small wires on the bottom with each other. DO NOT PUT IT BACKWARDS OR IT WILL FRY! (The implant for the MicroUSB should be facing the blue bricks)

Attachments

Step 5: Starting the Crimson Clock

Now that everything is put together you can now start the bot. Put the Node MCU on the board, put ur built chassis in the fitted holes, and get ready to wake up to a robot!