unspecified

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.

 

Components

  • 4Duino-24
  • Acrylic Cut Chasis
  • Servo Motor
  • 3 Ultrasonic sensors
  • 3 uSD Cards
  • Connecting Wires
  • 2 Power Bank or 5 Volts Baterry
  • Micro USB Cable

Implementation

Step 1: Build

Build the circuit as shown in the diagram.

Arlo4Duino

Step 2: Program

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.
arlo

Step 3: Compile

Click on the “Compile” button.

compile 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.

comms

 

Step 5: Compile and Upload

Go back to “Home” tab. This time, click on the “Comp’nLoad” button.

comp n'load

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.

 

Step 6: Uploading Arlo’s Eyes

Open these files with Workshop IDE:

eye

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.

^187A2EF77977605CA9357093AD890DABEE66A94BED3DCEB7F1^pimgpsh_fullsize_distr