- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Yash Sanghvi has Published 220 Articles
Yash Sanghvi
876 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 ... Read More
Yash Sanghvi
562 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 ... Read More
Yash Sanghvi
461 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 ... Read More
Yash Sanghvi
10K+ 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 ... Read More
Yash Sanghvi
553 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 ... Read More
Yash Sanghvi
2K+ Views
There are various types of proximity sensors available. Ultrasound sensor, which we discussed in another article for measuring distance, can also be used as a proximity sensor. In this article however, we will consider IR proximity sensor.A typical IR proximity sensor looks like the one below −There is an IR ... Read More
Yash Sanghvi
435 Views
Arduino Uno, or any other microcontroller for that matter, generally has 3 types of memory −FlashThis is where Arduino sketch is stored.Any variable defined using PROGMEM or the F() macro is also stored here. Note that such variables are immutable by default, i.e., their values can't be changed at runtime.Flash ... Read More
Yash Sanghvi
1K+ Views
Often, you may have a lot of print statements in your Arduino code. These are generally stored in the SRAM.However, if your sketch has too many of these print statements, they can fill up the SRAM very quickly. In such a scenario, it may be wise to store these print ... Read More
Yash Sanghvi
6K+ Views
PROGMEM is the keyword you use when you wish to store data in the program memory (flash) instead of the SRAM. While you can use PROGMEM for a single variable, it won't make much sense to do so. After all, the SRAM would have more than enough space to accommodate ... Read More
Yash Sanghvi
4K+ Views
CRC stands for Cyclic Redundancy Check (CRC). It is, in simple words, an algorithm used to detect errors in received messages. The idea is similar to parity, but this is much more robust.If a transmitter is sending a packet to a receiver, the transmitter will calculate a CRC code based ... Read More