Categories
Research

Component review

Continuation

UK Power Networks - Circuit Components
Components

In my previous blog, I detailed how I reviewed my notes in order to ease the process of building my project. This is a continuation with a review of the basic components of a circuit.

Key concept

  • Understand what a resistor, LED, capacitor and transistor do

Components

Resistor Stock Photo - Download Image Now - iStock
Resistor

Resistor: A resistor is a passive electrical component that implements electrical resistance in a circuit. In audio they are used to adjust signal levels. There are many different types of resistors with different values and they determine how much resistance there is within a circuit.

Different resistors can be identified through the colour of their bands.

Resistor Colour Code
Resistor colour band chart

Transistors: A semiconductor device used to amplify or switch electrical signals and electrical power. In simple terms it can turn a current on or off. The two most common transistors are BJT and MOSFET.
Bipolar Junction Transistor: Has 3 legs and includes 3 parts. Base, collector and emitter. If you turn it on the current will be able to flow from the collector to the emitter. If its turned off then it does not work.

Application of bipolar junction transistor (BJT) - Polytechnic Hub
BJT Transistor


MOSFET: It has 3 pins. Gate, source and drain. One important difference between the two is that in the BJT transistor, the current from base to emitter decides how much current can flow from collector to emitter. In MOSFET transistor, the voltage between gate and source decides how much current can flow from drain to source.

Nettigo: N-channel MOSFET transistor, 60V, 16A
MOSFET Transistor


Why a transistor: A great advantage the transistor provides is that you can use a small voltage/current to control a much larger voltage/current.
Furthermore in audio a transistor allows for the existence of an amplifier on and off state.

Capacitor: Much like the name states, a capacitor stores electrical energy in a circuit. It is a passive electrical component with two terminals allowing for connections to both the positive and negative side. Capacitor work like filters. In audio it is quite literal that they are used in LPF/HPF. A clock is an example of an everyday object that uses a transistor.

How Does A Capacitor Work? - Build Electronic Circuits
Capacitor

LED: An LED or light emitting diode is a semiconductor light source that emits light when current flows through it. Its function is to light up if a current flows through it to show that a current is flowing. It is very common and can be seen in many everyday things such as a laptop.

What Is An LED (Light-Emitting Diode)? - Build Electronic Circuits
LED

Practice makes perfect

Now that the basic components have been reviewed, the best way to understand them is to get a hands on experience with them. For my case, before I begin building my circuit I will build basic circuits with the help of circuit diagrams in order to make the whole project easier to understand.

Circuit Diagram | MyDraw
Circuit Diagram

Categories
Research

Into the World of Arduino

What is it?

Arduino Course for Beginners - Open-Source Electronics Platform - YouTube
Arduino course for beginners – https://www.youtube.com/watch?v=zJ-LqeX_fLU

Arduino is the centre of my project and without it, my project would not be able complete its function (play musical notes). Arduino is a software, IDE specifically, and it allows for computer programmers or coders to write program/code in order to perform functions with a breadboard. Arduino can be downloaded so that it may be used offline or the use of a web editor is also available if you do not want to download it. Arduino code is written in C++.

My Experience

Never used Arduino before however once seeing that it was an IDE similar to Visual Code Studio, my confidence increased as I had experience in coding with Python before. Although my project and python practice may be different in terms of how everything is coded, the fundamentals of the IDE is the same. So far Arduino for me has been quite smooth yet the potential of Arduino is near limitless as I can see how far advanced users may use Arduino. An Arduino board is connected to a laptop/desktop and the code that is written in the IDE, has its functions carried out on the board. Overall it was fun and exciting prospect to getting hands on with Arduino. However safety and care is important. Make sure to avoid eating and drinking around the Arduino board as liquid and crumbs do not go well with the board!!! I had to write this here to remind myself :D.

Everything You Need to Know About Arduino Code
Arduino code – https://www.circuito.io/blog/arduino-code/

Format of Code

When writing code for Arduino, Arduino uses a “if-then” structure. All this means in laymen terms is, if a certain condition is met then the board will perform a task such as turning on a sensor. It can be divided into 4 different parts. The setup involves writing code that performs things that only need to be done once. The inputs are then written. The inputs will be used as conditions. The data is then manipulated to perform a function/calculations. The output is the “then” part of “if-then”. If everything is coded correctly then the board should perform said task.

Arduino Starter Kit Multi-language
Arduino Starter Kit – https://store.arduino.cc/products/arduino-starter-kit-multi-language?gclid=CjwKCAjw2vOLBhBPEiwAjEeK9pWVXBOwV9a7QHAesEZnQrZiHiIqZrnVLu8YGwSmLc369su_6n6CtxoC2Y8QAvD_BwE

Arduino’s Versatility

Overall Arduino’s ability to be versatile is very impressive. Initially I underestimated the power of the board and I am left pleasantly surprised with my findings after hours of research. One of my concerns had been if it was too basic however it was simple yet advanced enough for users to build something complex. I was left in awe with how many options people can have with a board.

Smiley face with thumbs up stock illustration. Illustration of drawing -  14491322
ARDUINO IS GREAT