Volg even mijn redenering? en zeg me waar / of ik wel de mist in ga...
Stel, je egt aan een analoge input een audio signaal ( 10Hz ~20kHZ).
Dit signaal ga je om de zoveel (pakweg 60kHZ) hakken. (clock 60kHz)
In plaats van een vloeiend en aaneensluitend signaal, krijg je nu een signaal van 0 tot 256 "waardes"
Deze waardes , samen met de clock van 60kHZ geef je door aan een digitale output.
en laat deze terug "een" worden door deze in serie te plaatsen....
Kan dat?
Heb ik dan een audio signaal in digitaal omgezet?
Ben ik aan het dagdromen?
Alvast bedankt
ps, waarom 60Khz? Dat is de laagste frequentie waarbij je kan zenden. zo leerde ik in school.
The 60kHz is too high for the Arduino.
Perhaps it is possible to sample 8-bits at that rate, but there is not time to do something with it. Perhaps it is possible with highly optimized code.
You would need extra hardware for the serial output. 60kHz sample rate * 8 bits = 480kHz. So you need a clock of 480kHz to output the serial bits.
60kHz is not the lowest frequency to transmit. Submarines use lower frequencies.
Do you want to use the 60kHz clock (digital clock) to transmit ? The digital clock is a square wave, you would perhaps transmit more power into the harmonics than the original 60kHz.
Perhaps it is possible to sample 8-bits at that rate, but there is not time to do something with it. Perhaps it is possible with highly optimized code.
8 bit sampling verloopt sneller dan 10 bit sampling.
Daarom dat Caltoa aangeeft dat daar mogelijk wat te halen valt (ik meen dat je kunt instellen of je 8 of 10 bits wil gebruiken).
Dit komt omdat dat samplen op (oplaad-) tijd gebaseerd is, en bij een hogere resolutie moet je meer tijd reserveren.
Yes, that's right.
The Atmel microcontroller (ATmega328P in the Arduino Uno board) is designed to allow faster 8-bit mode for the ADC (analog to digital converter) instead of the normal 10-bit conversion.
Old skool of niet :), wat ze zeggen is dat je een snellere sampling kan krijgen door de resolutie (nauwkeurigheid van de waardes) te verkleinen van 10 naar 8 bits (met de functie AnalogReadResolution(8)). Je gaat dan van 2 bytes naar 1 byte verwerking en de sample tijd (laden van de condensatortjes in de ADC) wordt korter. Uiteindelijk moet je heel snel samples kunnen nemen en verwerken om op tijd weer klaar te staan om de volgende.
Daarnaast zul je ze gelijk weer uit moeten zenden (ik neem aan dat jze wilt verzenden) want er is weinig rumte op de Arduino om de samples weg te schrijven.
The link is not working, I can't see 001.jpg.
You can attach a file to a post, with the additional options under the text field.
You could also use http://tinypic.com
Remove personal information from the file and upload it. Very simple.
I wonder if we are going in the right direction with this thread.
To convert an analog value to digital, the Arduino Uno has 6 analog inputs. With the function analogRead(), you can read the value between 0...1023, which represents a voltage of 0 to 5V.
Can you explain perhaps what your goal is ?
When you want something wireless, there are many (maybe too many) modules that can be used with the Arduino. In the Netherlands it is legal to use 433MHz, 915MHz and 2.4GHz with limited power for data. I don't know if the 27MHz may be used for data.