openwch / ch32v003

CH32V003 is an ultra-cheap RISC-V MCU with 2KB SRAM, 16KB flash, and up to 18 GPIOs that sells for under $0.10
393 stars 58 forks source link

Problem in interfacing bme280 sensor with vsdsquadron using i2c communication #41

Closed SwapnanilChakraborty closed 5 months ago

SwapnanilChakraborty commented 6 months ago

Since vsdsquadron not compatible with arduino or esp8266 libraries then what libraries we should use to send the data read by bme280 sensor to vsdsquadron by using i2c communication between sensor and vsdsquadron board which uses the CH32V00X MCU

qiyongshuang commented 6 months ago

CH32V003 follows the standard I2C protocol. Does your vsdsquadron board can output I2C signal? what is your problem?Can you describe it in detail?

SwapnanilChakraborty commented 6 months ago

Actually I need to interface bme280 sensor with vsdsquadron for reading the sensor data using i2c for that after looking at the data sheet of vsdsquadron I found the PC2 pin is for SCK and PD1 for SDA I made the connections between bme280 and vsdsquadron but when it comes to coding part since vsdsquadron is not compatible with arduino libraries I am not able to get the coding idea and the vsdsquadron uses A CH32V00X MCU And noneos-SDK framework

qiyongshuang commented 6 months ago

Do your want to communicate with vsdsquadron? if yes ,your should contact the manufacturer of the vsdsquadron product.