top of page
Search

Arduino Toolkit For Virtual Breadboard

  • jenellchenot8233hz
  • Oct 8, 2021
  • 2 min read






































For this project, we will assemble and use an Arduino toolkit to build a virtual breadboard. We will create a temperature sensor output device and read temperature with an analog input. Then we will upload the application to the Arduino. First, we have to order the part. Here is the list of components: 1. Arduino Board 2. Breadboard - breadboard can make connection between breadboard and Arduino easier 3. USB cable - to upload the application from computer to Arduino board 4. Temperature sensor - temperature sensor will output analog's value depends on temperature value 5. Resistor - resistor for error protection that occurred on temperature sensor circuit 6. LED - a LED that will show that temperature is out of range or out of batteryWe also need a Computer with Arduino IDE installed and a USB cable to upload our code from computer to Arduino board. For Temperature sensor we will use a 0.1 µF ceramic capacitor from Digikey, this part is called PT0603C3G001K or 100kΩ resistors from Digikey, 10kΩ resistors from Digikey and 1N4001 diode from Digikey. Then we have to connect the temperature sensor to Arduino board. First we have to solder the temperature sensor pin. Then we have to connect it with a resistor which don't need a power supply and then connect it with another resistor through a 220Ω resistor for error protection. We also have to place a LED that will be indicate that temperature is out of range or battery is out of charge. Finally, we have to connect the last resistor with the power supply. The Arduino IDE software is an open source software for programming microcontroller boards based on the Arduino platform. To create a virtual breadboard, we need to download and install Arduino IDE to our computer. After installing Arduino IDE, we have to create a new sketch to upload the code. Then we have to open "Sketch", click "Include/Exclude" button and select "Arduino Uno". After that, we have to click "Select" button which will add a new board named "Arduino Uno". So our virtual board will be called "Arduino Uno_Virtual_Breadboard". Here are our virtual breadboard interface which will allow us to connect programs to Arduino. We can build applications to light up LED based on input of temperature. Temperature sensor will be connected with Arduino board by using the code. The code for this example is very simple because we do not use library or any other structure for temperature sensor. It only consists of 2 functions. One is getTemperature() which reads the temperature value from temperature sensor and stores it in memory variable by using analogRead() function. The second function is get°C() which reads the value of °C from memory variable by using getTemperature(). Next step is coding Arduino IDE, setup(), loop(), getTemp(), putTemp() and LED_on(). eccc085e13

 
 
 

Recent Posts

See All

Comentarios


© 2023 by Success Consulting. Proudly created with Wix.com.

bottom of page