Changes

Line 1: Line 1: −
==Understanding Arduino Boards==
+
==[[Digital technologies/Arduino/Arduino- Beginner/Understanding Arduino Boards|Understanding Arduino Boards]]==
    
===What is a Micro-controller?===
 
===What is a Micro-controller?===
Line 46: Line 46:  
A digital signal is a signal that represents information as a series of discrete binary values. Digital signals are used in all modern electronic applications, including communication and network devices. When plotted in a voltage-time graph, the signal is discrete, and ranges from 0 V to VCC (usually 1.8V, 3.3 V, or 5V).
 
A digital signal is a signal that represents information as a series of discrete binary values. Digital signals are used in all modern electronic applications, including communication and network devices. When plotted in a voltage-time graph, the signal is discrete, and ranges from 0 V to VCC (usually 1.8V, 3.3 V, or 5V).
   −
=== Connecting to an Arduino ===
+
=== [[Digital technologies/Arduino/Arduino- Beginner/Connecting to an Arduino|Connecting to an Arduino]] ===
'''There are a few ways that you can ruin or burn your Arduino, refer to [[Five Easy ways to Kill an Arduino|this guide]] before starting for more information.'''  
+
 
 +
* '''There are a few ways that you can ruin or burn your Arduino, refer to''' [[Five Easy ways to Kill an Arduino|this guide]] '''before starting for more information.'''
 +
 
 +
* '''If you are using a lab computer in the Faculty of Engineering refer to''' [[Digital technologies/Arduino/How to connect to lab computers|this guide]] '''for additional steps to connect the Arduino.'''
    
Step 1: Download the Arduino IDE from https://www.arduino.cc/en/software. Make sure to choose the version that is appropriate for your operating system.  
 
Step 1: Download the Arduino IDE from https://www.arduino.cc/en/software. Make sure to choose the version that is appropriate for your operating system.  
Line 62: Line 65:     
==== Possible bugs: ====
 
