Admin
Admin
@ankunegi
Admin
Member
Joined: Apr 24, 2024
Last seen: Feb 14, 2026
Topics: 0 / Replies: 93
Reply
Answer to: Setting multiple pins as OUTPUT

For loop will do the job if the pins are in series: for (int i = 2; i <= 9; i++) { pinMode(i, OUTPUT); } If pins are random, use an array l...

1 year ago
Forum
Reply
Answer to: Setting multiple pins as OUTPUT

@jignesh You can use an array: int buttons[]={2,4,5,8,10,13,}; for(int i:buttons){ pinMode(i, OUTPUT); }

1 year ago
Forum
Reply
Answer to: New Pi Pico 2 by Raspberry Pi—What are your opinions?

Hey everyone, Let's look at some of the advantages and disadvantages of the Raspberry Pi Pico 2 that one should consider before arriving at any conc...

2 years ago
Forum
Reply
Answer to: Pi Pico VS UNO: Which one is best for beginners?

If you are entirely new to microcontrollers and programming, the Arduino Uno might be the better choice due to its simplicity, robust community suppor...

2 years ago
Forum
Reply
RE: How Does an Ultrasonic Sensor Like HC-SR04 Measure Distance?

@Deboojit Yes, it's just a sensor. It has nothing to do with the distance calculation.

2 years ago
Reply
Answer to: Can i use EN pins for PWM speed control in L298N Motor driver?

Yes, you can hook these pins to the PWM pin on Arduino. The Enable pin on the L298N acts as a gatekeeper for the power supplied to the motor. When the...

2 years ago
Reply
RE: What exactly is PWM resolution ?

The microcontroller uses a timer to generate the PWM signal. The timer counts up from 0 to a maximum value. When it reaches the maximum, it resets to ...

2 years ago
Reply
RE: Why do some DC motors come with a capacitor across them while others do not?

@TechSpark No particular spec as far as I know. But the cap value, anywhere between 0.1 µF to 0.47 µF should work

2 years ago
Reply
Answer to: What does P at the end of ATmega328p signify?

Major differences between ATmega328 and ATmega328P 1. The "P" in ATmega328P stands for "PicoPower," which indicates that this version of the ATmega3...

2 years ago
Reply
RE: Difference between 180° vs 360° servo motors and how to control them with Arduino

@Yvette Inside a standard servo motor, there's a potentiometer connected to the output shaft. This potentiometer provides feedback to the control circ...

2 years ago
Reply
Answer to: What exactly is PWM resolution ?

Hey, Note: UNO R3 supports 8-bit PWM resolution, not 10. Higher resolution means the PWM output can be more finely tuned, resulting in a smoother...

2 years ago
Reply
Answer to: Why so many different versions of Nano?

Nano is a very popular dev board and keeping the "Nano" name might be a strategic decision for brand recognition. Even though some Nanos differ sign...

2 years ago
Forum
Reply
Answer to: Clock Frequency Discrepancy: Arduino Uno vs. Arduino Nano

The Arduino Nano has a ceramic resonator instead of a crystal oscillator for doing the same job. Ceramic resonators are also capable of generating clo...

2 years ago
Reply
Answer to: Why do some DC motors come with a capacitor across them while others do not?

The presence of capacitors is all about dealing with electrical noise and interference. 1) When you spin a DC motor, it actually tries to fight back...

2 years ago
Reply
Answer to: analogWrite() Used on Digital Pins Instead of Analog Pins?

So, analogWrite() is indeed used to create a PWM signal, which can dim LEDs, control motor speed, etc. The name is a bit misleading because it sounds ...

2 years ago
Forum
Page 6 / 7