Links for code samples about sensors with WiPy2.0
-
I need to know if there are some working code for WiPy2.0
for any "sensors". I know it is starting project but maybe somwhere are.
I am interested in sensors like:-
temperature:
* ds18b20
* DHT11 and DHT22 -
display:
LCD 16x2 (HD44780) -
distance
HC-SR04
any other...
-
-
We are working on finishing an example project with a PIR sensor, expect this soon on the forum. I hope that will help you to get started implementing your own sensors.
-
@livius said in Links for code samples about sensors with WiPy2.0:
LCD 16x2 (HD44780)
I'm using a PCF8591 I2C extender with a HD44780 compatible display. You can find several code examples and libraries for micropython on github that require minimal changes.
HC-SR04
This one requires Timer support to be implemented first (hopefully in tomorrow's firmware release).
Never used the DHT* sensors so not sure about their communication protocol.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login