Questions tagged [wave]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
71 views

Timer question: Phase Correct PWM at specific frequency

I am trying to create a sinusoidal wave segmented in 64 Frame, each holding a Duty cycle precisely varying from 0x00 to 0xff. This is for an Arduino Nano. I have trouble understanding the following: ...
-1
votes
2answers
197 views

Setting a pin to a continous wave output

Is there any way in Arduino to set a particular pin(pwm or not) to just generate a square wave out of the desired pin? For instance, I want to have two pins on my Arduino Uno that output two square ...
-1
votes
2answers
938 views

Play computer *.wav files through Arduino

I am doing mice behavioral training. I have an arduino-controlled box for that. The sounds are play using Mp3 player controlled b the arduino. However, the mp3 player is not good enough for my needs. ...
0
votes
1answer
2k views

How do you convert PCM to PWM?

I'm a beginner and I've been developing my own library for a wave player. so far I have the SD card installed and OLED and rotary encoder all connected. I've successfully read the wave chunk and it's ...
0
votes
1answer
202 views

how can i achieve a TTL pulses with duration of 1ns and what board do I need [closed]

Hi I need to supply TTL pulses to my driver to get a 1ns pulse with 20KHz. Is that possible with Arduino? what is the board and setting I need? thanks
1
vote
2answers
976 views

Sine wave PWM Arduino Micro

I'm trying to generate a sine wave on my Arduino micro. I used this code. int Pin = 9; void setup() { Serial.begin(9600); pinMode(Pin, INPUT); } void loop() { float something = millis()/10000.0;...
0
votes
2answers
478 views

Testing an oscilloscope with my Arduino

I bought a very old oscilloscope and although it works, I have my doubts about refreshing the screen (the electron beam fades away very slowly or is not showing up consistently across the screen). I ...