Skip to content

kchinzei/BLE_OnAir_Signboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BLE Server/Client for "On Air" Signboard

A BLE server - client kit to remotely turn on/off LED, an "On Air" signboard in my application. signboard It turns on the LED when Zoom, WebEx or Microsoft Teams process is running on a PC (macOS), to indicate you are 'on air' now. It can also receive the status of switch at the signbaord.

config

Preliquisite

BLE_client_osx.py

  • macOS PC
  • bleak : pip install bleak

BLE_server_esp32

  • ESP32 board computer
  • LED signboard (any) + I/O circuit
  • Visual Studio Code / Platform IO

Circuit Example

circuit

I used pin 16 and 17 of Esp32. Other pins except those with special functions should work. I used ESP-WROOM-32 from Switch Science. M5Stack etc should also work.

esp32

LED signboard

I bought it at AliExpress. LED signboards are very simple in terms of electronics. It uses USB power to turn on a line of LEDs. The switch to turn on/off can be as simple as a mechanical switch, or silicon switch with brightness adjustment. My one was the latter. I wanted to allow manually turn on/off it, so I left the original switch circuit. To obtain the status change of the manual switch, a signal is taken from the circuit. It depends on the circuit of your signboard. Therefore, you need to find such signal using a tester. In the above circuit, the signal is divided by registers. It is because while the signal is 0/5V, Esp32 accepts 3.3V input.

Acknowledgemnt

BLE_server_esp32's c++ code is originally from "ESP32でBLEデバイスを作る" by Luup Developers Blog, on Dec 2022.

License

The MIT License (MIT) Copyright (c) K. Chinzei (kchinzei@gmail.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

BLE server/client kit for "On Air" Signboard control

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published