esphome / esphome/feature-requests

Pressure and temperature sensor JHM1200 chip

Open
#1,805 1 comment 4 reactions 0 assignees View on GitHub
Type: Pressure Type: Temperature
Dominant language
No language data
Stars
450
Forks
29
PR merge metrics
No merged PRs in 30d

Description

**Describe the problem you have/What new integration you would like**
Please add a sensor:
Low-power IoT pressure sensor, 3.3V, I2C power supply, 0-1 MPa communication pressure sensor
https://aliexpress.ru/item/1005002685786637.html?gatewayAdapt=glo2rus&sku_id=12000021713435204&spm=a2g0s.12269583.0.0.53257059wZYXzZ

**Please describe your use case for this integration and alternatives you've tried:**
I found on the forums that this sensor has a JHM1200 chip
The documentation that the seller sent me is attached ( https://we.tl/t-DtHOi7bPba )
I'm not a programmer, after reading the documentation and searching the Internet for examples, I tried to add myself, but it didn't work out.
I tried with Arduino, I get a response from the sensor.

Sensor polling in Arduino
#include

void setup() {
Wire.begin(); // join i2c bus (address optional for master)
Serial.begin(9600); // start serial for output
}

void loop()
{
Wire.beginTransmission( 0x78);
Wire.write( 0xAC);
Wire.endTransmission();

delay( 1000);

int n = Wire.requestFrom( 0x78, 6);
Serial.print( "Received ");
Serial.print( n);
Serial.print( " bytes: ");
for( int i=0; i

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the seller-provided JHM1200.c documentation and the Arduino I2C polling example in this issue, including the 0x78 address and six-byte response. The integration is done when it reads the JHM1200 pressure and temperature data and applies the documented calibration values for the 0–1 MPa sensor.

Written by the indexing model from the issue text.

Assessment

Tech stack
arduino
Domain
embedded-iot
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.