Questions tagged [frequency]
Defines how often something occurs, such as pulses in a digital signal, or oscillations in a radio wave.
120 questions
0
votes
2
answers
450
views
Capturing frequency using a photodiode
I've just bought the following photodiode (here) and I am trying to make a simple Arduino circuit/code so that the photodiode is able to record an LED blinking at an arbitrary refresh rate (frequency)....
0
votes
1
answer
58
views
Frequency problems with DIY arduino and resonator
I made a simple music program using an arduino Uno and the tone() function. It works fine.
I decided to build my own circuit using a barebones AVR and upload that program.
I did not know exactly what ...
-1
votes
2
answers
239
views
Arduino 75kHz output frequency setup
i don't know how to manipulate arduino uno or mega registers and timers to be close to 75kHz output frequency. Could you help please ?
-1
votes
1
answer
143
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 ...
1
vote
0
answers
107
views
Help in Frequency Conversion in ArduinoRP2040
Having a bit of a problem with the Arduino Nano RP2040. I'm trying to use the onboard microphone to read the frequency of a sound and then use that variable for calculations. However, while I can get ...
0
votes
1
answer
262
views
How to get started with writing code for a Hall Effect sensor?
One of my biggest questions concerns coding a Hall effect sensor to find wheel speed with an arduino mega.
I’ve got an lcd in digital pins(7,8,9,10,11,12) and a Hall effect sensor in digital pin 2.
I ...
1
vote
1
answer
442
views
Procedure for changing frequency of Nano or similar
I need to get interrupts at one of three specific rates: 1920, 2000, and 2400 per sec, at a fairly high precision (~10 ppm). I've asked about this on Electronics but I think here might be more ...
2
votes
1
answer
1k
views
ATMega4809 via Nano Every marked as 20Mhz, but does this confirm it is actually at 16Mhz?
If you go to the official Arduino Nano Every page and click the Tech Specs tab, you'll see that it lists it as running at 20Mhz.
Turn On Verbose Compile
However, if you go into the Arduino IDE and go ...
1
vote
0
answers
731
views
FG Frequency output
I have bought the Brushless DC-Flat Motors Series 2610 and Pin number 6 is called FG which is defined as frequency output. I have plugged this pin into the Arduino in A0 and I have tried displaying ...
2
votes
1
answer
441
views
analogRead() doesn't read more than 500Hz
I connected a wave generator to the analog pins to read the frequencies of the waves generated. I used different frequencies of sine waves with a minimum of 0V and maximum of 5V.
Whenever the voltage ...
1
vote
1
answer
227
views
Time signal. Determine the presence of pulses and their duration [closed]
I want to detect the exact time signal from an FM radio station. The signal is transmitted in the form of 5 short pulses and one long one. My task is to determine the presence of a pulse in the audio ...
3
votes
3
answers
290
views
Recognize peak in specific frequency area
I am wondering if it is possible to attach a microphone to an Arduino board and make the Arduino recognize a volume peak in a specific range of frequencies.
I want it to detect a specific peak (for ...
1
vote
0
answers
695
views
How to change the update rate in TinyGPS++?
I am working with TinyGPS++ library and Arduino-nano and I want to change the update rate.
I worked before with Adafruit GPS and uses the below code for updating it.
// Set the update rate
GPS....
3
votes
1
answer
325
views
Measure audio frequency through pulse duration
Hello dear StackExchange users,
i want to develop an Infrared blaster which i can plug into the headphone jack of a phone or console of choice. In order to communicate what frequency to modulate the ...
0
votes
1
answer
2k
views
How to run atmega328p at 8, 4 and 1 mhz?
Instead of using the regular Arduino board I have purchased the atmega328p-pu along with this components:
22pf ceramic capacitor
10K resistor
16mhz crystal
47uF capacitor
3.3 Volts Power supply
The ...
0
votes
1
answer
525
views
Fading LED with different frequencies
I have a potentiometer attached to one analog port of arduino (assume A0)
I'm reading the value of that using input_voltage = analogRead (A0); which is a value between 0-1023.
So I want to map this ...
0
votes
1
answer
84
views
Will an Arduino UNO operating at 16mHz communicate with UART / I2C with an STM32 operating at a different frequency?
I plan to connect Arduino UNO via I2C / UART with a controller based on STM32F334K8T6, whose frequency will be about 20mHz or higher.
Tell me, does the difference in clock frequencies of ...
1
vote
1
answer
692
views
Timer 1 Arduino - Create 2 Timers
I’m trying to output 2 separate frequencies using 2 output pins from an Arduino using the Timer 1 library. A snippet of the code is show below.
void setup()
{
Serial.begin(9600);
pinMode(button,...
1
vote
1
answer
3k
views
ESP32 changing frequency instead of duty cycle
Using this code on an ESP32 allows varying the duty cycle of the PWM with a fixed 5000 Hz frequency; it is working fine.
How do I vary the frequency and keep the duty cycle at a fixed value?
// the ...
0
votes
1
answer
474
views
6 channel PWM with 2 - 5 kHz frequency
Is it possible to set all 6 PWM frequencies to a value between 2 and 5 kHz?
I've read that the base frequency for pins pins 5 and 6 is 62500 Hz.
And the divisors for the pins 5 and 6 are only this ...
0
votes
1
answer
540
views
making power harmonics analyser which will measure the amplitudes of the fundamental and its multiples (like 50hz, 100hz, 150hz,200 hz,...) there are)
i have been intendng to make a power frequency harmonics analyser which will measure the amplitudes of the fundamental and its multiples (like 50hz, 100hz, 150hz,200 hz,...) there are examples for ...
2
votes
2
answers
465
views
Generated frequency is not as expected
This code sets a pin HIGH for 1 microsecond and then LOW for 1 microsecond. The expected frequency should be about 500 kHz. When measuring the output the frequency is about 96.4khz. Why ?
int del = 1;...
1
vote
1
answer
310
views
Can I use arduino to generate 8mhz frequency ultrasonic pulses in piezo discs?
void setup()
{
pinMode(freqOutputPin, OUTPUT);
Serial.begin(9600);
// Set Timer 2 CTC mode with no prescaling. OC2A toggles on compare match
//
// WGM22:0 = 010: CTC Mode, toggle ...
0
votes
1
answer
4k
views
Changing PWM on Arduino Mega, pins 9 & 10 to 20 to 25 KHz
I'm trying to run a Nema 17 motor with a l298N motor Driver for a school project. The issue is that I am running the motor with PWM to avoid overheating of the driver, however the resulting noise at ...
0
votes
1
answer
1k
views
How to increase the volume in speaker using talkie library in arduino uno...?
What else should I add to this code to increase the volume..??
#include "talkie.h"
Talkie voice;
const int8_t speech[] PROGMEM=
{0x00,0x00,0x00,0x08,0xd8,0x39,0x54,0x00,0xa7,0xa6,0x32,0xe0,
0x04,...