What is it?
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++.
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.
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.
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.