Welcome, %1$s. Please login or register. - Did you miss your activation email?

Login with username, password and session length
 

Author Topic: [How To - Arduino Nano] Starfleet Starship Running & Strobe Lights  (Read 11562 times)

Offline Arbiter

  • Lieutenant
  • **
  • Posts: 51
Re: [How To - Arduino Nano] Starfleet Starship Running & Strobe Lights
« Reply #60 on: April 23, 2016, 09:22:42 am »
Gadgetron,
you inspired me and I've received my nano boards today :) looking forward to playing with the codes and following your examples.
Thank you for your posts and your inspiration.

Offline Arbiter

  • Lieutenant
  • **
  • Posts: 51
Re: [How To - Arduino Nano] Starfleet Starship Running & Strobe Lights
« Reply #61 on: April 26, 2016, 01:13:28 pm »
Hi,
I'm having a problem with the first code on page 1.
I'm using 123D.circuits.io to test out the connections as I'm waiting on jumper cables. When I click on upload & run it comes back with the following error
 In function 'void loop()':
44:13: error: 'runLED1' was not declared in this scope
I'm a total newbie at this so I'm not sure what is wrong.
Thanks in advance :)

NB. Nevermind, I worked it out, I needed to add the digitalWrite and delay variables.
« Last Edit: April 26, 2016, 01:59:25 pm by Arbiter »

Offline NCC1966

  • Commander
  • ***
  • Posts: 146
Re: [How To - Arduino Nano] Starfleet Starship Running & Strobe Lights
« Reply #62 on: July 03, 2016, 04:04:25 pm »
I think that it may be an important update: a bit more than one year later now you can buy an Uno R3 card for the same price as OP bought his nano - around $3 on eBay!

Offline pocobor1470

  • Ensign
  • *
  • Posts: 1
Re: [How To - Arduino Nano] Starfleet Starship Running & Strobe Lights
« Reply #63 on: August 17, 2016, 09:01:46 am »
I am very new to this and starting with the NX-01, do you have programing for lighting this model.  I am excited, and nervous at the same time.  You make this all sound so simple, but at the same time complicated.  Any help would be fantastic.  Oh, almost forgot....a list of what I need would be great too.   Thanks.

Offline NCC1966

  • Commander
  • ***
  • Posts: 146
Re: [How To - Arduino Nano] Starfleet Starship Running & Strobe Lights
« Reply #64 on: September 01, 2016, 10:34:23 am »
I am very new to this and starting with the NX-01, do you have programing for lighting this model.  I am excited, and nervous at the same time.  You make this all sound so simple, but at the same time complicated.  Any help would be fantastic.  Oh, almost forgot....a list of what I need would be great too.   Thanks.

1) Start here:
https://www.arduino.cc/en/Guide/HomePage

2) Then register in their forum:
https://forum.arduino.cc/

3) Go to eBay and order an Arduino UNO R3 board (or check if you have it near to you). At eBay they can be really cheap:
http://www.ebay.com/itm/UNO-R3-ATmega328P-CH340-Mini-USB-Board-for-Compatible-Arduino-IB-/191927863166?var=&hash=item2cafcac77e:m:mkCgZWhcYLsULgWR0NZ9FsQ

Don't buy those "Super Arduino Kits" with a lot of parts even if it look tempting. If you are going to light spaceships you won't need mostly of the stuff that is included in the kits. Basically you will need only LEDs, resistors and a power supply to start.

4) Coding is a MUST. If you don't master C++ style code (Javascript, HTML5, etc) you MUST learn. Unfortunately it is not like just copy and paste someone else's code and watch your ship bring to life. You will need a minimum of coding knowledge to make things work. If you are still reading (LOL) learn it here (or anywhere else they teach this fantastic language):
http://www.learncpp.com/

If you already know C++ here it is the reference for the Arduino library:
https://www.arduino.cc/en/Reference/HomePage

I am starting with and like you I was nervous so I decided to start simple. I already have a good coding background -- I do coding for living -- but I am an almost zero in electronics. That's why I love Arduino concept: you can do electronics knowing almost nothing of electronics.

I suggest that you only step into it if you have some experience with coding and/or electronics. If you consider yourself a zero in both things get prepared to face a medium to long learning curve. Otherwise it's best to try the off-the-shelf electronic lighting kits that you can find around.

Read documentations, search online -- there is tons of tutorials and projects -- and ask questions! Be warned that Arduino is a digital circuit so it's fragile meaning that you cannot just hook dozens of LEDs on it without burn it. Read, learn and make your experimentation with care!

Good luck and have fun!

 ;D

Offline MarkW

  • Plastic Surgeon
  • Admiral
  • *****
  • Posts: 1339
    • MW ModelWerks
Re: [How To - Arduino Nano] Starfleet Starship Running & Strobe Lights
« Reply #65 on: September 05, 2016, 08:46:33 am »
I'd add a breadboard to prototype your work, and a soldering iron at some point too.  eventually you'll need to make a working prototype of your design (hence the breadboard), and you'll need to assemble the parts (soldering iron).  Without goign Arduino specific, you can pick up a lot of basic techniques from Youtube on soldering and such.
MarkW
"I can cross stab Hitler to death off the list of cool crap I thought I'd never do"
--Brock Sampson
NEW WEB ADDRESS

Offline RossW

  • Captain
  • ****
  • Posts: 278
Re: [How To - Arduino Nano] Starfleet Starship Running & Strobe Lights
« Reply #66 on: September 06, 2016, 03:45:39 pm »
For prototyping on a breadboard, I highly recommend getting some jumper wires like these:

https://www.sparkfun.com/products/124

https://www.sparkfun.com/products/11026

Offline big_daddy24

  • Lieutenant
  • **
  • Posts: 43
Re: [How To - Arduino Nano] Starfleet Starship Running & Strobe Lights
« Reply #67 on: September 24, 2016, 07:24:06 pm »
Sorry guys, I'm brand new to the arduino world, got my first board today. I've had a blast playing with it. I have a question, can you run more than 1 led per a pin on this code/board?

Offline RossW

  • Captain
  • ****
  • Posts: 278
Re: [How To - Arduino Nano] Starfleet Starship Running & Strobe Lights
« Reply #68 on: September 24, 2016, 07:51:31 pm »
Sorry guys, I'm brand new to the arduino world, got my first board today. I've had a blast playing with it. I have a question, can you run more than 1 led per a pin on this code/board?

The pins can sink a maximum of 20mA per pin which is typically 1 LED. You could try two in parallel or two in series and see if they light, but typically you would use a transistor or MOSFET in order to drive multiple LEDs.

 




Enterprise © Bloc