TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (405 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (133 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 (141957 times)
  2. FAT32 Library (75145 times)
  3. Network Ethernet Library (59420 times)
  4. USB Device Library (49410 times)
  5. Network WiFi Library (45227 times)
  6. FT800 Library (44812 times)
  7. GSM click (31370 times)
  8. mikroSDK (30365 times)
  9. microSD click (27741 times)
  10. PID Library (27595 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]

< Back
Example

Mikrobasic SHT31 Example Code (Software I2C)

Rating:

0

Author: dnaci

Last Updated: 2023-11-05

Package Version: 1.0.0.0

Category: Measurement

Downloaded: 113 times

Not followed.

License: MIT license  

The sensor is read via PORTA.1 and PORTA.2 pins using software I2C.
The temperature value is stored in the tC variable and the humidity value is stored in the rhLin variable. These values can be printed on an LCD screen or sent to other devices. 3.3K pullup resistors can be used for data and clock ends.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Mikrobasic SHT31 Example Code (Software I2C)" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Mikrobasic SHT31 Example Code (Software I2C)" changes.

Do you want to report abuse regarding "Mikrobasic SHT31 Example Code (Software I2C)".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroBasic PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Example Blog

Blog currently doesn't exist!

ALSO FROM THIS AUTHOR

http server example mikrobasic and vb.net

0

This is an example of a mini web server. IP number can be changed. This IP number is stored in eeprom. Control computer program may be provided. Control program has been prepared with vb.net. There are circuit diagrams. The sample code is written for pic16F887 microcontroller. 15 outputs can be controlled. PORTB and PORTD output ports.

[Learn More]

PIC18F25K50 USB HID BOOTLOADER MIKROC

2

This project is the bootloader library for the pic18f25k50 processor. Prepared with microC. You can use it with the mikroe bootloader program. I thank Mikroelektronika for the sample code. NOTE: I think it is available in pic18LF25k50. But I didn't test it.

[Learn More]

PIC18F25K50 USB HID BOOTLOADER MIKROBASIC

0

This project is the bootloader library for the pic18f25k50 processor. Prepared with microbasic. You can use it with the mikroe bootloader program. I thank Vedat BaloÄŸlu for the sample code. NOTE: I think it is available in pic18LF25k50. But I didn't test it.

[Learn More]