apirrone / apirrone/Open_Duck_Mini

1w led lights

未关闭
#34 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
4.1k
派生
525
PR 合并指标
30 天内没有已合并 PR

描述

I don't know if this has been corrected yet , but the 1 watt LED's pull too much current for the i/o pin on a rpiz2w. the pin output is limited to 14mA. i suggest putting a n-channel mosfet in to drive the leds. connect the gate to the io pin, connect the source to gnd and have the drain connect to the - on the led. i would also not use the 3.3 rpiz2w reg which is limited to 500ma. if all three leds are on it would pull about an amp. i would connect each led to 5v power through a 5.6 ohm power resistor. Simple ohms law stuff...

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。