Proairesis

Find Me On…

  • Facebook
  • tumblr
  • deviantArt
  • Storenvy
  • Home
  • About

Month: December 2022

Using the USB connection to drive Squid Beakon colours

Posted on December 21, 2022 Leave a Comment

So I’ve been thinking for a while, “wifi control of these lamps is all well and good, but I’d really rather push data over a serial connection so that I can avoid having to set up wifi networks. Also, serial just makes more sense for high throughput usecases, eg sending a continuous stream of updates”

“…Too bad WLED doesn’t have a serial API”

You know what they say about when you assume things? I don’t know why I never really looked it up, but I just figured that WLED didn’t have serial support. Turns out it actually supports multiple protocols, and as of 0.13.0 it can receive the same JSON commands via serial as it does via wifi.

So here’s a little video of a proof of concept I put together, to learn a couple of things. It’s my first time playing around with web serial – I lifted heavily from this Codelab to get things working.

If you own one of my USB powered lamps, you can test out the controls at this link: https://difficult-clean-scapula.glitch.me 

Note that the proof of concept page is very rough around the edges, and it only supports solid colours.

Posted in: Code, Electronics | Tagged: lamp, squid lamp, wip

Recent Posts

  • Laser-cut Nintendo Switch Webcam Rig
  • Using the USB connection to drive Squid Beakon colours
  • Personalised Splashtag nametags
  • QArt Code Signature Blocks
  • Blogs, Portfolios and Challenges

Archives

  • January 2023
  • December 2022
  • October 2022
  • August 2022
  • May 2022
  • April 2022
  • November 2021
  • September 2021
  • August 2021
  • August 2020
  • September 2019
  • August 2019
  • August 2018
  • May 2018
  • September 2016
  • August 2016
  • October 2015
  • September 2015
  • August 2015
  • April 2015
  • February 2015
  • October 2014
  • August 2014
  • July 2014
  • April 2014
  • March 2014
  • February 2014
  • September 2013
  • August 2013
  • July 2013
  • April 2013
  • March 2013
  • January 2013
  • December 2012
  • October 2012
  • September 2012
  • August 2012
  • July 2012
  • May 2012
  • March 2012
  • January 2012
  • December 2011
  • November 2011
  • September 2011
  • August 2011
  • June 2011
  • May 2011
  • March 2011
  • January 2011
  • December 2010
  • November 2010
  • October 2010
  • September 2010
  • August 2010
  • April 2010
  • March 2010

Copyright © 2023 Proairesis.

Theme by themehall.com.