Тёмный

Interfaz gráfica (GUI) con Visual Basic .NET y Raspberry Pi Pico para leer Sensores y manejar Robot 

Talos Electrónico in English
Подписаться 2,5 тыс.
Просмотров 3,5 тыс.
50% 1

Опубликовано:

 

25 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 18   
@arantxasegado
@arantxasegado 2 года назад
Buenas tardes, me ha interesado bastante tu video debido a que actualmente tengo que desarrollar una aplicación similar. Tengo todos los programas implementados en una RPi3 y me gustaría hacer una interfaz gráfica mediante Visual Basic. La manera para comunicarme será por puerto serie debido a que en la zona donde tomaré las medidas no hay conexión a internet. Sin embargo, el intercambio de datos es amplio y encuentro mucha información sobre cómo comunicar la interfaz gráfica con los programas de la RPi3. Si tienes algo de información adicional o algún libro y me lo puedes decir... ¡Muchas gracias y saludos!
@taloselectronico
@taloselectronico 2 года назад
Hola Maria, gracias. Bueno, puedes comunicar la RPI3 usando el mismo código en Visual Basic. Si tus programas en la RPI3 están en Python puedes usar la librería PySerial para comunicarte y enviar información desde tu RPi3 hacia la aplicación en VB digamos que está última es génerica. Si quieres escribeme a taloselectronico@gmail.com Saludos desde Colombia
@EdwardYamunaque
@EdwardYamunaque 2 года назад
Hola, ¡Qué libro o curso recomiendas para Visuall Basic .NET?, para trabajar en PC industriales-SCADA- con entorno Windows, necesito saber de este entorno, saludos..
@taloselectronico
@taloselectronico 2 года назад
Hola Edward, hay varios libros en inglés que le pueden ayudar uno de ellos es este (Programming with Microsoft Visual Basic 2017) o VISUAL BASIC Programming, For Beginners Learn Coding Fast! Ambos los puede conseguir en la web y tal vez haya una versión en español. Creo que lo primero es tener la lógica y la forma de programación (declaraciones, sentencias, etc.) del lenguaje. Una vez esto quede claro le quedará fácil hacer su aplicación SCADA por ejemplo, usando MODBUS o libnodave para PLCs. Si no ha programado antes en este lenguaje comience con lo sencillo, declaraciones, manejo de bucles, cadenas, etc., y va acomomdando lo que aprenda a su aplicación industrial. VB .NET es un lenguaje que lo puede aprender rápido. Saludos cordiales.
@EdwardYamunaque
@EdwardYamunaque 2 года назад
@@taloselectronico Gracias.
@daniaazzahra1698
@daniaazzahra1698 2 года назад
hi im from indonesia and i have some questions, first of all your video is really helpful but do we still have to use phyton to connect vb net to raspberry pi pico? im still confused about that, it would be helpful if you can answer me thank you so much!
@taloselectronico
@taloselectronico 2 года назад
Hi, Dania, thanks. To program your Raspberry Pi Pico you need Python or C (typically Python). Please review the following page: www.raspberrypi.com/documentation/microcontrollers/raspberry-pi-pico.html But, in order to plot and visualize data from your Raspberry Pi Pico, in the video, I used VB to contruct the Graphical User Interface (GUI). Data are transferred from the Raspberry Pico to the application in VB, employing UART protocol (Serial communication). Now, to create the GUI, even though, VB is a good option, you can use another language, for instance, Java, C#, Python, etc. I chose this option because the UART1 of the Raspberry Pi is occuped by the connection with Thonny Python (IDE) and it can not be shared to transfer data. If you have another doubt, let me know. Greetings from Colombia, South America. Kind regards. Jonathan
@daniaazzahra1698
@daniaazzahra1698 2 года назад
@@taloselectronico thankk you so much for replying to my comment, but im still a bit confused about the steps of how to connect vb net with raspberry pi pico because i dont speak spanish.. im really struggling so would you tell me shortly about the steps of connecting both of them and what method do we use to send data from vb to raspi pico but...in english? thank you so much for your help
@taloselectronico
@taloselectronico 2 года назад
Hi Dania, I created an english video for you. Please see the following link: drive.google.com/file/d/1pcDQ6jB7NJIxAmdIXIu3vaLl44BPkeFO/view?usp=sharing I'm not a native speaker, I hope that you understand the video. Please, let me know if you have another doubt and if the video is ok.
@taloselectronico
@taloselectronico 2 года назад
PD: I forgot the files commented in english, see my GitHub repo: github.com/Uniminutoarduino/CanalRU-vid/tree/main/RaspberryPi/Raspberry%20Pico/RaspberryPiGUI(English)
@daniaazzahra1698
@daniaazzahra1698 2 года назад
@@taloselectronico oh my god, thank you so much jonathan, you did me a really huge help😭 but i have one more question like maybe this is dumb but im still a newbie in this... so like you using thonny IDE right? and it's used to program the raspi pico is that correct? i kept thinking like maybe it's just the same as when we want to upload program to NodeMCU using Arduino IDE, is that also how to program the raspi pico? i mean like the concept is the same
@ericarmenta7483
@ericarmenta7483 Год назад
Hola amigo, yo estoy haciend una interfaz pero con Python y Visual Studio Code, y estuve batallando del porque no hacia la comunicacion con el cable USB. Por qué no se puede usar el cable USB normal para comunicar la interfaz con la Raspberry?
@taloselectronico
@taloselectronico Год назад
Buenos días Eric. Un cable USB normal no es posible porque se usa comunicación serial en la interfaz. Tal vez con un cable USB-Serial TTL sirva. Un cable como este: articulo.mercadolibre.com.co/MCO-562549163-cable-conversor-usb-a-serial-rs232-ttl-pl2303-_JM?matt_tool=42035816&matt_word=&matt_source=google&matt_campaign_id=14634237770&matt_ad_group_id=145708770672&matt_match_type=&matt_network=g&matt_device=c&matt_creative=644763067417&matt_keyword=&matt_ad_position=&matt_ad_type=pla&matt_merchant_id=386663367&matt_product_id=MCO562549163&matt_product_partition_id=1939579762776&matt_target_id=pla-1939579762776&gclid=Cj0KCQjw_O2lBhCFARIsAB0E8B8MIDMr5M9rAIVuAkdFh7Erz8RSWmuc9gCTXgs0TVzXic4-zqDhOLUaAmYZEALw_wcB Saludos desde Colombia