Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Control Arduino With VB
Control Arduino With VB
NET"
Buenas a tod@s,
Espero con esta nueva entrada poder contribuir con mi granito de arena a ayudar a todos
aquellos que os habis animado en el mundo de la electrnica a intentar hacer alguna
aplicacin con "Visual Basic .NET y Arduino". Sin ms preambulos aqu esta todo lo
que necesitis.
Os presento la aplicacin "Control Arduino with Visual Basic .NET by RS232-USB"
realizada en "VB .NET para controlar Arduino" Uno, cuyo microcontrolador es el
ATMega328P-PU. Con ella podris manejar a vuestro gusto cualquiera de los puertos de
I/O de la tarjeta, tanto los pines digitales, como los PWM as como tambin los
analgicos.
Esta es la fachada de como ha quedado la aplicacin:
"VB.NET Arduino"
Aqu os muestro la tarjeta que he usado para el control y las pruebas:
En este par de vdeos os muestro como manejar la aplicacin de "VB .NET para
controlar Arduino"
//
//
//
//
//
//
Pues bien, aqu os dejo todo el cdigo de la aplicacin realizada con Visual Basic .NET:
https://drive.google.com/file/d/0By2_W81NKkeAOHMxWEI3VzhaVEk/view?
usp=sharing
Pantallazo de como es programado con xito el fichero de configuracin para el
Arduino.
Finalmente os dejo tambin un par de vdeos donde se ven como se maneja la aplicacin
software junto con la placa board de pruebas. En ellos veris el funcionamiento
completo de control sobre todos los pines I/O.
Espero que os guste y que a partir de este ejemplo podis hacer vosotros vuestras
aplicaciones de control con Arduino personalizadas para vuestras aplicaciones. ....
nimo!...
Ya estoy en marcha con nuevos ejemplos ....!!
Un saludo y hasta pronto.
From now I'm going to write the pages of my blog in english. The reason is
very simple, I would like that they can be read for as many people as
possible, so .... I hope with my english writing don't scare anyone, it is not
perfect but I'll try to do the best possible.
Said that! ... here I show you a new page where I've been working to make a
user "control LED for Visual Basic .NET".
It is a very simply control that many times we use in many electronics GUI
(graphical user interface) applications and some times we don't have in
none control toolboxes in the IDE Software (integrated development
environment).
Here I show you a video where the user contol LED have been used in an
example application.
How to use the user control LED from the .dll compiled library
.
3. Go to the toolbox and there, select the general tab and over there click
with the right button mouse to open the emergent menu.
4. Select the option "Select elements". Here, click over tab "Components
.NET Framework" and click over button. A new windows dialog box are
shown. You should look for the user contol LED file .dll that you should have
if
you
have
downloaded
from
the
link
indicated
before.
5. If the user control LED have been loaded succesfully, you can use it as
you can see in the next picture. Exactly in the tab general you can find the
new user control.
6. Select the new user control with the mouse and drag and drop over the
window form and this appear drawn. This control can be setup as whatever
other control with his properties window.
7. Finally, include this code and run the code with F5. A picture like this
would be shown.
That's all! , Just now, we have an application with our new user control LED.
I've developed a small application that shown how can be setup this user
control. Its appearance is shown you in this picture.
It's enough for show you how the control works and its characteristics.
I hope that you like it!
Click over this link to download the source code for "User Control LED" .
This is another link where I show you a good example where I've used the
.dll "VB.NET Led". Really is other page of the blog.