GHA
Well-known member
The winking smilies hinted that it was a joke..........'cos I hadn't got that far with the coding!
The winking smilies hinted that it was a joke..........'cos I hadn't got that far with the coding!
Battery consumption is a possible issue.
One issue with the original Piboatmon is its power consumption was too high (20mAh+) which would slowly flatten my batteries on the mooring.
Yep, big issue for me, the nearest shorepower is a mile away!!!:ambivalence:
But seriously, for anyone on a swinging mooring there's definitely valuable information that would be great to be able to check from anywhere.
One that you have mentioned- Are my batteries getting low especially to the point of damaging them? (normally not a problem as I switch off the isolator, but we all forget things from time to time....and more as the years go by!)
Two- Is the boat still where it should be?
Three- Is the boat sinking (an extension of number 2)
..not in order of importance, but can anyone suggest others?
For a simple away from the boat monitor those 3 would probably be enough, but I can see lots more that could apply in a marina where you will be running other things like dehumidifier, charger etc
Yep, big issue for me, the nearest shorepower is a mile away!!!:ambivalence:
But seriously, for anyone on a swinging mooring there's definitely valuable information that would be great to be able to check from anywhere.
One that you have mentioned- Are my batteries getting low especially to the point of damaging them? (normally not a problem as I switch off the isolator, but we all forget things from time to time....and more as the years go by!)
Two- Is the boat still where it should be?
Three- Is the boat sinking (an extension of number 2)
..not in order of importance, but can anyone suggest others?
For a simple away from the boat monitor those 3 would probably be enough, but I can see lots more that could apply in a marina where you will be running other things like dehumidifier, charger etc
For the tinkerers, another nut cracked. The arduino bit of the yun can talk to the linux bit . Haven't run this from arduino code yet, but it works OK on the linux side so should be OK. Looks hopeful the linux chip will spend most of it's life asleep, being woken up once in a while to upload a file saved on the sd card if there's wifi. The arduino will snooze lightly, getting up quite often to log any data onto the file on the card and waking up Mr Linux and calling the python script below. It might just work... . All for a few mA.The logging onto an SD card isn't a big deal. Getting the lot to upload onto the cloud for safe keeping is an uncracked nut so far, an arduino yun might be the way forward.
RPi is the wrong platform for low power applications. Using a better choice platform and processor it is possible to get average consumption sub-milliamp and even down to the few microamp range. PIC 18F are suitable for simple applications and ARM Cortex M for larger ones.
Yep, big issue for me, the nearest shorepower is a mile away!!!:ambivalence:
But seriously, for anyone on a swinging mooring there's definitely valuable information that would be great to be able to check from anywhere.
One that you have mentioned- Are my batteries getting low especially to the point of damaging them? (normally not a problem as I switch off the isolator, but we all forget things from time to time....and more as the years go by!)
Two- Is the boat still where it should be?
Three- Is the boat sinking (an extension of number 2)
..not in order of importance, but can anyone suggest others?
For a simple away from the boat monitor those 3 would probably be enough, but I can see lots more that could apply in a marina where you will be running other things like dehumidifier, charger etc
I prototyped a YAPP that did pretty much that a couple of years ago. Power consumption was down to the few milliamp range without trying too hard and I estimated I could have got it down to an average of 1 milliamp by porting the application from an ARM STM32 to a PIC 18F. Its only means of raising an alarm was a SMS message but it could also respond to incoming messages for a status report. There wasn't any interest, so I didn't progress it.
I'm looking from a liveaboard cruising perspective so there are many more candidates, all of which a microprocessor could handle with not too much programming, cost or soldering..in no particular order and all logged to end up in the cloud...
Amps from solar
Stuffing box temp
engine exhaust temp
position
batt voltage
batt temp.
Probably a few more along the way. Temps are easy with the ds18b20 sensors, just daisy chain as many as you want into one pin on the board. https://www.sparkfun.com/products/245
Amps easy as well - https://www.sparkfun.com/products/8882. The logging onto an SD card isn't a big deal. Getting the lot to upload onto the cloud for safe keeping is an uncracked nut so far, an arduino yun might be the way forward. With a little code to get the power draw down to a minimum. http://www.element14.com/community/.../enchanted-objects-design-challenge--sleeping
A bit over the top probably but it's fun to tinker
I'm using a sim900 breakout board with a Sainsbury mobile sim card, 4 pence per text for the sms response side of the code and via HTTP Action to one of my websites, all passed in a single url then using PHP to send to a MySQL database.
Cheers
Stu
Cured tonight with a handful of de-coupling capacitors and electrolytics thrown around the electronics.
Why not use an artmel 328P or similar and leverage the ardunio ecosystem of bits, ideas, and code?
That's how mine works, did you have any problems with random crashes/lockup?.
When I run it with the sim900 card switched off its fine. When I run with the sim900 card on it works for a random amount of time and then freezes. I am wondering if rf noise is getting in from the closely located sim900 transmitter.