CliveWilcox
Member
I have the following requirement for logging inputs & outputs. The project operates underwater so it has to be small & by small battery. I can make several boards and spread them around if it helps!
It is a fixed underwater ROV (except it is vision blind)
The data needs to be displayed on LCD 16x2 for testing - human calibration. Or if anyone know how to wire up a better display let me know. I will also need to store collected data in memory for download later.
Logging time. If sample duration is for 3 hours the i want everything to shut down after 4 ( without data loss) Like wise, the mission could last as long as 10hrs so shutdown would be after 11hrs. ( It depends on its mission and required safety margin). I guess this requires battery backup
Problem 1. The devices for RTC have good points and bad points. Devices i have looked at so far are DS2417 - This is a lapsed timer. Would this be better than a RTC like DS1307. I notice that you can also get I2C devices with trickle charge. That would solve battery backups. The issue is that having read the data sheets I don't really understand them (new technology) can i date stamped and count the duration of the mission with one RTC device or do i need the lapsed timer as well? The mission is set active by a switch on the surface but only starts logging under water.
Parts so far - please suggest other options if you think they would be better.
1 x 28x1 or 28x2 - Have not decided yet.
2 x Honeywell HIH400-001 Humidity sensor - I understand and have these working
2 x Dallas DS18B20 Temp sensor - I understand and have these working
1 x Gas sensor - Outputs Inverted RS232 data - I understand and have these working thanks to another project and help from the forum. thanks guys. Gives 4 readings - but only two are used. Sample rate is set to 1sec, but it could be reduced to once evry 10secs at a push.
1 x fan complete with encoder (encoder is used on count input & shows only that it is working - speed not important)
1 x pressure sensor upto 14bar - I understand and have these working
Next question. How do i work out how much memory i need to log someting like this. I will be happy to have a flag set on an event if it helps - like fan stops, encoder output flaged error - time stamped. Alram LED light.
The motor fan is driven by PWM to save battery power.
There is also a few other LED and LCD alarms when certain conditions are passed, like low battery...
If any one can give a bit of advice mainly with memory storag that would be great. I must confess memory and data storage are my real muppet moments. It just how ever much i read data sheets on picaxe sheets it goes in omne brain cell and out the otherside. I guess i can't be good a everthing. Give me a block of metal and i can make dreams come true. Sigh
It is a fixed underwater ROV (except it is vision blind)
The data needs to be displayed on LCD 16x2 for testing - human calibration. Or if anyone know how to wire up a better display let me know. I will also need to store collected data in memory for download later.
Logging time. If sample duration is for 3 hours the i want everything to shut down after 4 ( without data loss) Like wise, the mission could last as long as 10hrs so shutdown would be after 11hrs. ( It depends on its mission and required safety margin). I guess this requires battery backup
Problem 1. The devices for RTC have good points and bad points. Devices i have looked at so far are DS2417 - This is a lapsed timer. Would this be better than a RTC like DS1307. I notice that you can also get I2C devices with trickle charge. That would solve battery backups. The issue is that having read the data sheets I don't really understand them (new technology) can i date stamped and count the duration of the mission with one RTC device or do i need the lapsed timer as well? The mission is set active by a switch on the surface but only starts logging under water.
Parts so far - please suggest other options if you think they would be better.
1 x 28x1 or 28x2 - Have not decided yet.
2 x Honeywell HIH400-001 Humidity sensor - I understand and have these working
2 x Dallas DS18B20 Temp sensor - I understand and have these working
1 x Gas sensor - Outputs Inverted RS232 data - I understand and have these working thanks to another project and help from the forum. thanks guys. Gives 4 readings - but only two are used. Sample rate is set to 1sec, but it could be reduced to once evry 10secs at a push.
1 x fan complete with encoder (encoder is used on count input & shows only that it is working - speed not important)
1 x pressure sensor upto 14bar - I understand and have these working
Next question. How do i work out how much memory i need to log someting like this. I will be happy to have a flag set on an event if it helps - like fan stops, encoder output flaged error - time stamped. Alram LED light.
The motor fan is driven by PWM to save battery power.
There is also a few other LED and LCD alarms when certain conditions are passed, like low battery...
If any one can give a bit of advice mainly with memory storag that would be great. I must confess memory and data storage are my real muppet moments. It just how ever much i read data sheets on picaxe sheets it goes in omne brain cell and out the otherside. I guess i can't be good a everthing. Give me a block of metal and i can make dreams come true. Sigh