nodeJS > TTL > LANC

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

Markus Hottenrott

  • Posts: 38
  • Joined: Sun Nov 05, 2017 8:38 pm

nodeJS > TTL > LANC

PostMon Dec 16, 2019 1:08 pm

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.
Offline
User avatar

Xtreemtec

  • Posts: 5397
  • Joined: Wed Jan 02, 2013 11:48 am
  • Location: The Netherlands

Re: nodeJS > TTL > LANC

PostMon Dec 16, 2019 4:50 pm

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.
Daniel Wittenaar .:: Xtreemtec Media Productions ::. -= www.xtreemtec.nl =-
4K OBV Trailer, ATEM TVS HD, 4M/E Broadcast Studio 4K, Constelation 8K, Hyperdeck Studio 12G, Ursa Broadcast 4K, 4K fiber converters with Sony Control
Offline

Markus Hottenrott

  • Posts: 38
  • Joined: Sun Nov 05, 2017 8:38 pm

Re: nodeJS > TTL > LANC

PostTue Dec 17, 2019 9:07 am

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.
Offline
User avatar

Fred Rodrigues

  • Posts: 364
  • Joined: Mon Nov 05, 2012 9:00 am
  • Location: Amsterdam

Re: nodeJS > TTL > LANC

PostFri Dec 20, 2019 12:07 am

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
http://www.fredrodrigues.net/
Offline

Markus Hottenrott

  • Posts: 38
  • Joined: Sun Nov 05, 2017 8:38 pm

Re: nodeJS > TTL > LANC

PostMon Jan 27, 2020 1:07 pm

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.
Offline
User avatar

Fred Rodrigues

  • Posts: 364
  • Joined: Mon Nov 05, 2012 9:00 am
  • Location: Amsterdam

Re: nodeJS > TTL > LANC

PostMon Jan 27, 2020 1:16 pm

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.
http://www.fredrodrigues.net/

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 16 guests