Not sure if it's helpful but... I've got an Arduino starter kit and one of the projects is a 'love o meter' that measures temperature and changes LED outputs based on the values calculated. It also has a terminal for outputting all the temperature readings whose frequency you can control. I've adapted it to create a classroom thermometer that tells me if I need to open a window...
https://www.youtube.com/watch?v=tjamdT8UPZY&list=PLT6rF_I5kknPf2qlVFlvH47qHvqvzkknd&index=3 Stewart On 3 May 2016 at 13:26, Mark Rogers via Peterboro < peterboro@mailman.lug.org.uk> wrote: > 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 >
_______________________________________________ Peterboro mailing list Peterboro@mailman.lug.org.uk https://mailman.lug.org.uk/mailman/listinfo/peterboro