Yash Sanghvi has Published 220 Answers

How to Use 'U' and 'L' formatters in Arduino?

Yash Sanghvi

Yash Sanghvi

Updated on 24-Jul-2021 14:16:22

When going through Arduino codes, you may come across some numbers which are followed by either a U or an L or both (or in small caps, u and l). These are formatters, which force integer constants to be of a specific format. U forces an integer constant to be ... Read More

String comparisons in Arduino

Yash Sanghvi

Yash Sanghvi

Updated on 24-Jul-2021 14:11:06

The same operators that are used for comparing integers like <, >, >=, <=, ==, != can also be used for comparing strings. Note that string comparisons are case-sensitive and depend on the ASCII order of characters. Thus, as per the ASCII table, 'A' comes before 'a'. Therefore 'a' > ... Read More

String to byteArray in Arduino

Yash Sanghvi

Yash Sanghvi

Updated on 24-Jul-2021 14:07:44

The getBytes() function helps copy the content of a String to a byte array. The syntax is −string1.getBytes(buf, len)where, string1 is the string whose content you want to copy to a byte array, buf is the byte array, andlen is the length of content to be copied.ExampleThe following example illustrates ... Read More

How to Use isControl() in Arduino?

Yash Sanghvi

Yash Sanghvi

Updated on 24-Jul-2021 14:02:04

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 ... Read More

How to interface Arduino with a GSM Module and ping to a website?

Yash Sanghvi

Yash Sanghvi

Updated on 24-Jul-2021 13:57:06

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 ... Read More

How to interface Arduino with a GSM module and delete all the read SMSes?

Yash Sanghvi

Yash Sanghvi

Updated on 24-Jul-2021 13:48:08

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 ... Read More

How to interface Arduino with a GSM Module and read SMS?

Yash Sanghvi

Yash Sanghvi

Updated on 24-Jul-2021 13:39:35

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 ... Read More

Overview of Arduino IoT boards

Yash Sanghvi

Yash Sanghvi

Updated on 24-Jul-2021 13:33:58

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 ... Read More

Arduino Uno vs Arduino Micro

Yash Sanghvi

Yash Sanghvi

Updated on 24-Jul-2021 13:30:14

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 ... Read More

Arduino Uno vs Arduino Leonardo

Yash Sanghvi

Yash Sanghvi

Updated on 24-Jul-2021 13:19:49

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 ... Read More

Previous 1 ... 5 6 7 8 9 10 11 ... 22 Next
Advertisements