Arduino is an open-source platform for building electronics projects

Slides:



Advertisements
Similar presentations
Sweeping a Variable Resistor Wheatstone Bridge. Place the Parts 1.VDC 2.R, which you place 3 times. The numbering of the resistor increases sequentially.
Advertisements

Verification of Proper Installation of 9.1 Capture.
Lab7: Introduction to Arduino
An Introduction to the Interface
Getting Started with Cadence Compiled by Ryan Johnson April 24, 2002  Open Orcad Capture under Engineering Software  Under FILE, choose NEW, PROJECT.
PSPICE Tutorial Spring 2015
Getting your Arduino to Work: Microsoft Windows 1.Install Arduino programming environment 2.Install Arduino Uno driver 3.Make sure you can download a program.
PCB design with Design Entry CIS and Layout Plus
How to use the VHDL and schematic design entry tools.
EE 2303 Week 2 EE 2303 Week 2. Overview Kirchoff’s Current Law (KCL) Kirchoff’s Voltage Law (KVL) Introduction to P-spice.
Getting Started with Cadence Prepared by Ryan Johnson, 2002  Open Orcad Capture under Engineering Software  Under FILE, choose NEW, PROJECT  The following.
Use Quartus II Design Procedure. Use Quartus II Create Project.
Khaled A. Al-Utaibi  What is Arduino?  Arduino Boards  Arduino Shields  Arduino Uno Hardware.
Part 1 Using the ARM board And start working with C Tutorial 5 and 6
Abdülkadir ERYILDIRIM Turgut Ozal University. The Objectives:  Open and Save New Project File  Create a Circuit Schematic  Get Place, Place Parts i.e.
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
Web Technologies Website Development Trade & Industrial Education
Basic Pspice Instructions Stuart Tewksbury
High Speed Data Converter University
Website Development with Dreamweaver
First Steps with Eagle PCB by Keith Barrett - Pakuranga College, Auckland, New Zealand v.
Introduction to SPICE (Version16.2) Prof. Shahrokh Ahmadi ECE002.
Region 3 Playbook for Website Friday, October 14, 2011 Rose Buchanan Hardin Construction Company Region 3 Webmaster Greater Orlando Chapter 73.
To access our web services, go to……. Click on Customer Login.
PRACTICAL ELECTRONICS MASTERCLASS (Mr Bell) (COMPUTERS REQUIRED FOR 1 ST & 2 nd PERIOD) 1.
1 Place Your Photo AND Logo on Your Home Page Website Manager Tutorials.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  This training course describes Coverage, a utility that is used.
Creating a Zip File with a Password. 1.Right Click on the File or Folder you want to Zip. 2.Choose “Add to Zip”
Arduino “Getting Started” Instructor : Dr Matthew Miss Khin Yi Kyaw
STEP-1 START PROTEUS Click on START button and you will get “ Proteus 7 professional “  Install Lab Center Proteus in the PC.  After Successful installation.
Simple steps of using Google Earth to prepare Field Study report Objectives This simple guide uses Google Earth, the free version for students to organize.
Author: Loh Jianxiong Christopher Contributions: Chua Jie Sheng, Li Mengran, Peh Shao Hong, Oo Theong Siang, Tong Chun Kit, Tania Chattopadhyay.
Having fun with code, using Arduino in a middle school CS classroom
Lets Learn fundamentals !!
Making a 24hr Timer.
Arduino Uno – controlling LED strips
Introduction to LTspice IV
European Robotic LABoratory
Scrolling LCD using Arduino.
Chapter 2: The Visual Studio .NET Development Environment
Home automation using Arduino & ‘PIR sensor’
Downloading Arduino FOR WINDOWS.
Welcome to Arduino A Microcontroller.
Introduction Purpose Objectives Content Learning Time
How to access your work from home or another computer
Arduino Development for Beginners
T_C_N_L_G_ E D I D I E O Y O H I E B J I R E A A W.
Arduino and Design of Embedded Applications
Roller Coaster Design Project
Arduino 101 Credit(s):
How to complete a Referral Form via “Student” tab
Welcome to Digital Electronics using the Arduino Board
Banyule Coding Club: Learn Arduino Richard Counsel Malcolm Macleod Watsonia Library - June 2018 Reference materials here ->
File Upload.
Download and Installation of code::blocks
Software Setup & Validation
Using Eclipse.
Having fun with Arduino
Aeroponic Engineering and Vertical Farming
Design Collaboration.
Introduction to PSpice
Arduino Leonardo Setup
Downloading Arduino FOR MAC.
Arduino Uno circuit basics
Introduction to Arduino
Arduino Board.
Arduino म्हणजे काय?.
Intro to Arduino Part 2 The Breadboard
Introduction to Arduino IDE and Software
Buttons.
Presentation transcript:

