Skip to content

Suggesting the use of a level-shifting buffer in the wiring #151

@eikehein

Description

@eikehein

Hey,

This is such a cool little project, thanks for sharing it with the world.

However, it suffers from an issue that many of the documented OBEGRÄNSAD hacks do: It connects the 3.3v logic pins of the esp32 directly to the SCT2024 drivers in the lamp, even though the drivers are run at 5v and the data sheet says that VIH is then at 3.5v (0.7x5V).

For sure this works for many people, but it's technically outside spec and has no reliability margin. It can very well also not work.

I recommend adding the suggestion to use a simple buffer to the shift up to 5v to the README, e.g. SN74HCT125N. They're ubiquitous, you can also easily get them on bread-boardable breakout boards for the soldering-disinclined and they are easy to hook up.

Bonus: Your project is a fantastic entry-level project for beginners, and this as good an opportunity as any to gently teach folks about mixing logic voltage levels and using shifters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions