Any Arduino experimenters here?

I want to read an analogue (temperature reading from a 1-10v sensor) and a
digital at fairly high frequency (~10ms intervals). If the digital is high
I need to record the timestamp along with the analogue reading. When the
digital goes low I then need to dump the recorded data to a CSV file and go
back to reading the inputs waiting for the next time the input goes high.
(Each period of logging would go into its own file and I can assume that
there'll be time to do the logging etc before it goes high again.)

I figure that getting reliable uninterrupted readings will be easier with
an Arduino than with (say) a Pi, but am I wrong to think that? Would the
Arduino even do what I want? I assume I'd need to link it with (say) a Pi
to do the actual writing to CSV file and sending it on (I haven't decided
yet how but maybe FTP to somewhere or writing to a network share). I have
zero experience with the Arduino but have been looking for a project to try
one out and thought this might be it.

That said, I'd rather use a Pi (w/ Raspbian) if it would be capable but
it's not the actual rate that bothers me so much as the fact that some
other O/S task might interrupt it and I'd miss samples.

Mark
-- 
Mark Rogers // More Solutions Ltd (Peterborough Office) // 0844 251 1450
Registered in England (0456 0902) 21 Drakes Mews, Milton Keynes, MK8 0ER
_______________________________________________
Peterboro mailing list
Peterboro@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/peterboro

Reply via email to