# BH1750 light itensity sensor part submit

**URL:** <https://forum.fritzing.org/t/bh1750-light-itensity-sensor-part-submit/18518>\
**Category:** parts submit\
**Created:** [March 11, 2023, 8:03am UTC](https://forum.fritzing.org/t/bh1750-light-itensity-sensor-part-submit/18518 "2023-03-11T08:03:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nandan\_Hegde](https://forum.fritzing.org/user_avatar/forum.fritzing.org/nandan_hegde/32/15358_2.png) [@Nandan\_Hegde](https://forum.fritzing.org/u/Nandan_Hegde)\
**Post date:** [March 11, 2023, 8:03am UTC](https://forum.fritzing.org/t/bh1750-light-itensity-sensor-part-submit/18518/1 "2023-03-11T08:03:25Z")

</div>

Hello everyone here is the BH1750 part (light intensity sensor) library you can download it from

> <https://github.com/vdemay/fritzing-parts/blob/master/parts/BH1750.fzpz>

 ![Screenshot_20230311_133246_Chrome](https://forum.fritzing.org/uploads/default/original/2X/4/47111febcf7658c9894fff9f93a42508a8904d1d.jpeg)

Nandan

---

<div class="post-metadata">

**Author:** ![vanepp](https://forum.fritzing.org/user_avatar/forum.fritzing.org/vanepp/32/4426_2.png) [@vanepp](https://forum.fritzing.org/u/vanepp)\
**Post date:** [March 11, 2023, 3:48pm UTC](https://forum.fritzing.org/t/bh1750-light-itensity-sensor-part-submit/18518/3 "2023-03-11T15:48:19Z")

</div>

A few issues schematic lacks teminalIds and thus connects in the center of the pin rather than the end. The part lacks a label field in the fzp file and thus uses “part” (it should be set to ‘A’ for assembly.) In pcb the hole sizes are a bit too large (0.04in rather than the standard 0.038in for headers.)

 ![capture](https://forum.fritzing.org/uploads/default/original/2X/2/22f47076d408a236740192fc68f30cd934bdf192.jpeg)

As well FritzingCheckPart.py finds a couple of errors (the lack of a layerId in schematic will cause the part to not export as an image.)

Error 69: File  
‘svg.schematic.BH1750\_27ff8a3c90bc7808d0b01da93474414b\_13\_schematic.svg.bak’  
At line 12

Found a drawing element before a layerId (or no layerId)

Error 18: File  
‘part.BH1750\_27ff8a3c90bc7808d0b01da93474414b\_13.fzp.bak’

Connector connector8terminal is in the fzp file but not the svg file. (typo?)

svg svg.schematic.BH1750\_27ff8a3c90bc7808d0b01da93474414b\_13\_schematic.svg.bak

This tutorial should assist you in fixing these

> [@Part creation howto part 1 breadboard and pcb](https://forum.fritzing.org/t/part-creation-howto-part-1-breadboard-and-pcb/7692):
>
> Someone in this forum post requested help to fix up a part. So while doing that I decided to record what I needed to do in order to fix the part to provide a tutorial to create new / fix broken parts. If you start from the Tarjeta S4A EDU.fzpz file posted in the above thread, you should be able to recreate my improved part posted in the same thread. I started by loading the original part in to Fritzing, that indicates breadboard is (at first look anyway) pretty good, but schematic and pcb are…

Peter
