Skip to content

Commit 404c0c2

Browse files
committed
Magnetic sensor notes
1 parent 673d432 commit 404c0c2

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

edg/parts/MagneticSwitch_Ah1806.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ class Ah1806(MagneticSwitch, Block):
3434
"""Micropower omnipolar hall-effect switch, open-drain (external pullup required)
3535
Typ. 30 gauss (15-45 tolerance range) operation (turn-on) point
3636
and 20 G (10-40 tolerance range) release point.
37-
0.1% duty cycle, period of 75ms (typ)."""
37+
0.1% duty cycle, period of 75ms (typ).
38+
Pin-compatible with some others in the AH18xx series and DRV5032, which have different trip characteristics"""
3839
def __init__(self):
3940
super().__init__()
4041
self.ic = self.Block(Ah1806_Device())

examples/test_iot_blinds.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,8 @@ class IotCurtainCrawler(JlcBoardTop):
175175
~2.7v min starting voltage; 40mA open current, 200mA stall current @ 4.0v
176176
177177
Motor is a 2-pin PicoBlade 1.25mm connector, Molex_PicoBlade_53398-0271_1x02-1MP_P1.25mm_Vertical
178+
179+
Hall sensor is SOT-23 type, marked "6201"
178180
"""
179181
def contents(self) -> None:
180182
super().contents()

0 commit comments

Comments
 (0)