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

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

Forum statistics

Threads
1,224,823
Messages
6,181,179
Members
453,021
Latest member
Justyna P

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