Hi all,
I need to generate a clock pulse using the Arduino Uno(8MHz) for data acquisition using a LM134 temperature sensor. Could anyone give me some tips or any coding for this please?
Thanks
Hi all,
I need to generate a clock pulse using the Arduino Uno(8MHz) for data acquisition using a LM134 temperature sensor. Could anyone give me some tips or any coding for this please?
Thanks
How is this thing connecting to the arduino as I can see no need of clock in the datasheet.
What do you want an 8MHz clock for?! That device needs no clock, just an analogue input and a couple of resistors.
Hi Riva and majenko,
I am doing a project on remote data acquisition where i have a module which consists of an ADC and a sensor(in my case LM134). I need to send a clock pulse to collect data periodically. I'm planning to display the data real time. I will be using a matlab linked to Arduino for the coding.
Riva, i'm planning on linking the output from the sensor module to the digital i/o pins(the data lines will transfer the digital data in sync with the clock pulse) of the Arduino.
majenko, i need a clock pulse because i need log data periodically and control the data logging when i wish. This is a model of a large distributed instrumentation system.
So, for every clock pulse you will trigger a sampling?
Do you know how fast 8MHz is?
That would be 8 million samples per second.
The Arduino cannot sample that fast - and you cannot read the data that fast
In my last project I implemented 1 second clock for the same purpose, using direct port manipulation of the UNO 16 MHz. You may try to download a code from this page:
http://coolarduino.wordpress.com/2013/04/10/barometric-atmospheric-pressure-arduino-project/
Other option would be to select right library, MsTimer2, TimerOne, Metro etc.
Alright then, a clock frequency of around 2KHz will do. Do you have any idea how i can generate that?
Google TimerOne.
Thanks Magician, in my case i need to get the data onto the PC, process it using matlab and display it real time instead of getting them on LCD screen.