Arduino and Serial port communcation

Just starting out? Need help? Post your questions and find answers here.
santa
Posts: 8
Joined: Tue Mar 15, 2016 6:08 am

Arduino and Serial port communcation

Post by santa »

Arduino microcontrolers can send and receive data using serial or serials ports.
Pure Basic forum has an example how to do it.

Is there an easy way to use Spider Basic to do that?
I would appreciate if somebody can present an example.

I thank you in advance
Fred
Site Admin
Posts: 1820
Joined: Mon Feb 24, 2014 10:51 am

Re: Arduino and Serial port communcation

Post by Fred »

No, SpiderBasic runs in the browser and can't access hardware ports. You need to use PureBasic for that.
tj1010
Posts: 218
Joined: Wed May 27, 2015 1:36 pm
Contact:

Re: Arduino and Serial port communcation

Post by tj1010 »

You would need a browser-specific plugin and then use inline-JS. There is also signed java applets but those probably aren't even widely supported anymore..
Bradan
Posts: 18
Joined: Fri Nov 04, 2016 2:07 pm

Re: Arduino and Serial port communcation

Post by Bradan »

It is possible through webusb (not recommended):
https://wicg.github.io/webusb/
https://github.com/webusb/arduino/
santa
Posts: 8
Joined: Tue Mar 15, 2016 6:08 am

Re: Arduino and Serial port communcation

Post by santa »

Ι think

Spider basic can have a broad application in controllers if a hardware connection relative to serial ports can be developed.

Any way, I think some java relative software already exists connecting serial ports.
Post Reply