Model Boat Mayhem

Technical, Techniques, Hints, and Tips => The "Black Arts!" ( Electrics & Electronics ) => Topic started by: Brian60 on December 30, 2014, 04:06:47 pm

Title: ARDUINO
Post by: Brian60 on December 30, 2014, 04:06:47 pm
As above. Has anyone meddled with  them yet? My son bought me one for Xmas. They can control (in my one 12 ) lots of electrical/electronic devices from a digital input (transmitter) so I think I've got the solution to controlling all my extra servos and switches from one tx function!

From what I've read so far they are the next big thing for rc. Think about it plot a course around your local pond and the unit with its add on GPS bit will steer your craft for you with no further input from you! Of course it has its drawbacks you need a little programming knowledge etc,but already I have found loads of code on the interweb for free. Im looking forward to4 seeing what it will do.
Title: Re: ARDUINO
Post by: Tug Fanatic on December 30, 2014, 04:18:48 pm
Sounds interesting but I think that this is way way beyond me at this stage. In fact I had to search to find out what this is about & I still don't really see how this connects to an model radio!
http://store.arduino.cc/ (http://store.arduino.cc/)
 
 
Title: Re: ARDUINO
Post by: Umi_Ryuzuki on December 30, 2014, 06:07:43 pm
 But be assured, this is practically a hobby in itself.


Pick up a book at your local retailer(language).
It is well worth the read, and can teach you the basics of programming and wiring for the Arduino.
I use this one,
http://www.amazon.com/Beginning-Arduino-Technology-Michael-McRoberts/dp/143025016X
The book will start out at turning LED on and off, and runs through the basics of servo motor
control, and then stepper motors and more.


 :-))
Title: Re: ARDUINO
Post by: Brian60 on December 30, 2014, 07:22:38 pm
Sounds interesting but I think that this is way way beyond me at this stage. In fact I had to search to find out what this is about & I still don't really see how this connects to an model radio!
http://store.arduino.cc/ (http://store.arduino.cc/)
It is connected to any of the RX's servo pins, depending on how 'long' TX's signal is the arduino interprets this to do functions
But be assured, this is practically a hobby in itself.
Umi most of it is available online anyway with sample code. The code is based loosely on C++ as I once could write JavaScript a lot of it looks familiar, so given 6months I should have it understood

Title: Re: ARDUINO
Post by: Umi_Ryuzuki on December 30, 2014, 08:07:26 pm
I liked the book, as it allowed me to jump back and forth on the pages, and
compare one code to the next, and begin to understand what the programming was doing.
I had never programmed anything before, and having it on hard pages of a book was reassuring.
And I would never lose the bookmark, or get the wrong webpage,...etc.
 %)
Title: Re: ARDUINO
Post by: Time Bandit on December 30, 2014, 09:29:48 pm
I´m also caught by those tiny little things even if I programm the Atmels directly without using the arduino hardware (mainly because 1 attiny is sooooo much cheaper  %) )


It is connected to any of the RX's servo pins, depending on how 'long' TX's signal is the arduino interprets this to do functions

You will learn it´s not that easy  :}
Title: Re: ARDUINO
Post by: Brian60 on December 31, 2014, 10:45:36 am
I´m also caught by those tiny little things even if I programm the Atmels directly without using the arduino hardware (mainly because 1 attiny is sooooo much cheaper  %) )


You will learn it´s not that easy  :}

Oh I know its not going to be that easy, I was explaining in the simplest of terms the  basic  operation for tug fanatic.
Title: Re: ARDUINO
Post by: chuffy on February 13, 2015, 08:26:11 pm
A couple of books that have got me started


Getting Started with Arduino 3rd ed.Massimo Banzi and Michael Shiloh


Programming Arduino. Simon Monk


Could go one better than Umi, it IS a hobby in it's self, looking to use my uno as a hub for the first project using a sound Beier sound card and IR card.


Paul.
Title: Re: ARDUINO
Post by: afb on February 27, 2015, 10:38:20 am
I've been getting into the Arduino in the last few months and found "Arduino Cookbook" by Michael Margolis very helpful.

So much so that I'm well advanced with a new engine sound unit - a description for the Geeks amongst us is contained in the notes section of the Youtube video

https://www.youtube.com/watch?v=YvFTQhtDioE (https://www.youtube.com/watch?v=YvFTQhtDioE)
Title: Re: ARDUINO
Post by: boatmadman on February 27, 2015, 01:07:52 pm
Very interesting.


Does it work on a brushless setup? I have tried a JJC unit on brushless and it just wont work. I suspect its something to do with a feedback signal from the motor and esc through to the rx.


Thoughts anyone?
Title: Re: ARDUINO
Post by: g6swj on February 27, 2015, 01:49:10 pm
BoatMadMan,

I have a JJC and brushless - all works fine.  To debug what might be going wrong - If you disconnect the motor (eliminate the possibility of signal feedback) does the JJC make a sound?

Regards
Jonathan
Title: Re: ARDUINO
Post by: Brian60 on February 27, 2015, 06:05:23 pm
My Arduino is still in its electrostatic package! Discussing what I wanted to achieve, a member on another forum sent me a programeed Picaxe chip and board to do all the operations I wanted.

So I now have two devices to get to grips with- the Arduino and the Picaxe :D
Title: Re: ARDUINO
Post by: afb on February 27, 2015, 06:15:22 pm
Yes, I have a Rasberry Pi still waiting to escape from its conductive bag - so many toys, so little time . . . . . .