Questions tagged [speed]
60 questions
12
votes
2 answers
On an esp8266 what is faster, 64-bit math or float math?
I need to do some math with vars from an attitude sensor (acclerometers and gyroscopes) on an esp8266. int32_t math with those vars does not have enough range and the float math operations are abyssmally slow.
I'm hoping to use a fixed-point format…
mark-hahn
- 297
- 2
- 6
5
votes
4 answers
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; it is 4 instructions more than the…
EEd
- 904
- 1
- 14
- 21
4
votes
1 answer
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 network?
FarO
- 339
- 1
- 4
- 16
3
votes
5 answers
How do I convert 0-5v PWM to a 0-12v PWM
I have a Arduino which I would like to use to control a 12v PWM fan for speed control.
I know about the 0-3.3v to 0-5v logic level shifter, is there a similar option for 0-5v to 0-12v? Or is there a circuit using a IC that I need to make?
Thanks in…
MrEditor97
- 31
- 1
- 1
- 4
3
votes
1 answer
How to slowly change direction of the stepper motor with AccelStepper?
I know that direction can be changed with
.setSpeed(speed);
... //check input
.setSpeed(-speed);
I need to slowly decelerate and accelerate backwards, so I have to use
.setAcceleration(200);
...
.setMaxSpeed(speed);
... //check…
user1329019
- 51
- 4
3
votes
1 answer
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 suggest a commonly used PWN dimmer that works with…
Hira
- 41
- 1
- 3
2
votes
0 answers
Why can't an Arduino/ATmega328 act as an SPI slave at anywhere approaching the maximum speed claimed in the datasheet?
The ATmega328 datasheet claims a maximum SPI slave speed of Fosc/4. For a chip clocked at 20MHz, that would be 5Mbps.
However, my tests show that even with no processing whatsoever in the interrupt (other than setting the response), any speed over…
Infinity Computers
- 71
- 1
- 7
2
votes
2 answers
Am I at the limit of UART transmission time?
I'm currently using an STM32F103C8 (With an arduino core) to read 4 sensors at 1kHz, then send that data via UART (at 115200 baud) to another device. Each sensor returns a float, I also include an unsigned long representing milliseconds since boot…
nuggetbram
- 151
- 1
- 4
2
votes
0 answers
Problem connecting Arduino and ADC AD7606
Question is about using ADC AD7606 paired with Arduino (Arduino Mega).
I can’t reach the stated speed of this bundle, the question is also whether it is possible or not. ADC output mode is 16-bit parallel. The physical connection corresponds to that…
Igor Polyakov
- 21
- 2
1
vote
1 answer
Need help figuring out how to organise a system to run a stepper motor at low speed without Steps-skipping
TL;DR : How to prevent step-skipping with a NEMA gearbox motor at low speed.
I am in the process of creating a system in which I want an object to turn on a plate and to show a letter depending on the angle of the rotation. The object is quite heavy…
Guillaume_slize
- 15
- 4
1
vote
2 answers
How to increase pinout switching?
Consider this code:
void loop() {
digitalWrite(pinTest, HIGH);
digitalWrite(pinTest, LOW);
}
On an Arduino Mega 2560, running 16MHz (=0.06us), I would expect the width of the pulse to be somewhere around 0.1us.
However, when measuring with…
Bart Friederichs
- 195
- 7
1
vote
1 answer
How do I control the speed of a 2-wire fan with an Arduino and only a potentiometer?
I am trying to vary the speed of a 2-wire fan by using a Arduino Uno and only a potentiometer.
Initially, I assumed that I could go about doing so by using a code that I used for dimming an LED. When I have run the code and varied the potentiometer,…
AI09
- 13
- 1
- 3
1
vote
0 answers
Fastest external High Speed ADC?
I am in a situation close to:
Hi-speed external ADC
But with 100,000 ~ 500,000 samples per second, I don't need more.
I only want to detect changes in 2 sensors, so each loop is only an "analogread" and a couple of conditionals, so I have the 16MHz…
user1814720
- 11
- 2
1
vote
0 answers
Need help with independent speed control on multiple steppers
I am a NOOB. I admit to a huge lack of understanding of programming. I just need my machine to work.
I cannot wrap my head around getting independent speed control of 2 steppers since it seems that controlling the speed is dependent upon adjusting…
robertbaker
- 11
- 3
1
vote
0 answers
Controlling a flat brushless DC motor with integrated speed controller
I have recently purchased the Brushless DC-Flat Motors Series 2610 from Faulhaber and I am honestly new to this type of motor as it’s pins are not like any other I have used before. I would appreciate any help on how to connect and code this motor…
Ahmed Abdulla
- 21
- 1