
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 381 Articles for Hardware

671 Views
The isControl() function is used to determine if a character is a control character. A control character or a non-printing character (NPC) is a code point (a number) in a character set that does not represent a written symbol. All entries in the ASCII table below code 32 are of this kind. This includes characters like '', '\t', and so on.SyntaxThe syntax of the isControl function is as follows −isControl(myChar)Where myChar is the character being evaluated. If it is a control character, this function returns True, otherwise False.ExampleThe following example illustrates how to use this function −void setup() { ... Read More

2K+ Views
In this article, we will see how to interface Arduino with a GSM Module, and ping to a website.You will need the following −An Arduino boardA GSM Module (SIM800C, SIM900A, are popular examples, but you can have any other module as well)A GSM (2G) SIM Card, or a 4G SIM Card with 2G fallback option (Jio SIM Cards won't work for this project)A GSM AntennaYou could also get a GSM Module development board, like the one below (the SIM Card Holder is on the other side of the board) −A GSM Module interacts with a microcontroller via UART (see the ... Read More

958 Views
In this article, we will see how to interface Arduino with a GSM Module, and delete all the read SMSes. You will need the following −An Arduino boardA GSM Module (SIM800C, SIM900A, are popular examples, but you can have any other module as well)A GSM (2G) SIM Card, or a 4G SIM Card with 2G fallback option (Jio SIM Cards won't work for this project)A GSM AntennaYou could also get a GSM Module development board, like the one below (the SIM Card Holder is on the other side of the board) −A GSM Module interacts with a microcontroller via UART ... Read More

3K+ Views
In this article, we will see how to interface Arduino with a GSM Module, and read an SMS sent to the SIM card attached to the module.You will need the following −An Arduino boardA GSM Module (SIM800C, SIM900A, are popular examples, but you can have any other module as well)A GSM (2G) SIM Card, or a 4G SIM Card with 2G fallback option (Jio SIM Cards won't work for this project)A GSM AntennaYou could also get a GSM Module development board, like the one below (the SIM Card Holder is on the other side of the board) −A GSM Module ... Read More

421 Views
Arduino has come up with a number of boards specifically for Internet of Things (IoT) applications. If you go to the Products page on Arduino website, you will find a separate section for IoT boards. Their prices range from $18 to $69.The main feature that differentiates these boards from other Arduino boards (like Uno) is the presence of some connectivity onboard. For instance, The Arduino Nano 33 IOT board has WiFi and Bluetooth connectivity.The MKR Fox 1200 board (available in Europe only) supports the Sigfox architecture.The MKR GSM 1400 board supports GSM.The MKR NB 1500 supports the recently developed NBIoT ... Read More

1K+ Views
We will have a comparison of the specifications of Arduino Uno and the Arduino Due BoardArduino UnoArduino MicroRefer to the table below for a detailed comparisonUnoMicroGeneralDimensionsPricing2.7'' x 2.1''$20-231.88'' x 0.7''$20-21ConnectivityI/O PinsPWM PinsAnalog Pins146620712ComputingProcessorFlash MemorySRAMEEPROMClock speedVoltage LevelUSB ConnectivityATmega328P32 kB2 kB1 kB16 MHz5VStandard A/B USBATmega32u432 kB2.5 kB1 kB16 MHz5VMicro USBCommunicationHardware Serial PortsSPI SupportI2C Support1YesYes2YesYesArduino Micro is very similar to Leonardo. The biggest difference between Micro and Leonardo, perhaps, is the form factor. Apart from the differences mentioned in the above table, one other major difference that I'd like to highlight −Micro's ATmega32u4 has in-built USB communication, thereby eliminating the need for a ... Read More

721 Views
We will have a comparison of the specifications of Arduino Uno and the Arduino Leonardo Board.Arduino UnoArduino LeonardoRefer to the table below for a detailed comparison −UnoLeonardoGeneralDimensionsPricing2.7'' x 2.1''$20-232.7'' x 2.1''$20-21ConnectivityI/O PinsPWM PinsAnalog Pins146620712ComputingProcessorFlash MemorySRAMEEPROMClock speedVoltage LevelUSB ConnectivityATmega328P32 kB2 kB1 kB16 MHz5VStandard A/B USBATmega32u432 kB2.5 kB1 kB16 MHz5VStandard A/B USBCommunicationHardware Serial PortsSPI SupportI2C Support1YesYes2Yes (master only)YesApart from the differences mentioned in the above table, two other major differences that I'd like to highlight −The SPI pins on Leonardo are not exposed via digital pins, but via ICSP headers.And the slave select pin is not exposed at all. Therefore, the Leonardo ... Read More

654 Views
The resistance of a Light Dependent Resistor (LDR) changes depending on the intensity of the light falling on it. Interfacing an LDR with Arduino is quite straightforward. You just create a voltage divider as shown below −One end of the LDR is connected to 5V, the other end to a resistor (whose resistance should be approx. the same order of magnitude as the max resistance of the LDR). For instance, we are using an LDR with a resistance of 90K and the resistor has the maximum resistance of 150K. The other end of the resistor is connected to GND, and ... Read More

12K+ Views
Communication protocols like UART (Serial), I2C and SPI are very popular because several peripherals can be interfaced with Arduino using these protocols. CAN (Controller Area Network) is another such protocol, which isn't very widely popular in general, but find several applications in the automotive domain.While going into the details of CAN bus is beyond the scope of this article, you can find the relevant information here. However, here are a few things you should know −CAN is a message-based protocol (i.e., the message and content are more important than the sender). A message transmitted by one device is received by ... Read More

764 Views
A touch sensor looks like the one below −It has 3 pins − Vcc, GND and Signal. Whenever someone touches the sensor, the signal pin goes HIGH (it generally outputs LOW when not touched). Thus, we just have to digitalRead the Signal Pin and determine if the sensor is being touched.Circuit DiagramThe circuit diagram is quite straightforward as shown belowAs you can see, the GND pin of touch sensor is connected to GND pin of Arduino, the Vcc pin to 5V and the SIG pin to pin 7 of the Arduino.Example CodeThe code is also quite straightforward, as you can ... Read More