SparkFun Qwiic MicroPressure Sensor


Price:
₹ 3,350 ₹ 4,105 (Includes all taxes)Save ₹ 755


   ₹ 3350.0 includes GST and import duties.
   B2B customers can avail ₹ 510.88 ITC on this product
   100% Secure Payments | 100% Genuine product

Brand: sparkfun
SKU: 4804738908245


Description

Bulk Discount

Quantity Price
2 ₹ 3283.0
3-5 ₹ 3249.5
5-10 ₹ 3182.5
10+ ₹ 3115.5

Bulk discount will be automatically applied during checkout based on quantity.

Customer Reviews

Based on 1 review
100%
(1)
0%
(0)
0%
(0)
0%
(0)
0%
(0)
M
MANIVANNAN SELVAM (Erode, IN)
Here is our python code for this sensor which is not available in internet

import time
import matplotlib.pyplot as plt
import smbus2
from smbus2
import i2c_msg
#from smbus2 import SMBus

output_max = 0xE66666
output_min = 0x19999A
maxpsi = 25
minpsi = 0

busy_flag = 0x20
integrity_flag = 0x04
math_sat_flag = 0x01

bus = smbus2.SMBus(1)
msg = i2c_msg.write(0x18, [0xAA, 0x00, 0x00])
bus.i2c_rdwr(msg)
time.sleep(0.05)
pressure_list = []
while(len(pressure_list) < 40):
msg = i2c_msg.read(0x18, 4)
bus.i2c_rdwr(msg)
output = list(msg)
print(output)
reading = 0
for a in range(0,3):
reading |= output[a]
if(a !=2):
reading = reading << 8
pressure = (reading - output_min) * (maxpsi - minpsi)
pressure = (pressure / (output_max - output_min)) + minpsi
pressure_list.append(pressure * 6894.7573)
msg = i2c_msg.write(0x18, [0xAA, 0x00, 0x00])
bus.i2c_rdwr(msg)
time.sleep(0.25)
print(pressure_list)
plt.plot(pressure_list)
plt.show()

100% Original Product

Genuine imported product

100% Secure Payment

Highest grade security

100% Purchase Protection

Worry-free ordering

GST Tax Invoice

B2B customers avail ITC

Recently viewed