TOP Contributors

  1. MIKROE (2653 codes)
  2. Alcides Ramos (352 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 (136726 times)
  2. FAT32 Library (69944 times)
  3. Network Ethernet Library (55941 times)
  4. USB Device Library (46265 times)
  5. Network WiFi Library (41886 times)
  6. FT800 Library (41169 times)
  7. GSM click (28983 times)
  8. PID Library (26412 times)
  9. mikroSDK (26358 times)
  10. microSD click (25369 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: Measurement

first | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 last
Example

lighttofreq_examples_v101 - TSL230BR - 16F876A

Rating:

0

Author: FOURNET Olivier

Last Updated: 2013-07-03

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Measurement

Downloaded: 599 times

Not followed.

License: MIT license

Download [128.26KB]

Description

light to freq examples v1.00 - TSL230BR - 16F876A

[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

Log ADC Values when button is pressed in internal EEPROM

Rating:

0

Author: Petar Timotijević

Last Updated: 2013-07-01

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Measurement

Downloaded: 1535 times

Not followed.

License: MIT license

Download [595.37KB]

Description

Log ADC Values when button is pressed in internal EEPROM

RD0 - Start Log

RD1 - Erase complete EEPROM


LCD shows current ADC steps and voltage in 0-5V range.
Each time when RD0 is pressed uC take 8 samples from ADC in intervals of 3sec and stop.
PortC LEDs shows progress of sampling each byte in EEPROM like bargraph.



[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

Readin the AM2303 Temp/Humidity Sensor with Basic

Rating:

0

Author: Dick Berry

Last Updated: 2013-06-27

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Measurement

Downloaded: 738 times

Followed by: 1 user

License: MIT license

Download [4.30KB]

Description

I'v seen a several C examples for reading these sensors but haven't found one in Basic. So here is the Source file for a Module in my RV Monitor Project for Handleing the AM2303.

See the RV Monitor Project for a detailed Blog.

[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

1 Wire Read Serial Number and Temperature of DS18b20 or DS18s20

Rating:

5

Author: FOURNET Olivier

Last Updated: 2013-06-09

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Measurement

Downloaded: 4284 times

Not followed.

License: MIT license

Download [171.92KB]

Description

1 Wire Read Serial Number and Temperature of DS18b20 or DS18s20

Ce code exemple et une correction et modification du code initial :

http://www.libstock.com/projects/view/690/1-wire-read-serial-number-and-temperature-ds18b20-or-ds18s20

[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

1-Wire Read Serial Number and Temperature DS18B20 or DS18S20

Rating:

5

Author: Petar Timotijević

Last Updated: 2013-06-07

Package Version: 6.0.0.0

Example: 1.0.0.0

Category: Measurement

Downloaded: 2277 times

Followed by: 2 users

License: MIT license

Download [185.89KB]

Description

1-Wire Read Serial Number and Temperature DS18B20 or DS18S20

Development Board : EasyPIC 7
Microntroller : PIC18F45K22 32MHz (can be other)
Sensors : DS18B20, DS18S20

Code recognize type of sensor and print sensor name and unique serial number with temperature on 2x16 LCD.

Tested & Works 100%

[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

ADC Code Examples for Various Offset Ranges

Rating:

5

Author: Petar Timotijević

Last Updated: 2013-06-07

Package Version: 6.0.0.0

Example: 1.0.0.0

Category: Measurement

Downloaded: 2132 times

Followed by: 1 user

License: MIT license

Download [1.39MB]

Description

ADC Input: 0-5V Output 2x16 LCD: 0-5V
ADC Input: 0-5V Output 2x16 LCD: 0-20V
ADC Input: 0-5V Output 2x16 LCD: -25A 0 +25A
ADC Input: -10V 0 +10V Output 2x16 LCD: 0-5V
ADC Input: -2,5V 0 +2,5V Output 2x16 LCD: -2,5V 0 +2,5V
ADC Input: -20V 0 +20V Output 2x16 LCD: 0-5V
ADC Input: -5V 0 +5V Output 2x16 LCD: 0-5V


[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

Distance Sensor, LDR Sensor, Temperature Sensor, DVM, with Proteus Simulations 100%

Rating:

7

Author: S Ss

Last Updated: 2013-05-26

Package Version: 5.8.0.0

Category: Measurement

Downloaded: 4448 times

Followed by: 1 user

License: MIT license

Download [229.34KB]

Description

This project contains different types of sensors , and each sensor is simulated in GLCD with progress bars. Easy to use with menu to allow user to select the required sensor, tested and simulated in Proteus.

[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

Displaying a 12 VDC Battery Voltage on the LCD of a Easypic V7

Rating:

5

Author: Dick Berry

Last Updated: 2013-05-25

Package Version: 2.0.0.0

Example: 1.0.0.0

Category: Measurement

Downloaded: 1167 times

Followed by: 1 user

License: MIT license

Download [497.61KB]

Description

By scaling the +9.4 Volt to 14.5 Volt battery voltage with a Zener Diode and a 10K resister you can display the Battery voltage with two decimal points resolution on the Two Line LCD of a EasyPic V7 Development board using the RA1 AtoD input of a PIC16F76 Microcontroller.

Version 2 Uploaded on 2013/05/25

[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

ultrasonic SRF04 ranging using PIC16F877A

Rating:

0

Author: Dine Chichara

Last Updated: 2013-05-24

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Measurement

Downloaded: 1265 times

Followed by: 1 user

License: MIT license

Download [87.14KB]

Description

Hi everyone. I would like to share my code here. This code is running successfully.
I use ultrasonic SRF04 from devantech to measure the distance. The result display in lcd 16x2.
Here is the code, may it help.

[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

Code for measuring distance with HC SR04 Ultrasonic Sensor

Rating:

6

Author: Robinson Velasquez

Last Updated: 2013-03-13

Package Version: 1.0.0.0

Category: Measurement

Downloaded: 7712 times

Followed by: 2 users

License: MIT license

Download [114.55KB]

Description

This program displays the distance measured by the sensor HC SR04 on Display 2x16.
Includes MikroC files and details in the .c file.


* RA1 is TRIGGER


*It uses a 16F877A with HS 12MHz, but in MikroC config is necesary set HS 4MHz.
It works perfect if the connection is good.

//Read coments in C code for connection.

[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 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 last