EmbeddedRelated.com
The 2026 Embedded Online Conference

Practical protection against dust and water (i.e. IP protection)

Dr Cagri TanrioverDr Cagri Tanriover July 5, 2014

Needing IP65 protection while exposing humidity and pressure sensors on a tight $15 budget, Dr Cagri Tanriover hunted for a practical fix. He found that an SHT2x humidity sensor with a microporous filter cap and O-ring provides IP67-level protection, and by matching a pressure sensor that fits the same cap he met and exceeded the IP65 requirement. The post shows a low-cost, component-level workaround.


A simple working I2C (TWI) level shifter

Dr Cagri TanrioverDr Cagri Tanriover July 16, 20132 comments

When interfacing 3.3V and 5V boards, Dr Cagri Tanriover shows a no-fuss MOSFET solution to keep I2C talking across voltages. The post walks through using the NXP MOSFET level-shifter idea with BS170 transistors and 10 kΩ pull-ups, notes it ran at 400 kbps for his setup, and includes a quick four-step test to verify the build before connecting microcontrollers.


A Working Real Time Clock (RTC) Implementation

Dr Cagri TanrioverDr Cagri Tanriover March 25, 20132 comments

When the GPRS modem would not provide network time, Dr Cagri Tanriover implemented a compact hardware real time clock using the NXP PCF8523T. The post highlights why automatic backup switching, I2C integration, BCD register handling, and alarm/timer features matter for embedded timestamps. It also shows battery-life math with a CR1225 and offers practical build notes after an initial ESD-related failure.


LCD Control with an MCU

Dr Cagri TanrioverDr Cagri Tanriover November 17, 20129 comments

Dr Cagri Tanriover set out to add a cheap 2x16 JHD162A LCD to an MCU project and ran into surprisingly opaque datasheets and quirky behavior. This post walks through the wiring, a reliable initialization sequence, contrast troubleshooting, and practical scrolling and CGRAM tips that saved debugging time. Read it for hands-on fixes and gotchas that datasheets often omit.


A Useful Current Profiling Method

Dr Cagri TanrioverDr Cagri Tanriover July 2, 20123 comments

Dr Cagri Tanriover shares a practical, low-cost way to capture millisecond-scale current profiles when you do not have a DSO. The method uses a 0.3 ohm shunt, an LM324 amplifier with roughly 11x gain, and a microcontroller ADC to log 10-bit samples at 20 kHz, giving sub-millisecond timing and about 1.15 mA sensitivity for embedded radio measurements.


A Working Real Time Clock (RTC) Implementation

Dr Cagri TanrioverDr Cagri Tanriover March 25, 20132 comments

When the GPRS modem would not provide network time, Dr Cagri Tanriover implemented a compact hardware real time clock using the NXP PCF8523T. The post highlights why automatic backup switching, I2C integration, BCD register handling, and alarm/timer features matter for embedded timestamps. It also shows battery-life math with a CR1225 and offers practical build notes after an initial ESD-related failure.


A simple working I2C (TWI) level shifter

Dr Cagri TanrioverDr Cagri Tanriover July 16, 20132 comments

When interfacing 3.3V and 5V boards, Dr Cagri Tanriover shows a no-fuss MOSFET solution to keep I2C talking across voltages. The post walks through using the NXP MOSFET level-shifter idea with BS170 transistors and 10 kΩ pull-ups, notes it ran at 400 kbps for his setup, and includes a quick four-step test to verify the build before connecting microcontrollers.


A Useful Current Profiling Method

Dr Cagri TanrioverDr Cagri Tanriover July 2, 20123 comments

Dr Cagri Tanriover shares a practical, low-cost way to capture millisecond-scale current profiles when you do not have a DSO. The method uses a 0.3 ohm shunt, an LM324 amplifier with roughly 11x gain, and a microcontroller ADC to log 10-bit samples at 20 kHz, giving sub-millisecond timing and about 1.15 mA sensitivity for embedded radio measurements.


LCD Control with an MCU

Dr Cagri TanrioverDr Cagri Tanriover November 17, 20129 comments

Dr Cagri Tanriover set out to add a cheap 2x16 JHD162A LCD to an MCU project and ran into surprisingly opaque datasheets and quirky behavior. This post walks through the wiring, a reliable initialization sequence, contrast troubleshooting, and practical scrolling and CGRAM tips that saved debugging time. Read it for hands-on fixes and gotchas that datasheets often omit.


Practical protection against dust and water (i.e. IP protection)

Dr Cagri TanrioverDr Cagri Tanriover July 5, 2014

Needing IP65 protection while exposing humidity and pressure sensors on a tight $15 budget, Dr Cagri Tanriover hunted for a practical fix. He found that an SHT2x humidity sensor with a microporous filter cap and O-ring provides IP67-level protection, and by matching a pressure sensor that fits the same cap he met and exceeded the IP65 requirement. The post shows a low-cost, component-level workaround.


The 2026 Embedded Online Conference