Defines how often something occurs, such as pulses in a digital signal, or oscillations in a radio wave.
3
votes
3answers
95 views
Ensuring specific frequency at specific time?
I, at the moment am trying to come up with a simple way where I can program an Arduino to provide a step signal with a given frequency, at a specific time.
The frequency has to be ramped up, and ...
0
votes
0answers
24 views
Generate the step signa for running a stepper motor
I am the moment trying to make a stepper motor run, aren't that sure what kind of signal i should provide the Step pin of my control board.
I read somewhere that a simple PWM would make it make it ...
1
vote
0answers
24 views
Arduino FFT library - Open Music Labs installation help
I downloaded the zip file of the FFT library from the below link
http://wiki.openmusiclabs.com/wiki/ArduinoFFT
and it now as I implement the example codes, it gives out a message which says
"Error ...
1
vote
3answers
36 views
FreqMeasure.h uncompatible with my code problem
I have written code to read temperatures on a motor which also has pulse feedback to see speed, (one hall sensor) and my previous version of the code does work fine, however when i add example ...
2
votes
1answer
35 views
Strobe Frequency Calculation, how its done?
I'm using the Arduino sketch for LED stroboscope found here: http://mehax.blogspot.co.uk/2011/02/arduino-stroboscope.html.
Also below, I've inserted the loop part where this calculations are made:
...
0
votes
3answers
65 views
Frequency generator
Can arduino generate the frequency with the resolution of 2 decimal places?
i.e. 100.12 Hz, 98.23Hz, 1.92Hz...
recently I need to generate a frequency to allow a stepper motor to move accordingly. ...
0
votes
2answers
506 views
Need help to set PWM frequency to 25kHz
I currently can set four pwm pins to around 31kHz with the following code:
void setup()
{
TCCR1B = TCCR1B & B11111000 | B00000001; // Set PWM frequency for D9 & D10 :
pinMode(...
0
votes
1answer
34 views
Pin toggle speed
If I use direct port manipulation, what is the average number of clock cycles it takes to flip a pin on the arduino
ie.
void loop(){
PORTB |= 0b00010000;
PORTB &= ~0b00010000;
}
So how ...
0
votes
1answer
31 views
Will Arduino Pro Mini 3.3V run at half the speed of 5V version?
Provided a very simple sketch like this:
void loop() {
digitalWrite(1, !digitalRead(1));
}
... should I expect 5V Arduino to run twice as fast as 3.3V, or are there some internal adjustments in ...
0
votes
0answers
49 views
How to use the timer to generate a pulse wave of the specified frequency and duty cycle
So we have the tone library, which produces a 50% duty cycle square wave of varying frequency, and analogWrite() which produces a fixed frequency wave of varying duty cycle. Is there any way to ...
2
votes
1answer
48 views
How can i set 4 Arduino Leonardo PWM-ports between 200Hz and 1kHz?
I've noticed that I can set D9, D10, and D11 to around the timer 1 can be set to ~244Hz, however i need 4 ports that are between 200-1000Hz but have been unable to figure out how to find the last one. ...
0
votes
2answers
49 views
sensor sampling frequency
I have a problem collecting data from my accelerometer/gyroscope sensor with a constant sampling rate. Is there a way to program the arduino to collect data from the sensor and store these values in a ...
0
votes
0answers
29 views
Can we change the frequency of LED illumination
I had a problem during imaging of illumination of 8*8 LED series(rainbowduino V3.0b). The light source has flickering issue. I have camera operating maximum at 15 frames per second. Is there any ...
2
votes
2answers
238 views
maximum frequency of digital signal in arduino uno?
As aurdino uno have 16MHz oscillator but while running program it have less frequency because some of the processing power is used for running the program.
I have used the delay(1) but it giving me ...
-1
votes
1answer
111 views
problem on implementation of the ultrasonic circuitry
I used an Arduino Uno on my project to produce a frequency greater than 35000Hz and the output of digital pin was connected to the ultrasonic transmitter circuitry:
However, it's not working on ...
0
votes
3answers
103 views
How to convert frequency into db
I have made an Arduino circuit which outputs in terms of frequency(hz) and I need output in terms of db as well
So is there any formula which can I apply to convert frequency hertz to db or is there ...
1
vote
0answers
106 views
Using a Hot Wheels Radar Gun with FreqPeriod library
I want to make a clone of those radar enforcement signs that look like this:
I bought a Hot Wheels Radar gun that can send an analog signal to determine speed. See this thread: http://forum....
-1
votes
0answers
73 views
Controlling DDS Chips with Arduino [closed]
I posted a question not too long ago about generating a variable frequency sine wave. I chose to use a DDS chip from Analog Devices. I want to control it with an Arduino and know you have to use SPI,...
0
votes
1answer
95 views
Are there ultrasonic transducers which are able to produce a “chirp” sound wave?
I'm working in a ultrasonic radar project and the supervising teacher wants us to produce a chirp sound wave (a frequency-varying sinusoid).
I'm familiarised with the usual ultrasonic module, but as ...
1
vote
1answer
66 views
ATmega 8 wrong timing with Arduino NG bootloader
I have build simple Arduino ISP programmer, which works fine on ATmega 328 chips (when I select Arduino UNO board) and a ton of others (tiny45, tiny2313). But, when I want to program an ATmega8 chip, ...
1
vote
1answer
641 views
Building an adjustable low frequency PWM controller with Arduino
I am looking for a way to create an adjustable PWM controller capable of modulation frequency from 0-100 (more preferably 0-1000) Hz, duty cycle from 0-100%, and able to accept a voltage range of 5-...
0
votes
1answer
395 views
Difference in bootloader of ATmega with 16MHz external crystal and 8MHz external crystal
I have used your bootloader for ATmega2560-16AU with 16MHz external crystal and it works like a wonder.
In my new project I have a 3V power supply. Therefore, I am planning to use a low frequency ...
0
votes
0answers
47 views
Is it possible to transmit a frequency that a radio can pick up — by just the arduino itself.
By this I mean -- I don't know if it's entirely possible, but is it possible to send a (radio) frequency with just the arduino and a bit of jumper wire?
2
votes
2answers
1k views
Arduino constant clock output
I am controlling an ADC with my Arduino Uno. I would like the clock of the ADC to be the same frequency of the Arduino.
Is there any way that I can have a constant clock output from one of the Arduino ...
2
votes
3answers
205 views
Arduino coding of producing frequency
Im new here. Anyone that could give a code or sample that would generate I wanted to use a frequency in range of 35k-43kHz. Please help me.
2
votes
2answers
589 views
Sets of Ultrasonic frequencies using arduino uno
Is it possible to create a set of ultrasonics frequencies using only the ardiuno? What code to be used? And how am I going to do for it to work? For this project i need to focus in the emitter side; ...
0
votes
0answers
39 views
Frequency Help on arduino uno [duplicate]
Good day. Anyone that could help me. I need to generate a frequency greater than 40 khz using arduino uno. What coding do I use? Or do I need to put another citcuitry? Please help me. This is my first ...
0
votes
1answer
46 views
Transistors to switch monitor inputs
I am using the following setup on my Arduino UNO to measure cpu fan RPMs:
The code is set to bring the trigger pin for each transistor high when it is checking that fan's RPM and FreqMeasure.h is ...
1
vote
1answer
96 views
Uploading to atmega328 over serial with arduino bootloader running at 2MHz
I want to run an atmega328 on a breadboard at 2MHz and upload to it via the serial pins (pins 2 and 3). So I am setting the clock divide by 8 fuse bit to enable this, meaning the atmega runs at 2MHz ...
0
votes
1answer
247 views
How to use a grove speaker without using delayMicroseconds?
is there another way to replace delayMicroseconds(BassTab[note_index]) as I cannot have delays in my loop due to the need of having multi-tasking in my sketch.
Grove speaker: http://www.seeedstudio....
0
votes
1answer
121 views
Buzzer - Does the voltage change with the frequency?
So I have this project where the component "buzzer" is implementet. I was wondering if the voltage is changing along the change of frequency given to the buzzer?
Note that the project just says "...
0
votes
1answer
63 views
What does a higher clock signal frequency actually mean for my AHRS?
I've got an Arduino with an ATmega328 processor. It can be operated at 3.3V which nets a clock signal frequency of about 12 MHz respectively 16 Mhz at 5V.
I've got an IMU connected to the Arduino and ...
-1
votes
1answer
812 views
Arduino Uno & Simulink - high frequency pulses
I'm trying to control a large stepper motor with high frequency pulses (eventually around 4kHz), but what I get out of the simulink scope is super different from what the Arduino is putting out. I'm ...
1
vote
1answer
305 views
Relationship between baud rate and the frequency of vibration read using ADXL
I am doing a project using Arduino Uno and ADXL 345.
I am quite new to this and I came across this post in the link" : https://www.sparkfun.com/tutorials/240. Here, a user had posted the below ...
0
votes
2answers
77 views
Problem using Ino build for 8 MHz
I want to use the Ino command line toolkit to build and upload my HEXes. It works well for the regular Arduino, however when I try to upload code to a Mini Pro 3.3V at 8 MHz, the code has the timing ...
0
votes
2answers
2k views
Program ATtiny13 - 20PU
I'm trying to program my ATtiny 13 - 20PU. An it seems to work, but there is no action upon the "delay" command. If on the sketch below I comment out the "High" line, my led is off all the time and ...
1
vote
1answer
68 views
Making a composite waveform using a single TIMER interrupt
I'm writing software for a laser tag gun, which under the system we use needs the output waveform to be a carrier wave of 57600Hz with a signal wave of 1800HZ for about 50ms
Using the Tone library (...
1
vote
0answers
73 views
arduino mega number of simultaneous pulse inputs
I'm looking at this specification page:
http://arduino.cc/en/Main/ArduinoBoardMega2560
It says there are 54 digital input pins. How many of those can be used at the same time to measure pulse input ...
1
vote
3answers
4k views
High Frequency Sine Wave Generation
I'm new to the world of Arduino and I'm working on a wireless charging project that needs a 5.7MHz sine wave. I've tried using a Due and changing the PWM and DAC, but I can't get a clean sine wave at ...
0
votes
2answers
369 views
Arduino Uno with crystal
Are there Arduino UNO R3s which use a crystal instead of a ceramic resonator?
(Frankly, I don't understand this cheapness: if you really want to save on component cost you can run both AVRs on the ...
0
votes
1answer
430 views
How to change input pin of FreqCounter Arduino Uno/Dumilanove library?
The following link to the library defines arduino pin 5 for input pin for signal.
https://www.pjrc.com/teensy/td_libs_FreqCount.html
But the problem is I'm using an 16x2 LCD display with the arduino ...
1
vote
0answers
197 views
Beat Detection with Mic on Arduino [closed]
I'm trying to make a robot dance on several songs using Arduino.
I need to understand how to get the rhythm from the songs, something like detecting the beats, calculating the bpm..
I'm not expert but ...
4
votes
1answer
232 views
Is it possible to sample sound with arduino?
I have the arduino duemilanove with atMega328.
The frequency is 16Mhz.
I want to sample and record from the audio jack.
I searched and i found if i want to record "everything - so to speak", i have ...
2
votes
2answers
136 views
How to detect if running Arduino or bare Atmega328p?
I'm building something that will mostly run on bare ATmega328p at 8 MHz (as described eg. here), but sometimes I need to run the same code on an Arduino.
I need to initialize the DHT library ...