Robot Antenna

INTRODUCTION

I have this paper robot and I want it to look fancy by adding an LED on his head. Hihi. So I decided to make this antenna and adding a sound to it using Raspberry Pi.

VIDEO

This is the video for this project.

HARDWARE PREPARATION

This tutorial use :

  1. Raspberry Pi 3B+
  2. Speaker
  3. Red LED
  4. 220 ohm Resistor
  5. Female to Female Jumper Wire
  6. Micro B USB

You can make the hardware connection based on the diagram and table below.

Connection
SpeakerRaspberry Pi : Audio Jack
Red LED (+)Raspberry Pi : GPIO 17
Red LED (-)Raspberry Pi: GND with Resistor

SOFTWARE

This project is using Scratch 2.0 with GPIO support.

Figure 1 : Scratch 2.0

SAMPLE CODE

This is the sample code used for this tutorial. Try it!

Figure 4 : The Sample Code

THE IRON MAN

This is the image for the Iron Man paper craft. Kindly download it here.

REFERENCE :

  1. I took an example from this page. You can always check this page as it provides many tutorial starting from beginner to advance.

Thank you

Thank you for reading this tutorial and we hope it helps your project development. If you have any technical inquiry, please post at Cytron Technical Forum.

Leave a Comment

Your email address will not be published.

Share this Tutorial

Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest
Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest

Latest Tutorial

Wire Buzz
Send Sensor’s Data to Adafruit IO Using ESP32
Robotic Arm
Google Assistant Controlled Raspberry Pi GPIO With IFTTT and Particle.io
Program Raspberry Pi With Particle IoT Platform
Scroll to Top