Go Down

Topic: Advice on very simple project for newbie please. (Read 3458 times) previous topic - next topic

PaulS

If what you meant was how to develop a program in VB that talks to the Arduino, that is quite a different story.
http://arduino.cc/playground/Main/InterfacingWithSoftware
Take a peak at all the ways that a PC, phone, etc. can talk to the Arduino.

GRSP


Quote
any tips on how to upload a program via .net?

Why make things hard and reinvent the wheel?
Just use the IDE and avrdude will do the rest.


Hi

Thanks but I'm not quite sure what you mean - could you expand pleae?

GRSP


If what you meant was how to develop a program in VB that talks to the Arduino, that is quite a different story.
http://arduino.cc/playground/Main/InterfacingWithSoftware
Take a peak at all the ways that a PC, phone, etc. can talk to the Arduino.



Hi.

That looks useful thanks.

I'm wondering if it's too complicated for what I'm after though.
I have a red led on pin 11 and a green led on pin 12.
My .net program just needs to send 4 commands:

- both off
- both flashing
- red only on
- green only on
Is it possible to find out the code the arduino needs to do this and simply send it out to the serial port?

Grumpy_Mike

Quote
Is it possible to find out the code the arduino needs to do this and simply send it out to the serial port?

This is code that you write on the arduino. It is very simple code, you can find out how to do it by visiting the learning section of this web site.

Nick Gammon

Quote
I don't really want to have to learn a lot about the technology ...


...


Yes they are grumpy, critical and superior. Just the sort of responses that drives people away - maybe that's what they want though - leave them alone in their little club??


Yes, good idea. Go to a forum where they are prepared to help people who aren't prepared to learn anything. Wherever that is.
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

GRSP


Quote
I don't really want to have to learn a lot about the technology ...


...


Yes they are grumpy, critical and superior. Just the sort of responses that drives people away - maybe that's what they want though - leave them alone in their little club??


Yes, good idea. Go to a forum where they are prepared to help people who aren't prepared to learn anything. Wherever that is.



Wow - so helpful, why bother?

imrobc


Hello

Well I really don't know where to start - even where to attach the LEDs.

I realise I was a bit blunt but isn't it best to be honest? I'm just looking for some help to get me going without having to understand everything...


Hi,
From what I have found and I am pretty new to all this too, is that you need a couple of things to get started.

The first is the Arduino IDE (integrated design environment), the main page has a download section just select your operating system.
Arduino has made a simple GUI (Graphical User Interface) for the IDE, and made it possible to "Flash" the AVR on your Arduino by just plugging it into a USB port on your computer.

The second thing you need is a "Sketch", the GUI mentioned above has a bunch built in already, and they provide one that turns an LED on or off. They even take into consideration that you may only have the Arduino PCB and no LED or Resistors, the Sketch uses the pin number 13 as the I/O so the LED on the Arduino flashes based on how you programmed the Arduino using the "Sketch"

Third thing you need is an idea, from there you can start asking people how to program certain things using programming languages you choose. For example if your a PHP guy you can ask people how to turn an LED on or off using the language, or ask how the Sketch on the Arduino communicates with the GUI you're constructing.

Not all Arduino applications need a GUI, the Arduino can also be programmed to interact with you and others without the computer, for example you may want to have some Christmas lights flash on and off to the music playing.

So what do you want to do with your newly acquired Arduino?

Cheers,

Rob
http://whatisacnc.com
http://whatisacnc.com
The frustration of a CNC

AWOL

Rob, I think if you look at the OP's profile, you'll find you're wasting your breath.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

imrobc


Rob, I think if you look at the OP's profile, you'll find you're wasting your breath.

Thanks for the tip :)
http://whatisacnc.com
The frustration of a CNC

Go Up