Oldest posts shown first (Show Newest First) | (Print Booklet) |
๐ฌ Re: Arduino and model boats
4 years ago by ๐ญ๐บ MouldBuilder ( Vice Admiral)
โง 13 Views ยท 1 Like
Flag
I will be following with great interest. I bought a 32 exercise Arduino starter pack some time ago which is still unused. Time to get cracking I think. I am in quarantine now so I should find some time to start.
Thanks for all of your time you are giving us Jonathan. It is much appreciated. Peter.๐ ▲
โฉโฉ
Martin555
|
Login To
Remove Ads ๐ฌ Re: Arduino and model boats
4 years ago by ๐ฉ๐ช Hellmut1956 ( Master Seaman)
โง 17 Views ยท 2 Likes
Flag
It is great to see another one trying to add to the toolbox of the naval modeler the use of electronics. About more than a decade ago I had been disappointed by the poor implementation of a multi prop module from robbe. During just a weekend a friend, also a naval modeler and myself, build a small board using the avr mega8 controller and were able to display a numeric value of each of the 8 channels signal on an 80x4 display. From there it was just a small step to have these simple circuits offer full functional operation and control of 8 servos from a single signal, a single channel of an RC system. In those days this was a simple and cheap way to achieve this.
Today, with an Arduino UNO clone for less than 5 Euros from China and with a tremendously more powerful controller, the AT mega328P is the cheapest and easiest way to use electronics to implement the desired functionality, RC controlled, into your model. The Arduino IDE, the programming environment, additionally makes the programming and loading of programs on the controller. This will open a world of possibilities as a powerful tool for naval modelers. When you look on the circuit board of an Arduino UNO, is really not more than making available all pins of the controller on pins of the board. In my days we programmed the atmega8 with a Basic compiler, BASCOM. The great think of this compiler ist that may of the instructions it offers are building blocks for naval modelers projects. Here you find the Basic compiler which can do programs the size most of the projects might require and it is for free. The purchased version, as I own it, in my opinion is worth it once you have projects exploding in your mind. ▲
โฉโฉ
Martin555
Colin H
|
๐ฌ Re: Arduino and model boats
4 years ago by ๐ช๐ธ Julio ( Petty Officer 1st Class)
โง 24 Views ยท 2 Likes
Flag
Hi:
I am added to the study group ... if you like it. ▲
โฉโฉ
xtramaths
Martin555
|
๐ฌ Re: Arduino and model boats
4 years ago by ๐ฌ๐ง Martin555 ( Fleet Admiral)
โง 14 Views ยท 2 Likes
Flag
Hi Jonathan,
I started learning Arduino after watching Paul Mcwhorter's videos. I only learnt to switch a few lighting circuits on and off and some Morse signals then promptly forgot it. I must try and do better LOL!!! Martin555. ▲
โฉโฉ
Colin H
Julio
|
๐ฌ Re: Arduino & Model Boats - Part 2
4 years ago by ๐ฌ๐ง G6SWJ ( Midshipman)
โง 15 Views ยท 3 Likes
Flag
Hi Rick,
All Martin said and - Yes the Nano can be used - it's great for model boats as it has a small footprint. It is easy to connect more than one Nano together to form distributed processing if we need more input/output pins or more processing power. Regards Jonathan ▲
โฉโฉ
Martin555
Colin H
RNinMunich
|
Login To
Remove Ads ๐ฌ Re: Arduino & Model Boats - Part 2
4 years ago by ๐ฉ๐ช RNinMunich ( Fleet Admiral)
โง 13 Views ยท 1 Like
Flag
"Great article but can it be transferred to the "HOW TO" section "
I 'see' your thinking Mike, but the advantage of leaving it as a Blog is that we can print the whole caboosh as a Booklet๐ Finding it again later should be easy enough by simply searching for Arduino! Cheers, Doug ๐ PS Another advantage is that here we can add comments and ask questions, which is not easily possible in the How To section. One (anyone) can only make revisions - which might lead to chaos.๐ฎ As far as I know there are only four of us at the moment who can alter Blog posts in addition to the originator, and only one of those has direct experience of Arduino programming. Cheers, Doug ๐ ▲
โฉโฉ
Martin555
|
๐ฌ Re: Arduino & Model Boats - Part 2
4 years ago by ๐ฌ๐ง Colin H ( Fleet Admiral)
โง 13 Views ยท 1 Like
Flag
Good video, I believe I can understand your explanation and I will be trying it for myself.
Following with great interest, thanks, Colin. ▲
โฉโฉ
Martin555
|
๐ฌ Re: Arduino & Model Boats - Part 2
4 years ago by ๐ฌ๐ง mturpin013 ( Admiral)
โง 14 Views ยท 2 Likes
Flag
Great article but can it be transferred to the "HOW TO" section otherwise it will as time goes on disappear as the blogs move on, in the "HOW TO" section it will always be available.
▲
โฉโฉ
Martin555
RNinMunich
|
๐ฌ Re: Arduino & Model Boats - Part 2
4 years ago by ๐ฌ๐ง Martin555 ( Fleet Admiral)
โง 12 Views ยท 0 Likes
Flag
Hi Rick,
I have used a Mega, Uno and a Nano and they all program the same. Hope this helps. Martin555. ▲
โฉโฉ
No likes yet
This member will receive 1 point for every like received |
๐ฌ Re: Arduino & Model Boats - Part 2
4 years ago by ๐จ๐ฆ Newby7 ( Fleet Admiral)
โง 13 Views ยท 1 Like
Flag
I liked the videos but not sure yet if can use the nano.
Rick ▲
โฉโฉ
Martin555
|
๐ฌ Re: Arduino & Model Boats 6 - Digital Multi Voice Sound
4 years ago by ๐ฉ๐ช RNinMunich ( Fleet Admiral)
โง 13 Views ยท 1 Like
Flag
Hi Jonathan,
Recommendations and useful links to suppliers are always welcome, especially when relevant to current projects and topics. Only exception might be if it is obvious that the poster has a personal commercial interest in the linked company. I for one would be VERY interested in benefiting from your pioneering experience๐ My opinion anyway. I'm sure Stephen will chime in if he has other reservations. Cheers, Doug ๐ AKA Assistant Chief Cook and Bottle Washer๐ BTW: I love carrots, especially caramelised๐ What's up Doc?๐ ▲
โฉโฉ
Martin555
|
Login To
Remove Ads ๐ฌ Re: Arduino & Model Boats 6 - Digital Multi Voice Sound
4 years ago by ๐ฌ๐ง G6SWJ ( Midshipman)
โง 14 Views ยท 2 Likes
Flag
Hi Martin,
I have limited play time each week - I have recently been working with another model boater to create a two way serial data exchange module that turned out just fine but used up my play time so no tutorial publication here. I find myself in a situation where every penny counts due to the pandemic - in my previous life I had a healthy monthy budget that I could spend on electronic gadgets without thinking twice... most of the examples I will publish are based around the Arduino Nano or esp32. I will collate some of the suppliers I have used over the years and publish the list if that's ok with the forum owners(?) Next installment to follow soon... Regards Jonathan ▲
โฉโฉ
Martin555
RNinMunich
|
๐ฌ Re: Arduino & Model Boats 6 - Digital Multi Voice Sound
4 years ago by ๐ฌ๐ง Martin555 ( Fleet Admiral)
โง 12 Views ยท 0 Likes
Flag
Hi G6SWJ,
I am definitely not anywhere near "Jedi" level and have an extremely limited budget so i might not be able to do some of this course but i am looking forward to your next log update. Martin555. ▲
โฉโฉ
No likes yet
This member will receive 1 point for every like received |
๐ฌ Re: Arduino & Model Boats 8 - Bilge Water Alarm
4 years ago by ๐ฌ๐ง Martin555 ( Fleet Admiral)
โง 12 Views ยท 0 Likes
Flag
Thank you Jonathan,
I have never been very good when it comes to computers and that sort of thing. Following this thread will not be easy for me so please be prepared for me to ask a lot of silly questions. Martin555. ▲
โฉโฉ
No likes yet
This member will receive 1 point for every like received |
Login To
Remove Ads ๐ฌ Re: Arduino & Model Boats 8 - Bilge Water Alarm
4 years ago by ๐ฌ๐ง G6SWJ ( Midshipman)
โง 13 Views ยท 1 Like
Flag
Hi Martin,
Thank you for the question - I will make a post about data types, memory use, scope etc. In answer to your question: 'int' - is a data type that allows you to store a whole number value from -32,768 to 32,767 e.g. int myAge=21; ๐ The const keyword prefix stands for constant (read only). This means that the const variable can be used just as any other variable of its type, but its value cannot be changed A good use of a constant would be: date of birth or Pi const int dobYear = 1964; 'const' is used in the code example where we have defined a variable name referring to hardware pin(s). e.g. const int ledPin = 13 ; Clearly we do not want a coding error to change a hardware pin reference in normal use as this would lead to malfunctioning! So it's a belt and braces approach to eliminate this type of error ocurring, just a nice approach to adopt when declaring pin references. Should any part of the code attempt to modify the 'const' you will get a compile error. Hope that helps Jonathan ▲
โฉโฉ
Martin555
|
๐ฌ Re: Arduino & Model Boats 8 - Bilge Water Alarm
4 years ago by ๐ฌ๐ง Martin555 ( Fleet Admiral)
โง 12 Views ยท 0 Likes
Flag
Hi Jonathan,
What is the meaning/difference between :- "int" and "const int" Martin555. ▲
โฉโฉ
No likes yet
This member will receive 1 point for every like received |