Arlo is a module which features two uLCD-220RD as eyes which can be control via serial connection. A 4Duino-24 is used as a mouth to make it like a face. The 4Duino-24 acts as a host which receives data from the ulrasonic sensor and sends command to the servo motor attached with Arlo. This project sense any object within the range of the ultrasonic sensor and faces the detected part. Arlo will then winks the eyes and then open and close the mouth. Then wait until another ultrasonic sensor detects an object.
- Acrylic Cut Chasis
- Servo Motor
- 3 Ultrasonic sensors
- 3 uSD Cards
- Connecting Wires
- 2 Power Bank or 5 Volts Baterry
- Micro USB Cable
Build the circuit as shown in the diagram.
Workshop 4 – 4Duino Extended Graphics environment is used to program this project.
Workshop requires that the Arduino IDE installed as it calls the Arduino IDE for compiling the Arduino sketches. The Arduino IDE however is not required to be opened or modified to program the 4Duino.
Download the project file here.
Open this file using Workshop 4.
Step 3: Compile
Click on the “Compile” button.
Note: This step could be skipped. However, compiling is essential for debugging purposes.
Step 4: Comms Port
Connect the 4Duino to the PC using µUSB cable.
Then navigate to the Comms tab and select the Comms port to which the 4Duino connected.
Go back to “Home” tab. This time, click on the “Comp’nLoad” button.
Workshop IDE will prompt you to select a drive to load the image. Choose a uSD Card drive and click OK.
Insert the uSD Card to your 4Duino-24 to finish the loading of the project.
After uploading, 4Duino will start running the code.
Open these files with Workshop IDE:
See that these files use the Visi Environment.
Compile the project by clicking the Compile button.
After compiling, you can now upload the program to the uLCD-220RD. Make sure that your display is connected to the right port. Go to Comms pane and select the correct communication port.
Next, you have to Compile and Load the program to uLCD-220RD. Workshop IDE will prompt you to select a drive to load the image. Choose a uSD Card drive and click OK.
Lastly, insert the uSD Card to uLCD-220RD.
Do the same thing on the other uLCD-220RD.