Can I ping or "hello world" an Arduino.
Background: My son and I bought a 3-D printer kit.
(EZ-3D)
We are having some issues talking with it. (Well we can't talk at all.) So we thought to upload the firmware,
It’s an Arduino Mega 2560, and when we upload the Arduino times out... but it takes a minute or two. Can I try some simpler program just to try and talk to the Arduino?
I’m almost a "virgin" Arduino user so be gentle.
-
Do you have an actual programmer or do you only have the on-board USB?Ignacio Vazquez-Abrams– Ignacio Vazquez-Abrams2014年12月16日 17:54:00 +00:00Commented Dec 16, 2014 at 17:54
-
@IgnacioVazquez-Abrams, Ahh.. I don't think we have a programmer, but I'm not sure. (We downloaded the Arduino software... is that what you mean by programmer?) I mostly an idiot in these types of things.George Herold– George Herold2014年12月16日 18:12:42 +00:00Commented Dec 16, 2014 at 18:12
-
Something that can access the MCU at a low level, such as this or this.Ignacio Vazquez-Abrams– Ignacio Vazquez-Abrams2014年12月16日 18:20:46 +00:00Commented Dec 16, 2014 at 18:20
1 Answer 1
Adafruit has a good set of guides to getting started with arduino: https://learn.adafruit.com/series/learn-arduino
The "Blink" program is the equivalent of "hello world".
When testing you probably should disconnect the Arduino from the 3D printer.
-
Thanks Craig, It's all built in so I can really remove anything. (We (my son and I) did do some simple Arduino projects last year... talking to it was very easy. Which surprised me at the time.George Herold– George Herold2014年12月16日 18:08:59 +00:00Commented Dec 16, 2014 at 18:08
-
Blink is about the most basic Arduino program there is - it just flashes the on-board LED. But once you get that far you will have proven the Arduino software on your computer, the USB connection between your computer and the Arduino, and the basic functioning of the Arduino itself. It is a really useful step to take because you'll know that much of your system works and any troubles must be in the Arduino sketch, the Arduino itself, or the hardware connected to it. I do this whenever I update my Arduino software, connect to a new Arduino or to test a newly-built board.JRobert– JRobert2014年12月16日 22:09:01 +00:00Commented Dec 16, 2014 at 22:09