[SOLVED] Arduino Serial Connection with Local Server

I have successfully established Blynk Local server. It is connected normally to phone app. However, I couldn’t find any doc referring to connecting Arduino to local server using serial connection:

Arduino ===>Serial ===>Local Server <===== Blynk app

If I use normal command, I guess it will make Arduino connect to Blynk cloud.

All help is appreciated

I think you require either the USB example, in which case you can attach the Arduino with a USB cable to the local server, that should work. Or a new function. It would be nice to be able to handel serial connections :slight_smile:

What hardware have you used for the local server?

I’m running it on Windows 10. Server is not the problem. It is how to reach it using Blank.begin since it directs to cloud server (blynk). Is there any overloading to use local server IP or name?

@wbadry From link in USB sketch - https://github.com/blynkkk/blynk-library/wiki/USB-Serial

./blynk-ser.sh -c /dev/ttyACM0 -b 9600 -s blynk-cloud.com -p 8442


@Dmitriy Thanks was clear in the sketch I oversight it :slight_smile:

Is there any format to ip address ?

-s 192.168.x.x should work

1 Like

Thanks again @Dmitriy . It works as a charm.

Could you explain a little more where to write this line of code and how to use it? it’s being puzzling my mind for days cause I know nothing of this programming language…

Thanks in advance

@AbdurahmanShiine2018 Please take note of time/date stamps before posting. this is a very old topic.

Current information in the Help Center documentation (links at the top of this page)