Go Down

Topic: Arduino .NET library. (Read 1 time) previous topic - next topic

Matas

Dear Arduino friends,

I wrote arduino communication library for .NET framework and would like to ask if you would like to see it here? I have already released it in Lithuanian, but if there would be and interest - I would rewrite it for English guys :) Any  suggestions appreciated.
Here is a class diagram:

a.d

What exactly does it do? Does it connect to the arduino and run commands on it or is it an approximation of the code you'd write for the Arduino?

Have you looked at the .Net Micro framework?

Matas


What exactly does it do? Does it connect to the arduino and run commands on it or is it an approximation of the code you'd write for the Arduino?

Have you looked at the .Net Micro framework?


It is library for .NET applications (dll file) to simply communicate with arduino. Send external commands etc.

a.d

Ah OK, that's cool. Do you need a special sketch on the Arduino for it to work?

Matas


Ah OK, that's cool. Do you need a special sketch on the Arduino for it to work?


Yes. Looks like:

Code: [Select]

#include <ArduinoNET.h>

ArduinoNET NET;
void setup()
{
  NET.start(19200, false);
}

void loop
{
  NET.work();
}

Im trying to understand what I could use this for. 
Is its purpose to provide a way to minimise the amount of code I would need to write on the Arduino itself?
If so I can see an advantage here - I have the nice easy C# environment in which to write code, I have access to lots of memory, can provide a nice UI, do stuff on the internet etc etc, all real easy.   I want to switch something on and off, just use digitalWrite correct?

That would be useful I reckon, some things seem messy on the Arduino - eg accessing the internet.

The disadvantage is I would need to leave my PC on 24/7.

Have I got it right?


Go Up