==== Possible bugs: ====
If you're having trouble with your Arduino, refer to this guide: [[Arduino troubleshooting|'''Arduino troubleshooting''']]
+
If you're having trouble with your Arduino, refer to this guide: '''[[Digital technologies/Arduino/Arduino- Beginner/Arduino troubleshooting|Arduino troubleshooting]]'''
    
<youtube>64oEr1zTlOg</youtube>
 
<youtube>64oEr1zTlOg</youtube>
   −
== Arduino IDE and Tools ==
+
== [[Digital technologies/Arduino/Arduino- Beginner/Arduino IDE and Tools|Arduino IDE and Tools]] ==
    
===Arduino IDE:===
 
===Arduino IDE:===
The process of programming includes designing and executing code in an integrated development environment, otherwise known as an IDE. Many different IDEs exist and are adopted for different usages, and allow programs to edit, debug, and execute (or compile) their code. In order to program an Arduino (regardless of what kind of microcontroller is used), one must have the Arduino IDE downloaded (Refer to '''Connecting an Arduino''').
+
The process of programming includes designing and executing code in an integrated development environment, otherwise known as an IDE. Many different IDEs exist and are adopted for different usages, and allow programs to edit, debug, and execute (or compile) their code. In order to program an Arduino (regardless of what kind of microcontroller is used), one must have the Arduino IDE downloaded (Refer to '''[[Digital technologies/Arduino/Arduino- Beginner/Connecting to an Arduino|Connecting an Arduino]]''').
      Line 131: Line 134:  
<youtube>f1z-1Db2IAI</youtube>
 
<youtube>f1z-1Db2IAI</youtube>
   −
==Introduction to Programming Syntax and Conceptualization==
+
==[[Digital technologies/Arduino/Arduino- Beginner/Introduction to Programming Syntax and Conceptualization|Introduction to Programming Syntax and Conceptualization]]==
As mentioned previously, and IDE is used to compile and execute the code utilized in a microcontroller. There are many different IDEs that can be used for various types of microcontroller and for each purpose there are more suitable boards that can be used. In order to program an Arduino, one must have the Arduino IDE downloaded (Refer to '''Connecting an Arduino'''). The Arduino IDE provides users with a programming editor as well as a way to easily upload and compile programs onto the Arduino board. Programs in the Arduino IDE are called sketches, and are normally saved with the .ino extension. The language used to program the Arduino board is based on the C++ language, which is a general use Object Oriented language. Like any common language, in order to start coding, one must be aware of the grammar rules and vocabulary that is used. An important word that will be often encountered is a “function”, which is a block of code that takes in an input, processes the input, then returns an output.  
+
As mentioned previously, and IDE is used to compile and execute the code utilized in a microcontroller. There are many different IDEs that can be used for various types of microcontroller and for each purpose there are more suitable boards that can be used. In order to program an Arduino, one must have the Arduino IDE downloaded (Refer to '''[[Digital technologies/Arduino/Arduino- Beginner/Connecting to an Arduino|Connecting an Arduino]]'''). The Arduino IDE provides users with a programming editor as well as a way to easily upload and compile programs onto the Arduino board. Programs in the Arduino IDE are called sketches, and are normally saved with the .ino extension. The language used to program the Arduino board is based on the C++ language, which is a general use Object Oriented language. Like any common language, in order to start coding, one must be aware of the grammar rules and vocabulary that is used. An important word that will be often encountered is a “function”, which is a block of code that takes in an input, processes the input, then returns an output.  
    
=== Blink program: An Example ===
 
=== Blink program: An Example ===
Line 208: Line 211:  
<youtube>rSz7549WSjY</youtube>
 
<youtube>rSz7549WSjY</youtube>
   −
== Introduction to Variables and Conditional Statements ==
+
== [[Digital technologies/Arduino/Arduino- Beginner/Introduction to Variables and Conditional Statements|Introduction to Variables and Conditional Statements]] ==
    
===Variables===
 
===Variables===
Line 276: Line 279:  
<youtube>YktSocf2vSc</youtube>
 
<youtube>YktSocf2vSc</youtube>
   −
==Introduction to Electronics and Circuitry==
+
==[[Digital technologies/Arduino/Arduino- Beginner/Introduction to Electronics and Circuitry|Introduction to Electronics and Circuitry]]==
 
===Introduction to Circuits===
 
===Introduction to Circuits===
 
A circuit is a pathway where electricity can flow through a closed path from the negative (cathode) to the positive (anode) end of a power source. Elements in a circuit can either supply or expend energy. Energy is measured in Joules (J). Suppliers of energy are called sources; they provide a voltage, or charge electrons with energy. The number of electrons flowing in a circuit is called a current, measured in Amperes (A). A common voltage source is a chemical battery, which is an example of a direct-current power source (DC). It provides electrons with a fixed amount of energy (i.e. a fixed voltage) through a chemical reaction within a battery. Resistance is a value that describes how easy for electrons to move in a material when voltage is applied. Resistors are devices that can be added to the circuit to impede current flow.   
 
A circuit is a pathway where electricity can flow through a closed path from the negative (cathode) to the positive (anode) end of a power source. Elements in a circuit can either supply or expend energy. Energy is measured in Joules (J). Suppliers of energy are called sources; they provide a voltage, or charge electrons with energy. The number of electrons flowing in a circuit is called a current, measured in Amperes (A). A common voltage source is a chemical battery, which is an example of a direct-current power source (DC). It provides electrons with a fixed amount of energy (i.e. a fixed voltage) through a chemical reaction within a battery. Resistance is a value that describes how easy for electrons to move in a material when voltage is applied. Resistors are devices that can be added to the circuit to impede current flow.   
Line 304: Line 307:  
A breadboard is used to prototype a temporary circuit. The user can build, test and analyze a circuit without any permanent connections. It is made up of terminal strips and power rails. The terminal strips are used to hold any number of components in place and make electrical connections in a horizontal row. The power rails are the long vertical strips and are used to facilitate power (+) and ground (-) connections by placing them all in one column.
 
A breadboard is used to prototype a temporary circuit. The user can build, test and analyze a circuit without any permanent connections. It is made up of terminal strips and power rails. The terminal strips are used to hold any number of components in place and make electrical connections in a horizontal row. The power rails are the long vertical strips and are used to facilitate power (+) and ground (-) connections by placing them all in one column.
 
[[File:BB-2.png|center|thumb|682x682px|Connections inside a breadboard (Source: https://dreyfuzz.github.io/hackinghardware/)]]
 
[[File:BB-2.png|center|thumb|682x682px|Connections inside a breadboard (Source: https://dreyfuzz.github.io/hackinghardware/)]]
 +
In the [[Breadboard|breadboard page]] you will find information on various technics to using breadboards or why it's even called a breadboard.
 +
 +
 +
 
==== LED ====
 
==== LED ====
 
A Light Emitting Diode, or LED, is a semiconductor device that lights up when an electric current passes through it. They come in many different colours and shapes, and are very versatile. LEDs are diodes, which means that current flows through the element in only one way, from the positive to the negative end. On an LED, the cathode end can be identified by either a flat edge on the body, or as the shorter leg. As such, the anode is the other end (the longer leg on the LED).
 
A Light Emitting Diode, or LED, is a semiconductor device that lights up when an electric current passes through it. They come in many different colours and shapes, and are very versatile. LEDs are diodes, which means that current flows through the element in only one way, from the positive to the negative end. On an LED, the cathode end can be identified by either a flat edge on the body, or as the shorter leg. As such, the anode is the other end (the longer leg on the LED).
Line 319: Line 326:  
[[File:Bands.png|none|thumb|453x453px|How to read a resistor. (Source: https://www.arrow.com/en/research-and-events/articles/resistor-color-code)]]
 
[[File:Bands.png|none|thumb|453x453px|How to read a resistor. (Source: https://www.arrow.com/en/research-and-events/articles/resistor-color-code)]]
   −
==Introduction to Sensors==
+
==[[Digital technologies/Arduino/Arduino- Beginner/Introduction to Sensors|Introduction to Sensors]]==
 
Sensors enable the microcontroller to sense the surrounding environment. Many sensors exist on the market, including but not limited to buttons, temperature sensors, pressure sensors, photoresistors, humidity and moisture, and many more. The output of the sensor (a voltage) changes based on the measured environment properties, and sends that signal over to the Arduino board.                         
 
Sensors enable the microcontroller to sense the surrounding environment. Many sensors exist on the market, including but not limited to buttons, temperature sensors, pressure sensors, photoresistors, humidity and moisture, and many more. The output of the sensor (a voltage) changes based on the measured environment properties, and sends that signal over to the Arduino board.                         
   Line 326: Line 333:  
[[File:Sensors1.png|center|frame|(Source: https://www.electronicshub.org/different-types-sensors/)]]             
 
[[File:Sensors1.png|center|frame|(Source: https://www.electronicshub.org/different-types-sensors/)]]             
   −
== Online Simulators ==
+
== [[Digital technologies/Arduino/Arduino- Beginner/Online Simulators|Online Simulators]] ==
 
Tinkercad is an online platform that enables users to virtually model 3D designs and circuits. Its user friendly interface and functionality encourages students and hobbyists to investigate the functionality of the Arduino boards virtually, as well as start building their designs. To sign up, create an account on: https://www.tinkercad.com, or alternatively, login with google, facebook etc…  
 
Tinkercad is an online platform that enables users to virtually model 3D designs and circuits. Its user friendly interface and functionality encourages students and hobbyists to investigate the functionality of the Arduino boards virtually, as well as start building their designs. To sign up, create an account on: https://www.tinkercad.com, or alternatively, login with google, facebook etc…  
  
MakerRepo Staff
199

edits