Uploaded December 2024 | Updated September 2026, 8 hours ago
In this video, I will cover some basics of i2c communication and I will demonstrate some code where I communicate with a sensor by sending instructions to it and reading values from it. The CH32 code examples don’t have any transmit and receive functions implemented that we can find in the Arduino IDE as Wire.read() and Wire.write(), so one of the first things to do will be to implement these. Then the rest is easy because we just need to use these two functions to send and receive data from an i2c device.
Consider becoming a channel member! youtube.com/channel/UCKp1MzuAceJnDqAvsZl_46g/join
Affiliate links:
CH32V003F4P6: https://s.click.aliexpress.com/e/_DdUKRAz
WCH-LinkE programmer: https://s.click.aliexpress.com/e/_DdUKRAz
AS5600 encoder: https://s.click.aliexpress.com/e/_DdslBBN
PCF8574 IO expander: https://s.click.aliexpress.com/e/_oF8Ec7x
Article: https://curiousscientist.tech/blog/ch32v003f4p6-i2c-basics
Resources: wch-ic.com/products/CH32V003.html
Parts and tools: https://curiousscientist.tech/tools
In this video, I will cover some basics of i2c communication and I will demonstrate some code where I communicate with a sensor by sending instructions to it and reading values from it. The CH32 code examples don’t have any transmit and receive functions implemented that we can find in the Arduino IDE as Wire.read() and Wire.write(), so one of the first things to do will be to implement these. Then the rest is easy because we just need to use these two functions to send and receive data from an i2c device.
Consider becoming a channel member! youtube.com/channel/UCKp1MzuAceJnDqAvsZl_46g/join
Affiliate links:
CH32V003F4P6: https://s.click.aliexpress.com/e/_DdUKRAz
WCH-LinkE programmer: https://s.click.aliexpress.com/e/_DdUKRAz
AS5600 encoder: https://s.click.aliexpress.com/e/_DdslBBN
PCF8574 IO expander: https://s.click.aliexpress.com/e/_oF8Ec7x
Article: https://curiousscientist.tech/blog/ch32v003f4p6-i2c-basics
Resources: wch-ic.com/products/CH32V003.html
Parts and tools: https://curiousscientist.tech/tools


![#tsl2591 #circuitboards #lightmeter #soldering #reflow #pcb #electronics
In this video, I show you my new device, specifically developed for analog camera. It is a cheap, but reliable light meter based on the TSL2591 light meter chip and the CH32V006F8P6 microcontroller.
Join this channel to get access to perks:
https://www.youtube.com/channel/UCKp1MzuAceJnDqAvsZl_46g/join
Affiliate links:
Cold shoe to 1/4 adapter: https://s.click.aliexpress.com/e/_c3YOI1KL
Multimeter: https://s.click.aliexpress.com/e/_AfAhM2
Lithium battery: https://s.click.aliexpress.com/e/_c3pfuat5
CH32 Chip: https://s.click.aliexpress.com/e/_c3CzTyc7
OLED Display: https://s.click.aliexpress.com/e/_DcZ7cf5
Solder paste dispenser: https://s.click.aliexpress.com/e/_oFIM4oH
Solder paste: https://s.click.aliexpress.com/e/_oplNPLB
Reflow station: https://s.click.aliexpress.com/e/_omtZVYJ
Precision tweezers: https://s.click.aliexpress.com/e/_Dmjm8CZ
Get my PCB: https://www.pcbway.com/project/shareproject/Light_meter_for_analog_cameras_[CH32V006F8P6_TSL2591]_7560e041.html
Read my article: https://curiousscientist.tech/blog/light-meter-for-analogue-cameras
Get relevant parts: https://curiousscientist.tech/tools #tsl2591 #circuitboards #lightmeter #soldering #reflow #pcb #electronics](https://i.ytimg.com/vi/Byr0lTDodBc/mqdefault.jpg)







