how to split a string message and access the sensors values sent from Arduino to visual Basic

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 พ.ย. 2024

ความคิดเห็น • 91

  • @mcsurvivalman2622
    @mcsurvivalman2622 5 ปีที่แล้ว +2

    This is an excellent tutorial, I really appreciate videos like these. I ran into one problem, but I fixed it. The issue was with the "Dim Somestring As string" My debugger said, "1 dim array of string cannot be converted to string ... to fix this I made the variable "Somestring" an Array rather than a string.

    • @834Danie
      @834Danie 5 ปีที่แล้ว

      How do you stop the text from blinking inthe othe textbox?

    • @angelogiacon6499
      @angelogiacon6499 4 ปีที่แล้ว

      @@834Danie Really, you're only using the big textbox to show the total amount of data coming in. Usually, you would store the incoming data into a string variable and not a textbox anyway. The real data you're interested in is the "parsed" data or seperated data into each part.

  • @thanuradineshwanigasekara4315
    @thanuradineshwanigasekara4315 5 ปีที่แล้ว +2

    Yep, I did it with your blessings. I did few improvements . Thanks a lot.

  • @Nocturnes1984
    @Nocturnes1984 ปีที่แล้ว

    Will this work the same in C#?

  • @semakzl4524
    @semakzl4524 2 ปีที่แล้ว +1

    thank a lot to sharing this very useful info about us but i have question. Can we do array with live arduino sensor data and make chart with this array? I'm searching for weeks but i didnt finf anything pls share your ideas with me.

    • @ElectroniClinic
      @ElectroniClinic  2 ปีที่แล้ว

      check playlist, i have a video in which i displayed the temperature values on chart.

  • @fatih1922
    @fatih1922 5 ปีที่แล้ว

    Dude your videos are very good. If you do the same project with gps module and parsing the gps sentences in vb and displaying the coordinates on a map(without using node mcu). That will rock. There re no such a tutorials on youtube. They only use the gps library and dispay the sentences on arduino IDE s serial monitor. Thats all.

    • @ElectroniClinic
      @ElectroniClinic  5 ปีที่แล้ว

      check my video on GPS real-time tracking using the blynk application. in that project, I used the same concept, but instead send value to the vb application, I sent it to the blynk application. check my playlists.

  • @yt440volts
    @yt440volts 6 ปีที่แล้ว +1

    Can you make another video on the first form you show in the video please? This video helped but I think showing how you made the first form would really help.

    • @ElectroniClinic
      @ElectroniClinic  6 ปีที่แล้ว

      I have used the same technique in so many other projects. Check my playlist on desktop apllications designing

  • @jhoveldango8730
    @jhoveldango8730 4 ปีที่แล้ว +1

    Sir, Good Day ! Can you use 2 Serialports? Or I mean 2 arduino port in one form. Thanks for the answer :)
    Lastly any tip or guide how to use Adafruit Fingerprint Sensor with Visual Studio 2010 and MSSQL Database this is for my thesis 😊 sorry for long Message.

    • @ElectroniClinic
      @ElectroniClinic  4 ปีที่แล้ว +1

      ya, of course, you can, you can even add more Arduino. Define multiple serial ports.

    • @ElectroniClinic
      @ElectroniClinic  4 ปีที่แล้ว +1

      I already have a tutorial on this. check playlist.

    • @jhoveldango8730
      @jhoveldango8730 4 ปีที่แล้ว +1

      Thank you sir, I will check it later. Best regards 😊

  • @nicolashutsebaut3263
    @nicolashutsebaut3263 3 ปีที่แล้ว +1

    thx, this helped a lott!!

  • @Gabi-he6rw
    @Gabi-he6rw 4 ปีที่แล้ว

    Do you know/have anything similar in c#?

  • @mahmoudkhalaf6501
    @mahmoudkhalaf6501 3 ปีที่แล้ว

    Hello Sir,
    I am trying to split the data in two Ricechtextbox, I am getting Encoder data and GPS data from the Arduino Serial monitor, I am only able to put only one Split by LInes or a symbol, can please help me.
    Thank you,

  • @834Danie
    @834Danie 5 ปีที่แล้ว

    why is your text blinking in the textbox and not constant showing like in you other video.. can it be fix and how ?

  • @ابومحمدالغيثيبنإسماعيل
    @ابومحمدالغيثيبنإسماعيل 5 ปีที่แล้ว +1

    Thanks a lot .

  • @silkyradio8059
    @silkyradio8059 4 ปีที่แล้ว

    Pls help me. Sentence "somestring = s.Split(New Char() {","c})" my visual basic warned an error. I don't understand why?

  • @Steven-jf4cs
    @Steven-jf4cs 3 ปีที่แล้ว

    Actually the uses for this is ... infinity and BEYOND!!!!!

  • @Gabi-he6rw
    @Gabi-he6rw 4 ปีที่แล้ว +1

    Thank you! :)

  • @mcsurvivalman2622
    @mcsurvivalman2622 5 ปีที่แล้ว +1

    I'm sending my data manually at random time intervals, so how would I go about making the software update the sensor values when a new stream of data arrives?

    • @ElectroniClinic
      @ElectroniClinic  5 ปีที่แล้ว +1

      For this watch my new tutorial on 3 phase transformer load monitoring using computer application.

    • @ElectroniClinic
      @ElectroniClinic  5 ปีที่แล้ว +1

      I this this new project i used the datareceived function and also used the split technique

  • @mochamadurfanhadiansyah5566
    @mochamadurfanhadiansyah5566 3 ปีที่แล้ว

    my data shows up, but its so fast and the textbox2 become empty. how to keep show the data before its change?

  • @834Danie
    @834Danie 5 ปีที่แล้ว

    is it possible to make a video of ds18b20 temp sensors to do the same as sending it as a textForSMS from Arduino to visual Basic

    • @ElectroniClinic
      @ElectroniClinic  5 ปีที่แล้ว

      yes. you can do it. watch my tutorial on ds18b20. all you need is just to send that to the vb. :).
      check playlist you will find a video.

  • @834Danie
    @834Danie 5 ปีที่แล้ว

    need video with more then 3 sensors (temp , flow , current and volt) if it is possible to show guide line ....

  • @yaswantdatla3595
    @yaswantdatla3595 5 ปีที่แล้ว

    Sir this work is excellent, but i want in c# can u send link or codes for that.

  • @angelogiacon6499
    @angelogiacon6499 4 ปีที่แล้ว

    Good tutorial, but you lost me a bit on the last bit..(Private Sub DataRecieved part)..you went thru that a bit fast and didn't explain well, but overall good, thanks.

    • @ElectroniClinic
      @ElectroniClinic  4 ปีที่แล้ว

      actually i have explained this function so many times. watch my other tutorials on visual basic.

  • @superdn
    @superdn 4 ปีที่แล้ว

    is there a c# tutorial for this?

  • @zeabenikebede990
    @zeabenikebede990 4 ปีที่แล้ว

    hi sir i'm trying to send the temperature and humidity value from arduino to vb but it does not split the data received form arduino and it display all the data in the TextBox1 what shall i do pleas help me

  • @834Danie
    @834Danie 5 ปีที่แล้ว

    for me to code i need example to work off i am not a programmer so can you help?

  • @kirklampano665
    @kirklampano665 5 ปีที่แล้ว

    hi man, my two textbox aren't showing values but the textbox1 shows values from the arduino. can you help me? thanks

    • @kirklampano665
      @kirklampano665 5 ปีที่แล้ว

      i am using visual studio 2018

    • @muca871
      @muca871 5 ปีที่แล้ว

      I had the same problem. Go into Design tab and under Timer change Enabled = TRUE

  • @samirdasmahapatra55
    @samirdasmahapatra55 6 ปีที่แล้ว +1

    Hi, I want to save the data into MsAccess database, how it is possible, any suggestion.

    • @ElectroniClinic
      @ElectroniClinic  6 ปีที่แล้ว

      You should use msql database for saving values. This way you can also access values from anywhere around the world

    • @samirdasmahapatra55
      @samirdasmahapatra55 6 ปีที่แล้ว

      thanks for your reply, I am new for this, can you share some example or any tutorial, how to use MSQL.

    • @ElectroniClinic
      @ElectroniClinic  6 ปีที่แล้ว

      in a few days i will be posting a tutorial on msql database for storing sensors values

    • @samirdasmahapatra55
      @samirdasmahapatra55 5 ปีที่แล้ว

      @@ElectroniClinic so nice,, thank you. Can I have your email ID

    • @ElectroniClinic
      @ElectroniClinic  5 ปีที่แล้ว

      stu_engineering@yahoo.com

  • @marcomonteiro8495
    @marcomonteiro8495 5 ปีที่แล้ว

    why mine isnt showing anything can u help me out

  • @jimallysonnevado3973
    @jimallysonnevado3973 4 ปีที่แล้ว

    how about if the data is a text not number

    • @ElectroniClinic
      @ElectroniClinic  4 ปีที่แล้ว

      then no need to.convert that into decimal or integer.

    • @ElectroniClinic
      @ElectroniClinic  4 ปีที่แล้ว

      you can use the string functions.

  • @antoniuskwok791
    @antoniuskwok791 5 ปีที่แล้ว

    why my interface freezing after 5 seconds ?

  • @shogunvanrepi3555
    @shogunvanrepi3555 6 ปีที่แล้ว

    what if through the internet, because i want to read the sensor value between countries, do you have the tutorial?

    • @ElectroniClinic
      @ElectroniClinic  6 ปีที่แล้ว

      very soon i will make a tutorial on this, i already did this project. i am doing all these projects one by one.
      subscribe to my channel. you will get the notification once i upload this project.

    • @shogunvanrepi3555
      @shogunvanrepi3555 6 ปีที่แล้ว

      ok buddy

    • @shogunvanrepi3555
      @shogunvanrepi3555 6 ปีที่แล้ว +1

      if possible to monitor more than 1 sensor and apikey different to be used for each person

    • @ElectroniClinic
      @ElectroniClinic  6 ปีที่แล้ว

      shogun van repi yes bro its possible.

    • @shogunvanrepi3555
      @shogunvanrepi3555 6 ปีที่แล้ว +1

      ok i wait for the video buddy

  • @kunalroy148
    @kunalroy148 6 ปีที่แล้ว

    can you make this project in java. I want to make this project.

    • @ElectroniClinic
      @ElectroniClinic  6 ปีที่แล้ว

      send details.

    • @kunalroy148
      @kunalroy148 6 ปีที่แล้ว

      The same project you are explaining here i want to make it in Java. Means reading sensor value like Humidity, Temperature, Gas sensor and Light sensor

  • @subhamdas2491
    @subhamdas2491 4 ปีที่แล้ว

    Arduino mai split kayse kare

    • @ElectroniClinic
      @ElectroniClinic  4 ปีที่แล้ว

      watch my videos in which i have used the arduino and nodemcu together.

    • @ElectroniClinic
      @ElectroniClinic  4 ปีที่แล้ว

      n videos mei sensors data split kia hai.

    • @subhamdas2491
      @subhamdas2491 4 ปีที่แล้ว

      @@ElectroniClinic link dedo dhund ne me dikkat nahi hogi

    • @subhamdas2491
      @subhamdas2491 4 ปีที่แล้ว

      @@ElectroniClinic konsa wala dekhu samajh naji ara

  • @834Danie
    @834Danie 5 ปีที่แล้ว

    i can do a little bit of coding

  • @yt440volts
    @yt440volts 6 ปีที่แล้ว

    I am getting the same error as you did so what did you do to fix it?

    • @ElectroniClinic
      @ElectroniClinic  6 ปีที่แล้ว

      which error?

    • @hafis3797
      @hafis3797 2 ปีที่แล้ว

      @@ElectroniClinic Input string was not in a correct format.'
      at this coding value1 = Convert.ToDecimal(TextBox2.Text)

    • @zuliano4825
      @zuliano4825 2 ปีที่แล้ว

      @@ElectroniClinic yes it same to me, how to fix it?

    • @yt440volts
      @yt440volts 7 หลายเดือนก่อน

      Input string was not in a correct format@@ElectroniClinic

    • @yt440volts
      @yt440volts 7 หลายเดือนก่อน

      how to fix it@@zuliano4825