How to create an AND logic circuit using the Arduino UNO microcontroller?

Arduino is an open-source platform for building electronics projects Arduino is an open-source platform for building electronics projects. It consists of an open source hardware called Arduino board and an Integrated Development Environment (IDE) software to write the MCU control code in a simplified version of C++, then compile and upload the code to the board.

You can simulate, debug and bring your design to life in a mixed circuit environment before uploading it to the board. TINA and TINACloud provide an extensive support for Arduino.

Now let's see the steps of creating an AND logic circuit using the Arduino UNO microcontroller. First download & install the latest Arduino program from the Arduino website: https://www.arduino.cc/en/Main/Software

Click on the Analysis menu on the Toolbar & Set the Arduino path in TINA as follows before using Arduino for the first time. Click on the Analysis menu on the Toolbar & Select Options...

Press the Advanced... Button in the Analysis Options Window

Next, click the "Select Arduino path" button in the Advanced Options Window

(in our case: C:\Program Files (x86)\Arduino) and select Arduino (in our case: C:\Program Files (x86)\Arduino) Press the OK button

Press OK again to close the Advanced Options Display window

Now click OK to close the Analysis Options Window

Click the File menu then select New Now lets create a new schematic diagram.

Select the “Insert” menu. Select Macro...

Select the Macrolib folder of TINA and double-click the Arduino folder

Open the Arduino Uno.TSM

The Macro will be attached to your cursor, you can place it wherever you wish on the workspace.

Let’s create the following circuit:

Select a “Voltage Source” from the “Basic” Toolbar and place it on the workspace.

Set its “Voltage” parameter to 5V.

Select and place a Ground from the “Basic” Toolbar.

Next, select and place 3 Resistors

Double-click the Resistors and set their “Resistance” values to 220, 10K and 10K.

Select and place an “LED” from the “Semiconductors” Toolbar.

Select and place 2 Switches from the “Switches” Toolbar.

Select and place 4 Jumpers from the “Special” Toolbar

and change their labels to 5V.

then select and place 5 more jumpers & change their labels to GND.

Finally connect the components.

Load the controlling program into the microcontroller Double-click on the Arduino UNO, then press the “Enter Macro” button. Load the controlling program into the microcontroller

The ATMEGA328P MCU used in Aurdino UNO appears

Click the 3 dots button in the “C-code” field

Next, click the “C Code” in the MCU Input File Selection window

Click the “Project” button in the MCU IDE window and select Compiler Options.

In the C Compiler Settings window make sure Arduino....is selected. then Click OK

Click the "Add existing file to Project" icon in the MCU IDE window.

Select the AND_gate.ino file, then click Open.

Next click on the "Make Project" button.

Close the MCU IDE window, press the "Save Project" button. When the "Compile succesful" message appears,

then press “OK” to close the MCU Input File Selection window as well.

Click OK to close the “Enter Macro”window.

Finally press the “TR” button to start the Interactive Simulation. Click the left (SPST3) and right (SPST4) switches to close both switches. Finally press the “TR” button to start the Interactive Simulation.

When both switches are closed, the LED lights up.

For more information visit our website at www.tina.com www.tinacloud.com Visit our YouTube channel at https://www.youtube.com/user/TinaDesignSuite