Page 1 of 1

nodeJS > TTL > LANC

PostPosted: Mon Dec 16, 2019 1:08 pm
by Markus Hottenrott
Hello, does anyone have any idea how to implement the LANC interface in nodeJS?

I have a nodeJS system and a serial TTL adapter with a 2.5mm connector. So far I've found some stuff here in the forum, but without success.

Does anyone know a way to start VideoAssist via LANC with a nodeJS?

There is an older post here in the forum with the id 16676
I used the Delock USB>TTL adapter with the code 83115.
Sorry..direct links are not allowed.

Re: nodeJS > TTL > LANC

PostPosted: Mon Dec 16, 2019 4:50 pm
by Xtreemtec
Direct links are available after 10+ posts. ( Anti Robot prevention ) ;)

I dont think a lot of people have experience with Lanc by a usb Serial ttl adapter..

I have done some Lanc in the past and i did not even know it was possible this way. As Lanc is a 2 way protocol on 1 wire. So there need to be some electronics involved to make this happen.

Re: nodeJS > TTL > LANC

PostPosted: Tue Dec 17, 2019 9:07 am
by Markus Hottenrott
I was going on a very well-founded article.

boehmel . de / lanc . htm

There it is described how similar LANC is to RS232 and there should be a solution. And there are some who have managed it somehow. Therefore now my approach, since I have to start and stop the VideoAssist reliably for a mobile setup.

Re: nodeJS > TTL > LANC

PostPosted: Fri Dec 20, 2019 12:07 am
by Fred Rodrigues
You can try use this as a starting point, the command format should be the same. https://create.arduino.cc/projecthub/L- ... l-l-70f735

Re: nodeJS > TTL > LANC

PostPosted: Mon Jan 27, 2020 1:07 pm
by Markus Hottenrott
Thank you and maybe I can, but unfortunately I am not that deep into the topic.
So far I haven't found anything how to solve it myself, so I will try it without BMD and just control a notebook with OBS and Websockets.

Re: nodeJS > TTL > LANC

PostPosted: Mon Jan 27, 2020 1:16 pm
by Fred Rodrigues
Here is a nodejs library for accessing a serial port:

https://serialport.io/

You can skip some electronics if you want and get a ready made usb adapter to talk to lanc

https://shop.appliedlogiceng.com/USB-to ... ALE708.htm

Here is a list of commands that you can send and a description of how to write to the receiving device:

http://www.boehmel.de/lanc

Between this links it should be a pretty simple process.