Author |
Message |
Topic: QMC5883L compass sensor library |
sshahryiar
Replies: 3
Views: 22527
|
Forum: Code Library Posted: Thu Jul 20, 2023 7:22 pm Subject: QMC5883L compass sensor library |
Worked for me without any issue....
https://youtu.be/X7eT1KRQwkA |
Topic: QMC5883L compass sensor library |
sshahryiar
Replies: 3
Views: 22527
|
Forum: Code Library Posted: Fri Jan 07, 2022 8:18 pm Subject: QMC5883L compass sensor library |
https://libstock.mikroe.com/projects/view/4878/qm5883-digital-compass-demo |
Topic: BH1750 Digital Light Sensor / Lux Meter Chip Driver |
sshahryiar
Replies: 3
Views: 53735
|
Forum: Code Library Posted: Fri Jul 07, 2017 8:37 pm Subject: BH1750 Digital Light Sensor / Lux Meter Chip Driver |
Example Code
#include <16F87.h>
#device *= 16
#fuses INTRC_IO, PROTECT, NOWDT, BROWNOUT, NOWRT
#fuses NODEBUG, NOIESO, PUT, NOMCLR, FCMEN, CPD
#use delay ... |
Topic: Waveshare BD663474 2.2 Inch 320x240 TFT Touch LCD Library |
sshahryiar
Replies: 0
Views: 23469
|
Forum: Code Library Posted: Sat Aug 13, 2016 10:58 pm Subject: Waveshare BD663474 2.2 Inch 320x240 TFT Touch LCD Library |
font.c
static const unsigned char font[96][5] =
{
{0x00, 0x00, 0x00, 0x00, 0x00} // 20
,{0x00, 0x00, 0x5F, 0x00, 0x00} // 21 !
,{0x0 ... |
Topic: DHT11 Relative Humidity and Temperature Sensor |
sshahryiar
Replies: 14
Views: 111999
|
Forum: Code Library Posted: Sat Aug 13, 2016 10:26 pm Subject: Multiple DHT Sensor |
Yeah I think you can use multiple DHT sensors using a analog MUX like 4051.... |
Topic: DHT11 Relative Humidity and Temperature Sensor |
sshahryiar
Replies: 14
Views: 111999
|
Forum: Code Library Posted: Sun Jun 19, 2016 12:23 am Subject: DHT11 Simulation |
It won't work in simulation.... |
Topic: AM2320 I2C Relative Humidity and Temperature Sensor Driver |
sshahryiar
Replies: 14
Views: 92129
|
Forum: Code Library Posted: Sun Mar 27, 2016 9:58 am Subject: AM2320 I2C Relative Humidity and Temperature Sensor Driver |
You are getting 255 instead of 25.5 because in my MikroC example I avoided floating point math and instead used integral math to conserve RAM.... |
Topic: AM2320 I2C Relative Humidity and Temperature Sensor Driver |
sshahryiar
Replies: 14
Views: 92129
|
Forum: Code Library Posted: Sun Mar 27, 2016 8:12 am Subject: AM2320 I2C Relative Humidity and Temperature Sensor Driver |
What about the humidity data? Is it also negative? |
Topic: AM2320 I2C Relative Humidity and Temperature Sensor Driver |
sshahryiar
Replies: 14
Views: 92129
|
Forum: Code Library Posted: Sun Mar 27, 2016 8:11 am Subject: AM2320 I2C Relative Humidity and Temperature Sensor Driver |
It could be due to wrong variable type.... You need to be careful with pointers too.... |
Topic: AM2320 I2C Relative Humidity and Temperature Sensor Driver |
sshahryiar
Replies: 14
Views: 92129
|
Forum: Code Library Posted: Sun Mar 27, 2016 7:02 am Subject: AM2320 I2C Relative Humidity and Temperature Sensor Driver |
Did you get any error message? What do you mean by "doesn't work well"? |
Topic: AM2320 I2C Relative Humidity and Temperature Sensor Driver |
sshahryiar
Replies: 14
Views: 92129
|
Forum: Code Library Posted: Mon Mar 21, 2016 8:37 pm Subject: AM2320 Relative Humidity and Temperature Sensor |
I used the same code as here but in a AT89S51. Please check the example here:
http://libstock.mikroe.com/projects/view/1331/am2320-relative-humidity-and-temperature-sensor-demo
Check out the dem ... |
Topic: Calculator Project |
sshahryiar
Replies: 2
Views: 30402
|
Forum: Code Library Posted: Sun Feb 21, 2016 1:09 am Subject: ghost |
Thanks for the tip.... |
Topic: Calculator Project |
sshahryiar
Replies: 2
Views: 30402
|
Forum: Code Library Posted: Sat Feb 20, 2016 9:35 pm Subject: Calculator Project |
This is a simple calculator made with 7 segment display and a 4x4 keypad. Currently only integral calculations are supported.
keypad.h
#define col1 pin_A1
#define col2 pin_A2
#define col ... |
Topic: DHT11 Relative Humidity and Temperature Sensor |
sshahryiar
Replies: 14
Views: 111999
|
Forum: Code Library Posted: Tue Jan 26, 2016 7:32 pm Subject: Proteus Sim.... |
Don't depend on Proteus sim as it sometimes fail terribly.... Test it in real life.... Here's my test video:
https://www.youtube.com/watch?v=uYR1GkMOCGw
By the way where did you get the model for ... |
Topic: I2C LCD |
sshahryiar
Replies: 1
Views: 31075
|
Forum: Code Library Posted: Sat Sep 05, 2015 4:18 am Subject: I2C LCD |
PCF8574.h
#define PCF8574_address 0x40
#define PCF8574_write_cmd PCF8574_address
#define PCF8574_read_cmd (PCF8574_address + 1)
#define SDA_pin pin_A5
#define SCL_p ... |
|