TOP Contributors

  1. MIKROE (2652 codes)
  2. Alcides Ramos (351 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136636 times)
  2. FAT32 Library (69842 times)
  3. Network Ethernet Library (55894 times)
  4. USB Device Library (46227 times)
  5. Network WiFi Library (41867 times)
  6. FT800 Library (41087 times)
  7. GSM click (28945 times)
  8. PID Library (26402 times)
  9. mikroSDK (26318 times)
  10. microSD click (25329 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

Categories

Compilers

Architecture

Sort By

Category: Communication > Light control

first | 1 | 2 | 3 | 4 | 5 last
Library

Driving Tiny WS2812B NeoPixel Ring by Bit-Banging STM8S003F3's GPIO

Rating:

0

Author: Shawon Shahryiar

Last Updated: 2017-09-24

Package Version: 1.0.0.0

Category: Light control

Downloaded: 769 times

Not followed.

License: MIT license

Download [386.08KB]

Description

The trick is to run the STM8S003F3 micro at max. speed of 16MHz and to use raw coding instead of SPL. Here I found out that the datasheet timing diagrams need not to be fully matched. I also noted that powering the ring is a major issue as the LEDs draw significant amount of power which may cause voltage dips and brownouts for the driver MCU.

[learn more]

supported microcontrollers

  • PIC
  • dsPIC
  • PIC24
  • PIC32
  • AVR
  • 8051
  • ARM
  • Other
  • FT90x
  • RISC-V

supported microcontroller subcategories

supported compilers

  • mikroC
  • mikroBasic
  • mikroPascal
  • Other
  • mikroC AI
  • GCC
  • Clang
  • XC

supported visual tools

  • Visual TFT
  • Visual GLCD
  • Other
  • Visual TFT AI

project contains

  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

archive format

  • mpkg
  • zip
  • rar
No Abuse Reported
Example

WS2811 SPI LEDs on AVR with internal RC

Rating:

0

Author: Milan Kratochvil

Last Updated: 2017-09-01

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Light control

Downloaded: 490 times

Not followed.

License: MIT license

Download [41.70KB]

Description

Example (compiled functional demo) how is possible to run WS2811, WS2812B SPI LEDs on Atmega8 with internal 8MHz RC oscillator. Simply connect 5V power, MOSI Wire to DATA IN on SPI Led string and enyoy!

[learn more]

supported microcontrollers

  • PIC
  • dsPIC
  • PIC24
  • PIC32
  • AVR
  • 8051
  • ARM
  • Other
  • FT90x
  • RISC-V

supported microcontroller subcategories

supported compilers

  • mikroC
  • mikroBasic
  • mikroPascal
  • Other
  • mikroC AI
  • GCC
  • Clang
  • XC

supported visual tools

  • Visual TFT
  • Visual GLCD
  • Other
  • Visual TFT AI

project contains

  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

archive format

  • mpkg
  • zip
  • rar
No Abuse Reported
Example

OPT3001 light sensor with MSP432

Rating:

0

Author: Sunny IUT

Last Updated: 2017-07-06

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Light control

Downloaded: 341 times

Not followed.

License: MIT license

Download [2.07MB]

Description

OPT3001 light sensor [same as 'ambient 2 click'] interfaced with MSP432P401r.
ambient light measurement is displayed on TFT and sent to PC 'mikroplot' using UART.
components used -
BOOSTXL-SENSORS
MSP432 Launchpad
TFT proto HW v1.01
mikroplot

this example code is a part of my project in ELEMENT14 forum.

[learn more]

supported microcontrollers

  • PIC
  • dsPIC
  • PIC24
  • PIC32
  • AVR
  • 8051
  • ARM
  • Other
  • FT90x
  • RISC-V

supported microcontroller subcategories

supported compilers

  • mikroC
  • mikroBasic
  • mikroPascal
  • Other
  • mikroC AI
  • GCC
  • Clang
  • XC

supported visual tools

  • Visual TFT
  • Visual GLCD
  • Other
  • Visual TFT AI

project contains

  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

archive format

  • mpkg
  • zip
  • rar
No Abuse Reported
Project

Police Lights

Rating:

0

Author: Shawon Shahryiar

Last Updated: 2017-03-17

Package Version: 1.0.0.0

Category: Light control

Downloaded: 834 times

Not followed.

License: MIT license

Download [23.28KB]

Description

This is a pair of very ammature level projects based on PIC micros. It is just more than a blinking LED. Such LED patterns are seen in ambulances, fire-trucks and police vehicles. All codes are written with CCS PIC C compiler.

[learn more]

supported microcontrollers

  • PIC
  • dsPIC
  • PIC24
  • PIC32
  • AVR
  • 8051
  • ARM
  • Other
  • FT90x
  • RISC-V

supported microcontroller subcategories

supported compilers

  • mikroC
  • mikroBasic
  • mikroPascal
  • Other
  • mikroC AI
  • GCC
  • Clang
  • XC

supported visual tools

  • Visual TFT
  • Visual GLCD
  • Other
  • Visual TFT AI

project contains

  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

archive format

  • mpkg
  • zip
  • rar
No Abuse Reported
Example

Ambient 2 Click Example for Mikrobasic Pic 32

Rating:

0

Author: Stuart Kurtz

Last Updated: 2017-03-01

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Light control

Downloaded: 268 times

Not followed.

License: MIT license

Download [310.38KB]

Description

Converted from the Mikroe code for ARM to run on Pic32MX795

[learn more]

supported microcontrollers

  • PIC
  • dsPIC
  • PIC24
  • PIC32
  • AVR
  • 8051
  • ARM
  • Other
  • FT90x
  • RISC-V

supported microcontroller subcategories

supported compilers

  • mikroC
  • mikroBasic
  • mikroPascal
  • Other
  • mikroC AI
  • GCC
  • Clang
  • XC

supported visual tools

  • Visual TFT
  • Visual GLCD
  • Other
  • Visual TFT AI

project contains

  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

archive format

  • mpkg
  • zip
  • rar
No Abuse Reported
Example

Beginners LED / RELAY Interface example with PIC for learn

Rating:

0

Author: Sourav Mitra

Last Updated: 2017-02-14

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Light control

Downloaded: 474 times

Not followed.

License: MIT license

Download [20.26KB]

Description

This example will help you to do lots of project as a part of LED Blink or Relay Off On, Once you learn that ,You can use this code to in next development . 100% will work , Special thanks to Mikroc Team to make a nice compiler.

If your are a beginners developer, then this program will help you to improve day be day.

Thank you

[learn more]

supported microcontrollers

  • PIC
  • dsPIC
  • PIC24
  • PIC32
  • AVR
  • 8051
  • ARM
  • Other
  • FT90x
  • RISC-V

supported microcontroller subcategories

supported compilers

  • mikroC
  • mikroBasic
  • mikroPascal
  • Other
  • mikroC AI
  • GCC
  • Clang
  • XC

supported visual tools

  • Visual TFT
  • Visual GLCD
  • Other
  • Visual TFT AI

project contains

  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

archive format

  • mpkg
  • zip
  • rar
No Abuse Reported
Library

PCA9685 16-Channel 12-bit PWM Controller Demo

Rating:

0

Author: Shawon Shahryiar

Last Updated: 2016-12-31

Package Version: 1.0.0.0

Category: Light control

Downloaded: 1538 times

Not followed.

License: MIT license

Download [21.65KB]

Description

This is a demo of my library for PCA9685 16-Channel 12-bit PWM controller.

[learn more]

supported microcontrollers

  • PIC
  • dsPIC
  • PIC24
  • PIC32
  • AVR
  • 8051
  • ARM
  • Other
  • FT90x
  • RISC-V

supported microcontroller subcategories

supported compilers

  • mikroC
  • mikroBasic
  • mikroPascal
  • Other
  • mikroC AI
  • GCC
  • Clang
  • XC

supported visual tools

  • Visual TFT
  • Visual GLCD
  • Other
  • Visual TFT AI

project contains

  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

archive format

  • mpkg
  • zip
  • rar
No Abuse Reported
Library

Neopixel Ring Demo

Rating:

0

Author: Shawon Shahryiar

Last Updated: 2016-12-28

Package Version: 1.0.0.0

Category: Light control

Downloaded: 708 times

Not followed.

License: MIT license

Download [5.82KB]

Description

This is basically an upgrade of an older post "Driving Adafruit's Neopixel (WS2812) Strip with AVR's Hardware SPI" (http://libstock.mikroe.com/projects/view/1953/driving-adafruit-s-neopixel-ws2812-strip-with-avr-s-hardware-spi) with circular ring-based WS2812 chain.

Please note this is not an Arduino project.

[learn more]

supported microcontrollers

  • PIC
  • dsPIC
  • PIC24
  • PIC32
  • AVR
  • 8051
  • ARM
  • Other
  • FT90x
  • RISC-V

supported microcontroller subcategories

supported compilers

  • mikroC
  • mikroBasic
  • mikroPascal
  • Other
  • mikroC AI
  • GCC
  • Clang
  • XC

supported visual tools

  • Visual TFT
  • Visual GLCD
  • Other
  • Visual TFT AI

project contains

  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

archive format

  • mpkg
  • zip
  • rar
No Abuse Reported
Library

Driving Adafruit's Neopixel (WS2812) Strip with AVR's Hardware SPI

Rating:

4

Author: Shawon Shahryiar

Last Updated: 2016-11-16

Package Version: 1.0.0.0

Category: Light control

Downloaded: 1110 times

Not followed.

License: MIT license

Download [4.78KB]

Description

When it comes to driving WS2812 smart RGB LEDs the most difficult task is to overcome the extremely low timed time-slotting protocol as the LEDs don't have SPI/I2C/UART interface. One smart way to overcome this issue is to use the MOSI of hardware SPI at high speed. Please note though Arduino Nano is used, this is not an Arduino-based project.

[learn more]

supported microcontrollers

  • PIC
  • dsPIC
  • PIC24
  • PIC32
  • AVR
  • 8051
  • ARM
  • Other
  • FT90x
  • RISC-V

supported microcontroller subcategories

supported compilers

  • mikroC
  • mikroBasic
  • mikroPascal
  • Other
  • mikroC AI
  • GCC
  • Clang
  • XC

supported visual tools

  • Visual TFT
  • Visual GLCD
  • Other
  • Visual TFT AI

project contains

  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

archive format

  • mpkg
  • zip
  • rar
No Abuse Reported
Project

Easy way to driver 16 leds, light effects

Rating:

0

Author: Alcides Ramos

Last Updated: 2016-07-11

Package Version: 1.0.0.0

Category: Light control

Downloaded: 494 times

Not followed.

License: MIT license

Download [46.83KB]

Description

This show light effecct in 16 leds

[learn more]

supported microcontrollers

  • PIC
  • dsPIC
  • PIC24
  • PIC32
  • AVR
  • 8051
  • ARM
  • Other
  • FT90x
  • RISC-V

supported microcontroller subcategories

supported compilers

  • mikroC
  • mikroBasic
  • mikroPascal
  • Other
  • mikroC AI
  • GCC
  • Clang
  • XC

supported visual tools

  • Visual TFT
  • Visual GLCD
  • Other
  • Visual TFT AI

project contains

  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

archive format

  • mpkg
  • zip
  • rar
No Abuse Reported
first | 1 | 2 | 3 | 4 | 5 last