All Projects → krzychb → Dimswitch

krzychb / Dimswitch

Licence: lgpl-2.1
Arduino library to control dimmable ballasts for fluorescent light tubes

Projects that are alternatives of or similar to Dimswitch

Dsckeybusinterface
An Arduino/esp8266/esp32 library to directly interface with DSC security systems.
Stars: ✭ 202 (+1088.24%)
Mutual labels:  openhab, arduino, arduino-library
Heatpump
Arduino library to control Mitsubishi Heat Pumps via connector cn105
Stars: ✭ 327 (+1823.53%)
Mutual labels:  openhab, arduino, arduino-library
Onebutton
An Arduino library for using a single button for multiple purpose input.
Stars: ✭ 418 (+2358.82%)
Mutual labels:  arduino, arduino-library
Awesome Arduino
A curated list of awesome Arduino hardwares, libraries and softwares with update script
Stars: ✭ 446 (+2523.53%)
Mutual labels:  arduino, arduino-library
Esp32 Ble Keyboard
Bluetooth LE Keyboard library for the ESP32 (Arduino IDE compatible)
Stars: ✭ 533 (+3035.29%)
Mutual labels:  arduino, arduino-library
Qrcode
QR code generation library in C, optimized for low-power devices, such as Arduino.
Stars: ✭ 351 (+1964.71%)
Mutual labels:  arduino, arduino-library
Control Surface
Arduino library for creating MIDI controllers and other MIDI devices.
Stars: ✭ 377 (+2117.65%)
Mutual labels:  arduino, arduino-library
Watchy
Watchy - An Open Source E-Ink Smartwatch
Stars: ✭ 469 (+2658.82%)
Mutual labels:  arduino, arduino-library
Ds3232rtc
Arduino Library for Maxim Integrated DS3232 and DS3231 Real-Time Clocks
Stars: ✭ 320 (+1782.35%)
Mutual labels:  arduino, arduino-library
Arduinojson
📟 JSON library for Arduino and embedded C++. Simple and efficient.
Stars: ✭ 5,456 (+31994.12%)
Mutual labels:  arduino, arduino-library
Arduino Homekit Esp8266
Native Apple HomeKit accessory implementation for the ESP8266 Arduino core.
Stars: ✭ 545 (+3105.88%)
Mutual labels:  arduino, arduino-library
Brutal
Payload for teensy like a rubber ducky but the syntax is different. this Human interfaes device ( HID attacks ). Penetration With Teensy . Brutal is a toolkit to quickly create various payload,powershell attack , virus attack and launch listener for a Human Interface Device ( Payload Teensy )
Stars: ✭ 678 (+3888.24%)
Mutual labels:  arduino, arduino-library
Rf24mesh
OSI Layer 7 Mesh Networking for RF24Network & nrf24L01+ devices
Stars: ✭ 329 (+1835.29%)
Mutual labels:  arduino, arduino-library
Espui
A simple web user interface library for ESP32 and ESP8266
Stars: ✭ 330 (+1841.18%)
Mutual labels:  arduino, arduino-library
Arduino Foc
Arduino FOC for BLDC and Stepper motors - Arduino Based Field Oriented Control Algorithm Library
Stars: ✭ 387 (+2176.47%)
Mutual labels:  arduino, arduino-library
Remotedebug
Library for Arduino to debug projects over WiFi, with web app or telnet, with print commands like Serial Monitor
Stars: ✭ 467 (+2647.06%)
Mutual labels:  arduino, arduino-library
Tembooforesp8266
Arduino Library of Temboo modified for ESP8266
Stars: ✭ 5 (-70.59%)
Mutual labels:  arduino, arduino-library
Adafruit Pwm Servo Driver Library
Adafruit PWM Servo Driver Library
Stars: ✭ 300 (+1664.71%)
Mutual labels:  arduino, arduino-library
Ssd1306
Driver for SSD1306, SSD1331, SSD1351, IL9163, ILI9341, ST7735, PCD8544, Nokia 5110 displays running on Arduino/ESP32/Linux (Rasperry) platforms
Stars: ✭ 303 (+1682.35%)
Mutual labels:  arduino, arduino-library
Guislice
GUIslice drag & drop embedded GUI in C for touchscreen TFT on Arduino, Raspberry Pi, ARM, ESP8266 / ESP32 / M5stack using Adafruit-GFX / TFT_eSPI / UTFT / SDL
Stars: ✭ 534 (+3041.18%)
Mutual labels:  arduino, arduino-library

DimSwitch

This is an Arduino library to control electronic dimmable ballasts for fluorescent light tubes.

It works with ESP8266, Arduino UNO, Micro, MEGA, DUE and other compatible Arduino boards.

For description of API and application examples, please refer to documentation section. You will find there also description and graphs of state machine sequence, wave-forms of control signals as well as sample user interface in openHAB.

This library is a spin-off of project esp-lamp-in-sw written in C language. Check it out if you are not convinced with using C++ for embedded systems.

Warning: Hazardous Voltage!
Hazardous Voltage Warning Building and testing hardware for this project involves working with mains power that is dangerous to your life. Do not connect this project to the mains power without proper training and certification! Please read Safety Guidelines for High Voltage and/or Line Powered Equipment

Tested with

Functions

  • Switch the lamp on / off
  • Dim to specific light intensity
  • Read back on/off status and intensity
  • Calibrate

Required

  • ESP8266 or other Arduino compatible board
  • Relay connected to one of outputs
  • Light sensor connected to one of analog inputs
  • Touch and dim lamp connected to the relay

Application Example

DimSwitch Application Example

Sample Control Screens

This library features example sketches and openHAB code to show options to control the lamp using:

  1. Arduino IDE Serial Monitor
  2. Web browser with simple HTML code
  3. OpenHAB with MQTT binding
  4. OpenHAB with HTTP binding

The last three option are presented on screen shoots below.

Web browser with simple HTML code openHAB with MQTT binding openHAB with HTTP binding
Web browser with simple HTML code openHAB with MQTT binding openHAB with HTTP binding

Contribute

Feel free to contribute to the project in any way you like!

If you find any issues with code or descriptions please report them using Issues tab above.

Author

krzychb

Donations

Invite me to freshly squeezed orange juice.

Credits

Software for this project has been prepared thanks to great work of the following teams and individuals:

License

GNU LESSER GENERAL PUBLIC LICENSE - Version 2.1, February 1999

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].