Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [speed]

The tag has no usage guidance.

0
votes
3answers
65 views

analogWrite is not working - while trying to control DC motor speed

I'm trying to control the speed of DC Motor using Arduino R3 NPN Transistor (2N2222A331) 10k potentiometer 2M ohm resistor Diode I'm not using L298N and I'm also not using L293D. DC motor is ...
0
votes
1answer
29 views

GPS detecting stationary?

can someone please point me at some code snippets to detect when the GPS is stationary. I am currently using tinyGPS library and it is working fine, but my data-logger has thousands of stationary ...
0
votes
2answers
62 views

28 BYJ stepper motor runs faster using delay() and little slower using millis(), why?

I'm working to develop a code for the stepper motor to use it in a project. And since using delay() isn't as efficient as millis(). So I first developed the code that use delay with 1ms delay between ...
1
vote
1answer
58 views

Creation of multiple power cells to be controlled by Arduino [closed]

I'm fairly new to the Arduino world, but have a history of good working knowledge of computers and software (I'm a software engineer), but I've only had the opportunity so far to create a few simple ...
0
votes
1answer
323 views

Speed controller for Ceiling Fan 220V AC 100W

I would like to use ESP32 to speed control my AC ceiling fan which is 220V AC 100 W. Will the below AC dimmer work with ESP32 to speed control the ceiling fan which is 220V AC 100 W? If not, kindly ...
-1
votes
1answer
108 views

Increase and Decrease Motor Speed [closed]

I'm a newbie on Arduino and I'm doing an exercise about the Motor controller "Increase the motor speed from zero to maxium (255) and then decrease slowly from the maximum to the minium." Here's my ...
0
votes
1answer
60 views

Robot car speed issue

If I'm connecting it in this way I have no issue and I can control the speed. here is a video const int speedMotorA = 9; const int speedMotorB = 3; const int motorPin1 = 4; const int motorPin2 = ...
0
votes
1answer
33 views

Reduce speed on DC motor

The Arduino starter kit came with a DC motor. I want to have it rotate at a slow speed so it can be on a reel and automatically dispense and wind wire, however, I don't know how I can slow it down. ...
0
votes
1answer
204 views

Measuring the speed of an object moving fast through air [closed]

I am new to arduino and am confused about how I would go about doing this: I want to attach a device to a small ball, that will move through the air at speed. The purpose of this device would be to ...
1
vote
1answer
108 views

GPS showing incorrect speed

I am using Arduino ATmega 2560. When i am using "AT+CGNSINF" command to get GPS value, sometimes it showing incorrect speed. The correct speed should be (50-60)km/h but sometimes it showing (200-300)...
1
vote
2answers
422 views

Uniform timing when using Arduino for data acquisition

I am using Arduino UNO together with a SPI ADC (LTC1859) and SRAM (23CL1024) to record a series of data points at approx 2 kHz sampling rate (let's say a few thousand data points). I have some ...
0
votes
1answer
94 views

How do I lower clock speed for MKR1000? [closed]

According to data sheets, the MKR1000 runs a SAMD21 Cortex-M0+ processor at 48 MHz. For a project I need to drop that down to 16MHz to get some accurate timing in us. How can I do this? Most of the ...
4
votes
1answer
1k views

Can I get the current connection speed with ESP8266?

Using an ESP8266 I can get the RSSI of the Wifi network using Wifi.getNetworkInfo() or Wifi.RSSI(). But is there a way to know the actual connection speed in Mbps, after joining successfully a WiFi ...
-1
votes
1answer
135 views

How to get Velocity and Displacement from IMU sensor?

I have an imu mounted bot.I want to get the speed of the bot using imu i dont want to use the encoders. Imu gives acceleration how should i integrate that to get velocity and how much error would be ...
0
votes
2answers
326 views

How to use an Arduino to measure speed of rocket

I am not very experienced with Arduino and I am trying to learn it. I was wondering what is the easiest and most effective way to calculate speed and log it every second so to say. This would be ...
0
votes
2answers
208 views

Speed measurement from lidar sensor for automatic braking system

For a school project I have been working on a system that will automatically brake when there is danger. Only the requirements are more strict (safety) than just using a ping sensor and detecting a ...
0
votes
2answers
171 views

Arrays, and for loops… faster to use together, or not to use?

I'm a 4th year EE undergrad, so I'm more of a hardware guy than software. But concerning best programming techniques, is it "better" (more efficient/and/or equally effective) to use for loops when ...
0
votes
1answer
396 views

On start servos rotates to 180 degree

I'm testing a servo using varspeedservo.h and it rotates to 180 degree on start and then rotates back to programmed position. Here is the code: #include <AFMotor.h> #include <VarSpeedServo....
0
votes
2answers
702 views

ESP8266-01 wrong flow control settings

Changed ESP8266-01 to wrong settings by mistake. It was working ok at 115200 (its default settings). It was connected like this: PC->(USB)->Arduino->ESP8266. Using Arduino as bridge Pins 0 and 1 (...
0
votes
1answer
969 views

Need help to set PWM frequency to 25kHz on pin 8 of Arduino Mega to control speed of a 4-wire cpu fan

This question is not same as the other one and this is more about employing the pwm signal to drive a CPU fan; I am trying to follow the answer by Edgar Bonet on the question Need help to set PWM ...
0
votes
0answers
150 views

Does ATmega1280 support vector instructions (SIMD)?

I looked in the instruction set manual and couldn't find anything related. Does that not exist? Is there any arduino that supports that?
0
votes
1answer
2k views

What is the maximum SPI speed for a slave Uno/clone?

I have a Rapsberry Pi master sending SPI requests to an Uno Chinese clone slave : I send 16 characters to the Arduino, which answers 16 others characters. What I send is not important, it's the ...
1
vote
0answers
1k views

Slower nRF24L01 round trip delay than expected

Short/summary I expected that the round trip delay of a nRF24L01+ would be less than 1 ms. In practice I see around 3 to 5 ms and other sources have similar values. Does anybody know why this round ...
0
votes
1answer
639 views

microstepping and pwm [closed]

As per definition: Micro stepping is a method of moving the stator plug of the stepper motor more smoothly than it is in the full or half step drive mode.The process of micro stepping helps in ...
0
votes
0answers
91 views

hc-sr04 water experiment. - ignoring first set of data

Im working on an experiment where I where i need to measure the speed of sound in water. I am using the hc-sr04 sound sensor to gather data, but I have run into a problem where the water reflects some ...
0
votes
1answer
228 views

Arduino HC-SR04 water experiment

I am working on an experiment with the HC-SR04 sound sensor, and i am using it to record the speed of sound. I successfully measured the speed of sound in air, but when measuring it in water, I ...
2
votes
4answers
776 views

Will an ATmega2560 board be faster than a Uno for hard real-time data logging?

I am designing a hard real-time data logger. The Uno is a bit marginal in processing speed. a) Would it be faster if I changed to an ATmega2560? b) On the datasheet, ATMEGA2560 has 135 instructions; ...
0
votes
2answers
386 views

How fast is a SD page read from a file?

For a project I would like to do, I asked a question about whether to use SD or EEPROM (see Question I checked how much memory I would need without any restrictions which is like 2 MB (or more) so a ...