|
Post by hoppy on Sept 3, 2016 10:19:52 GMT
I know a few of you seem to play around with Arduino devices and then there are a few of us who wish we would/could start work on a project. I thought that maybe it could be good to have a general Arduino thread to discuss it, especially if some of us dummies ever start a project. If this thread generates activity, maybe it could be good to link threads where Arduino projects are discussed or to threads with problems/solution that could also be done with Arduino... If I was ever to start with an Arduino (or RaspberryPi) there are two projects I'd love to try.. 1) a unit that has multiple sensor inputs that will display the info on a LCD display and even convert the information to NMEA/NMEA2000/Seatalk for presentation on a MFD. 2) logging of data from NMEA for building polars.... A simple monkey see, monkey do project is a good way to start. I kind of like starting with temperature sensor project as there are plenty of things onboard that would be good to monitor. It all looks pretty simple to start with
|
|
|
Post by hoppy on Sept 3, 2016 10:24:50 GMT
|
|
|
Post by vasko on Sept 3, 2016 13:24:51 GMT
hoppy - it is important to have a well designed skeleton of your project first - you need to understand how to simulate kind of parallel processes on arduino as you will slowly add more and more gauges and outputs and all of them need to work together in the same time ... take look first at this example as a skeleton and the ideas behind it - it is about 10 lines only... : github.com/vtomanov/Motor64/blob/master/M64Example.inoit deals with managing a dc motor - the problem : if you want a dc motor to go from 0% to 100% or vice verse you actually need do it on steps 10,20,30... etc . this is what the example does - randomly choose new motor power between -100 and 100 - minus is reverse and calculates the steps ... heppy to help you with any questions that you may have
|
|
|
Post by hoppy on Sept 3, 2016 14:15:22 GMT
Thanks.. Installed the Arduino software on my Mac and it was nice to see it comes with sample source code for quite a few little jobs. What language is it, C++ It looks pretty straightforward to understand what it's doing. I'm a Cobol dinosaur, tried debugging Assembler, used to play with Visual Basic. I'm not a fan of diving into a manual to learn something new, much more prefer to get examples and see what and how the code does something and experiment Looks like there is plenty of code on Github to look at Must get an Arduino board... but I will probably have to wait a while though as I will have a lot on my plate.
|
|
|
Post by hoppy on Sept 3, 2016 14:25:03 GMT
any suggestion on which board to get? The Genuino 101 store.arduino.cc/product/GBX00005 with the built-in six-axis accelerometer / gyroscope would definitely be a good one for a boating project, especially with my NMEA logging idea (be able to log heal angle and perhaps even come up with a "sea state" value. I guess the Genuino Mega 2560 Rev3 store.arduino.cc/product/GBX00067 would be best for a multi sensor project With the cheap price of the boards, perhaps the starter kit store.arduino.cc/product/GKX00007 with the Uno is best and then buy a more suitable board later.
|
|
|
Post by vasko on Sept 3, 2016 15:07:21 GMT
I'm personally very happy with £5 chinease Mega2560 - if you want a genuine arduino no probs it will do the same job - just better get the mega version which have 8K memory - as experimenting and testing need memory a lot - for the final product you can use uno or nano depending on your memory requirements...
|
|
|
Post by Zanshin on Sept 3, 2016 15:43:38 GMT
I'm still playing around with various arduino projects aboard. I have my fridge/freezer monitoring and control system almost finished, and logged my energy consumption (and a GPS input) as well. Right now I'm playing around in my spare time with a 10-axis sensor system and am trying to figure out what I can do with my boat's roll/pitch/yaw information over time.
|
|
|
Post by hoppy on Sept 3, 2016 16:27:54 GMT
I'm still playing around with various arduino projects aboard. I have my fridge/freezer monitoring and control system almost finished, and logged my energy consumption (and a GPS input) as well. Right now I'm playing around in my spare time with a 10-axis sensor system and am trying to figure out what I can do with my boat's roll/pitch/yaw information over time. combine it with NMEA data about your sailing and create an accurate 3d graphic of the boat sailing
|
|