TOP Contributors

  1. MIKROE (2770 codes)
  2. Alcides Ramos (374 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (97 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 (139385 times)
  2. FAT32 Library (71822 times)
  3. Network Ethernet Library (57159 times)
  4. USB Device Library (47470 times)
  5. Network WiFi Library (43125 times)
  6. FT800 Library (42443 times)
  7. GSM click (29865 times)
  8. mikroSDK (28206 times)
  9. PID Library (26896 times)
  10. microSD click (26230 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 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 last
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: 752 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: 4316 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: 2307 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: 2153 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: 4485 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: 1188 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: 1282 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: 7756 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
Project

Accelerometer MMA7260 with LCD y LabView RS232 Comunication Project.

Rating:

0

Author: Robinson Velasquez

Last Updated: 2013-03-13

Package Version: 1.0.0.0

Category: Measurement

Downloaded: 1112 times

Followed by: 1 user

License: MIT license

Download [958.46KB]

Description

This is a project based on the MMA7260 accelerometer that sends the data to the computer with RS232 protocol.

Includes simulation in ISIS, files in excel, labview 2010 serial read virtual instrument, datasheet and MikroC for the PIC16F877A files.

[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

Temperature and humidity measurements using DHT11 and time delays.

Rating:

0

Author: Vasileios Roidis

Last Updated: 2013-01-17

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Measurement

Downloaded: 1428 times

Not followed.

License: MIT license

Download [2.60KB]

Description

A simple program, based on time delays, to read data from DHT11.
No timers or other peripherals are needed, should work on other Pics.
(Only tested on PIC32 and mikroC pro for PIC32).
It should also be compatible with other versions of DHTxx.
Feedback is welcomed, also let me know if this works on other Pics with mikroC Pro.

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