Arduino Board and Tinkercad Introduction
Arduino Board and Tinkercad Introduction
By
Dr. Minakshmi Shaw
Assistant Professor
School of CS & AI
Arduino Board Description
ARDUINO
Arduino is an open-source electronics platform based on easy-to-use hardware
and software.
Several Boards
Software
ICSP
Loader
AT Mega 328
Microcontroller
AC to DC I2C Pins
Adapter A5- SCA
Analog Input A4-SDA
Pin Descriptions
Pin Category Pin Name Details
Power Vin, Vin: Input voltage to Arduino when using an external power
Pins 3.3V, source.
5V, 5V: Power source, 3.3V: Power source
GND GND: ground pins.
Other functions must be created outside the brackets of these two functions.
Arduino Basic functions
Digital I/O Functions
pinMode()
digitalRead()
digitalWrite()
Analog I/O Functions
analogRead()
analogWrite()
Timer Functions
delay()
delayMicroseconds()
Serial I/O Function
Serial.begin( )
Serial.print( )
Serial.read()
Digital I/O functions
pinMode( ): Configures the specified pin to behave either as an input or an output.
0 or 1
Analog I/O functions
analogRead( ): Reads the value from the specified analog pin.
Returns: Nothing
Timer functions
Delay( ): Pauses the program for the amount of time (in milliseconds) specified as
parameter.
Syntax: delay(ms)
Parameters:
Returns: Nothing
delayMicroseconds( ):
Pauses the program for the amount of time (in microseconds) specified as parameter.
Syntax: delayMicroseconds(µs)
Parameters:
Returns: Nothing
Serial I/O functions
Serial.begin( ): Sets the data rate in bits per second (baud) for serial data
transmission.
Syntax: Serial.begin(speed)
Parameters:
Returns: Nothing
Serial.print( ): Prints data to the serial port as human-readable ASCII text.
Syntax: Serial.print(val)
Parameters:
Returns: Nothing
Serial.println( ): Prints data to the serial port followed by a carriage return.
Syntax: Serial.println(val)
Parameters:
val: the value to print - any data type
Returns: Nothing
Working with Arduino Uno
Connect Arduino Uno to PC with USB cable
Select Tools Board Arduino/Genuino Uno
• In this article, we’ll be showing you how to program a basic Arduino in Tinkercad, but first,
let’s take a closer look at the new capabilities Tinkercad Circuits offers.
Use Any Type of Web Browser for Create a New
Account or Login Account in TINKER CAD
Search TINKER CAD or https://www.tinkerc
ad.com/ in Web Browser
Click and Enter Into TINKER
CAD
CREATE A NEW ACCOUNT IN TINKER
CAD
Select Student Accounts
Sign in Gmail Id
AFTER CREATING A NEW ACCOUNT
CREATE ANEW CIRCUIT IN
TINKERCAD
Bread board Connection
SENSORS
Sensor
A sensor is a device that measures a physical quantity and converts it into a
electrical signal
Temperature sensors
Displacement, position, motion and velocity sensors
Fluid sensors, liquid flow, liquid level
Light sensors etc.,
Temperature Sensors Water Sensors
Mechanical Actuators
Gears Belt drives Chain Drives Bearings
Electrical Actuation systems Relays
Switches
• Push button switches
• Switches
Solid-state switches,
Diodes, transistors, thyristors Solenoids
Drive systems
DC., AC., or stepper motors
Microprocessor/Microcontrollers
ARITHMETIC LOGIC
UNIT(ALU)
REGISTE
CONROL UNIT
RS
MICROPROCESSOR
MICROCONTROLLER