Pages: 1 [2]   Go Down
Author Topic: Advice on very simple project for newbie please.  (Read 2261 times)
0 Members and 1 Guest are viewing this topic.
Seattle, WA USA
Online Online
Brattain Member
*****
Karma: 551
Posts: 46254
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 514
Posts: 31550
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 452
Posts: 18694
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Wiscon
Offline Offline
Newbie
*
Karma: 1
Posts: 22
Admin whatisacnc.com
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

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

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 240
Posts: 24454
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

"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.

Wiscon
Offline Offline
Newbie
*
Karma: 1
Posts: 22
Admin whatisacnc.com
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

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

Pages: 1 [2]   Go Up
Jump to: