Hi all,
I have been using PICAXE for a while but have not done any data logging. I have looked through the manuals, books and forum but all of it assumes much more understanding than I have!
I want to start with some simple data logging of an LDR.
I am able to send the data with the program code below to my computer and display it using the datalink (although the graph never works?) And I can save that data as a csv as long as the interval is short.
However if I want to log data with large intervals the datalink window tells me there is no data and stops.
I realise this means I have to write the data to the chip and then retrieve it afterwards and that is where the problem is - I don't know how.
I am starting with an 08M with no external datalogging type module and no other software other than the program editor and I want to do something like record the level every 1 minute.
I need someone to explain the code for writing to the chip and then some very specific explanation of how I get that info off into a format that can then be put into excel.
Here is how far I have got
main:
readadc 2, b1
serout 0, N2400, (#b1, 13, 10)
wait 1
goto main
I know how to do a for...next loop so that it records a set number of times.
I know that this is probably stupidly simple stuff for most of you but I would really appreciate your help with this.
Thanks in advance
Andy
I have been using PICAXE for a while but have not done any data logging. I have looked through the manuals, books and forum but all of it assumes much more understanding than I have!
I want to start with some simple data logging of an LDR.
I am able to send the data with the program code below to my computer and display it using the datalink (although the graph never works?) And I can save that data as a csv as long as the interval is short.
However if I want to log data with large intervals the datalink window tells me there is no data and stops.
I realise this means I have to write the data to the chip and then retrieve it afterwards and that is where the problem is - I don't know how.
I am starting with an 08M with no external datalogging type module and no other software other than the program editor and I want to do something like record the level every 1 minute.
I need someone to explain the code for writing to the chip and then some very specific explanation of how I get that info off into a format that can then be put into excel.
Here is how far I have got
main:
readadc 2, b1
serout 0, N2400, (#b1, 13, 10)
wait 1
goto main
I know how to do a for...next loop so that it records a set number of times.
I know that this is probably stupidly simple stuff for most of you but I would really appreciate your help with this.
Thanks in advance
Andy