Skip to main content

Questions tagged [sine-wave]

A sine wave or sinusoid is a mathematical curve that describes a smooth periodic oscillation.

Filter by
Sorted by
Tagged with
0 votes
1 answer
79 views

How to make a stepper motor's speed follow a sine wave

I'm trying to have the rotational speed of a stepper follow that of a sine wave with a period of x seconds. So it starts at a speed of 0 at 0°, picks up and peaks at 90°, slows back down to 0 at 180°, ...
Dezcat's user avatar
  • 11
-1 votes
1 answer
96 views

Generate a sine wave with a predefined frequency and amplitude via DAC0 or DAC1 with Arduino Due

Good Morning to everyone, I am a PhD Student in experimental fluid mechanics at the University of Naples "Federico II", Italy. I am working on Arduino Due card and i am novel in applications ...
AlessandroScala's user avatar
1 vote
2 answers
463 views

Arduino Due generate 400KHz sine waze

I new in Arduino environment. Found some code generate sine wave but frequency between 14kHz to 84kHz. URL is https://www.instructables.com/SineWave-Generator-for-Arduino-DUE/ I need to generate sine ...
Wan Aideed's user avatar
2 votes
1 answer
2k views

Continous running light with fading trail

In examples of FastLED library, there's the animation of a dot sweeping back and forth, with fading trails (file "DemoReel100", animation "sinelon"). How can I alter the code so instead of moving back,...
Madamadam's user avatar
  • 121
1 vote
0 answers
341 views

Creating a sine with PWM Arduino DUE

I've been trying to create a sine wave using the pwm function of the Arduino DUE. The sine wave has te be at higher rates than the analogWrite() function can handle, so I've been using the native ...
Calvin Bootsman's user avatar