Week 07

Ideation

Tell us about your assignment's idea for this week. Why do you care about this idea? What inspired you? (Please include images or links to sources of inspiration)

What if Minions could express their feelings ?

The idea is to make minion send messeges using LCD that translate their unknown language.

A fictional idea was inspired from my minion, he's a friend and i always talk to him, so it i got a question into my mind, if minions need to express their feelings how can i help them to do so ?

Using an IR sensor, a buzzer and LCD with Arduino cold Minions can send a message.

It could be a nice way too for moms to leave warnings for their kids if they played with their toys and left their homeworks. Can be adaptable based on the msg on LCD as desired and can be fixed on any unusable home stuff.


Tool Chain

Which software/machines/materials did you use in the assignment? Why?

For building the CIRCUIT

1 . Software:

TinkerCAD, for circuit simulation.

Arduino IDE

2 . Tools:

For Circuit:

Breadboard

Jumper Wires (male-male)

Arduino Uno - R3

Piezo Buzzer

Piezo Buzzer

IR Sensor

For Enclosure:

It was required for the assignment enclosure "The smart device has an enclosure from cardboard and the non-electric parts are prototyped from cardboard or any scrap material" . A scrap is "any waste articles or discarded material". So, i decided to recycle unused wasted paper tissues wooden box for the enclosure

MINION

Design/Preparation Process

Explain the design and/or preparation process of your assignment. How did you use the tool or software to design and/or prepare your assignment before fabrication/implementation?

  1. Designing the circuit on TinkrCAD:

-The Device parts:

  • Breadboard.

  • Arduino Uno R3.

  • Infrared Sensor.

  • LCD 6x12 ic2

  • Piezo Buzzer.

  • Wires

-Connections:

  • Connect +ve buzzer terminal to pin 9 and -ve terminal to GND in Breadboard.

  • Connect the IR sensor to pin 2 and VCC and GND to breadboard.

  • Connect the LCD GND to breadboard, VCC to breadboard, SDA to A4 and SCL to A5.

  • Connect the 5v and ground pins of the Arduino to the breadboard.

Circuit Wiring Diagram

Schematic diagram

Circuit Simulation in TinkerCAD

Development/Implementation Process

Explain the development/implementation process of your assignment. How did you use the machine/tool to manufacture or implement the design of your assignment?

1.Building the circuit on breadboard:


Connecting the buzzer to Arduino.

Connecting the IR sensor.

The final circuit after connecting the LCD.

2.Open Arduino IDE and write the code and verify .

Adding ZIP library ".zip" format:

I downloaded the library file from the internet. After downloading it, save it to a known location on your computer. Then open Arduino IDE and go to Sketch > Include Library > Add.zip library.


Writing the code

Verifying the code to make sure there's no error.

-Code:

  • Include LCD library

  • Define sensing data inputs

  • Define that incoming data is the value that will come from the Arduino control.

  • Void Setup:

Define Input pin 2 (IR) Outputs Buzzer pin 9.

  • Void loop :

If the sensor data is high, the buzzer play tone and the lcd prints (HELLO Don't remove my hood, it's cold) .

Wait for 2 sec

Else the buzzer has no tone and the lcd print nothing.

Wait 1 sec.

Text Code

3.Connecting the Arduino and testing the device.

Connecting the Arduino to the Pc and uploading the code

Testing the device.

Device in enclosure.

Overcoming Challenges

What kinds of challenges or problems did you face while doing the assignment, tutorials, or exercises? How did you solve them? Did you ask for help from an instructor or peer? Please provide a link to the tutorial or article that you used to solve your problem (if any)

I had an error message while doing the assignment:

  • After finishing the wiring and the device worked , before fixing the device on its enclosure, an error message appeared:

"Arduino: 1.8.19 (Windows 10), Board: "Arduino Uno" Sketch uses 4172 bytes (12%) of program storage space. Maximum is 32256 bytes. Global variables use 290 bytes (14%) of dynamic memory, leaving 1758 bytes for local variables. Maximum is 2048 bytes. avrdude: ser_open(): can't open device "\\.\COM3": Access is denied. Problem uploading to board. See https://support.arduino.cc/hc/en-us/sections/360003198300 for suggestions. This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences."

  • I searched on the internet for how to fix it and these two links guided me Link01 Link02

  • The problem is adjusted after removing connections to the board pins and moving and reinsirting the USB cable.


Final Project

How can you use the skills and knowledge that you've acquired this week in your final project?

  • Using Arduino IDE and learning about programming.

wow!!

What is the coolest thing that you've learned this week? What is something that you will never forget from this week?

  • Making a dimmable single LED and multiple LEDs adjusted with potentiometer.