Excel VBA serial communication, RS232, COM, arduino

zsolti900

New Member
Joined
Feb 23, 2020
Messages
3
Office Version
  1. 2013
Platform
  1. Windows
Hello Everybody,



I would like ask for same help with serial communication. I did build my aruino project and i would like send cell value from excel to arduino with serial communication on COM port.
I did find few example, but my main problem is the speed. When i send data from excel to arduino on COM port, need around 1-1.5sec do the task which is too long time. I think because before every data send rebuild the connection between arduino and PC.

Can i ask how can i solve this problem? I would like find jsut something simple code, because i have to send just 1 cell value. I attached the file what i try used.

Soembody have maybe idea how can i speed up littlebit? If i can reach just 0.5sec communication this can be perfect.

TEST file:
testfile

Thank you.
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

Forum statistics

Threads
1,214,539
Messages
6,120,100
Members
448,944
Latest member
SarahSomethingExcel100

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top