Found 203 Articles for Arduino

Overview of Arduino IoT Cloud

Yash Sanghvi
Updated on 30-Jul-2021 15:02:01

612 Views

Arduino IoT Cloud is a service that tries to make it seamless to convert your Arduino devices into IoT devices.Any IoT device typically gathers data from sensors, does some processing onboard, and transmits either the raw or the processed data to a server. Arduino IoT Cloud allows you to generate a digital twin of your device (called as a thing), add variables and settings to that digital twin, and then generates the Arduino Sketch automatically which you can upload to the device. Thus, you essentially don’t need to write the Arduino Sketch yourself.What’s more, it also provides dashboards and widgets ... Read More

WiFi with Arduino – Connect to a Network

Yash Sanghvi
Updated on 30-Jul-2021 15:00:23

2K+ Views

In order to use WiFi with Arduino Uno, or any other board, you may need to get a WiFi shield(unless you are using a board with built-in WiFi capabilities, like Arduino Uno WiFi). The WiFi shield, like any other shield, stacks up on your board, and provides access to the pins of Arduino on the shield itself.You can read more about the WiFi shield here −https://www.arduino.cc/en/pmwiki.php?n=Main/ArduinoWiFiShieldhttps://www.arduino.cc/en/Guide/ArduinoWiFiShieldAssuming you have a WiFi shield with you, you will need the WiFi library to get started. You don’t need to download it separately; it will be built-in in your IDE. If you don’t get ... Read More

WiFi with Arduino – Scan Networks

Yash Sanghvi
Updated on 30-Jul-2021 14:56:09

852 Views

In order to use WiFi with Arduino Uno, or any other board, you may need to get a WiFi shield(unless you are using a board with built-in WiFi capabilities, like Arduino Uno WiFi). The WiFi shield, like any other shield, stacks up on your board, and provides access to the pins of Arduino on the shield itself.You can read more about the WiFi shield here −https://www.arduino.cc/en/pmwiki.php?n=Main/ArduinoWiFiShieldhttps://www.arduino.cc/en/Guide/ArduinoWiFiShieldAssuming you have a WiFi shield with you, you will need the WiFi library to get started. You don’t need to download it separately; it will be built-in in your IDE. If you don’t get ... Read More

I2C/Wire in Arduino Uno

Yash Sanghvi
Updated on 30-Jul-2021 16:44:08

1K+ Views

I2C stands for Inter-Integrated Circuit. It is a popular communication protocol used by several peripherals like accelerometer and gyroscopes, OLED Displays, etc. Arduino refers to I2C as Wire, which is a shorter form of the term Atmel uses (Two Wire Interface or TWI). Here are some salient features of I2C −It uses only two lines: One for data (SDA) and one for clock (SCL). I2C is synchronous because it uses a clock.The slaves are not selected via a slave select line, but via address bits.The first byte sent by the master contains a seven-bit address and a read/ write bit ... Read More

SPI in Arduino Uno

Yash Sanghvi
Updated on 30-Jul-2021 16:42:44

3K+ Views

SPI stands for Serial Peripheral Interface. It is a common protocol used for communication between microcontrollers and peripherals. SD Card is a popular peripheral that uses SPI for communication. Here are some salient features of SPI −It uses four lines −Clock line (SCK), Master Input, Slave Output(MISO) for master to receive and slave to transmit, Master Output, Slave Input(MOSI) for master to transmit and slave to receiveSlave Select(SS) for selecting one among multiple slave with which communication is desired.Note that master is defined as the micro-controller which sends the clock signalIt operates in full duplex mode, meaning the master and ... Read More

Software Serial in Arduino

Yash Sanghvi
Updated on 30-Jul-2021 16:06:40

7K+ Views

The SoftwareSerial library was developed to ensure that any pins of Arduino can exchange Serial data with other peripherals, like GNSS receivers, using software. Arduino Uno, for example, has only one HardwareSerial port (pins 0 and 1), which is connected to the USB via the USB to UART conversion chip. Thus, if you have any other peripheral that requires serial communication, in the absence of SoftwareSerial, you’d have to do away with USB Serial communication.SoftwareSerial has some limitations −If you are using multiple SoftwareSerial ports, only one can receive data at a timeSpeeds can be up to a maximum of ... Read More

Introduction to Arduino Online Editor

Yash Sanghvi
Updated on 30-Jul-2021 16:40:10

941 Views

Don’t have Arduino IDE installed on your machine, but still want to write Arduino code? Alternatively, don’t have access to your machine, but still want to program boards with your code? Come in Arduino Online Editor. Head on to https://create.arduino.cc/editorYou will be asked to Sign Up if you are visiting this page for the first time. Complete the Sign Up formalities, and login.You will be greeted with a screen like this one −As you can see, this is very similar to the offline Arduino IDE. You can select the board and port (more on the port later), you can write ... Read More

Specifications of the microcontroller used in Arduino Uno

Yash Sanghvi
Updated on 30-Jul-2021 14:35:57

533 Views

Arduino Uno uses ATmega328P as the microcontroller. Its specifications are given below −Operating Voltage2.7-5.5VTemperature Range( C)-40 to 85Number of Pins32Programmable I/O pins23Number of PWM Pins6ADC8 channel, 10-bit resolutionFlash Memory32 kBSRAM2 kBEEPROM1 kBFlash Read/Write Cycles10000EEPROM Read/Write Cycles100000UART1SPI2I2C1Timers2 8-bit timers and 1 16-bit timerReal Time CounterYesThroughputUp to 16 MIPS at 16 MHzAdditionally, you can get information on the current and power consumption of ATmega328P here.

Arduino Uno vs Raspberry Pi

Yash Sanghvi
Updated on 30-Jul-2021 16:33:45

632 Views

We will have a comparison of the specifications of Arduino Uno and the STM32 Blue Pill Board.Arduino UnoRaspberry PiArduino Uno and Raspberry Pi are in different leagues altogether. Arduino is a microcontroller, while R-Pi is a Single Board Computer. R-Pi comes with its own operating system. Arduino has no OS, it can simply run programs compiled for the Arduino platform (which means C and C++ programs in general). There is no point comparing the two, but still let’s see the difference in specs, to drive the point home.Arduino Uno has 2 kB of SRAM. The first model of R-Pi had ... Read More

Arduino Uno vs Arduino Nano

Yash Sanghvi
Updated on 31-Jul-2021 13:13:46

901 Views

We will have a comparison of the specifications of Arduino Uno and the Arduino Nano Board.Arduino UnoArduino NanoPlease refer to the table below for the detailed comparison −UnoNanoGeneralDimensions2.7¨ x 2.1¨1.77¨ x 0.7¨Pricing$20-23$20-21ConnectivityI/O Pins1422PWM Pins66Analog Pins68ComputingProcessorATMega328PATmega328Flash Memory32 kB32 kBSRAM2 kB2 kBEEPROM1 kB1 kBClock speed16 MHz16 MHzVoltage Level5V5VUSB ConnectivityStandard A/B USBMini USBCommunicationHardware Serial Ports11SPI SupportYesYesI2C SupportYesYesAs you can see, the Nano board is very similar to Uno, but compact.

Advertisements