15 Oct 2023 |
dankward15738 | Hi, will you use c++ or micropython for You Projekt . I can helpdesk You, if You Use Micropython
| 20:34:12 |
22 Oct 2023 |
| @olafsons:matrix.org joined the room. | 07:41:27 |
23 Oct 2023 |
| @olafsons:matrix.org left the room. | 05:41:01 |
13 Nov 2023 |
| @stupidisasstupiddoes:matrix.org joined the room. | 16:37:08 |
| @stupidisasstupiddoes:matrix.org left the room. | 16:40:39 |
19 Nov 2023 |
| trepanatd joined the room. | 20:59:18 |
28 Nov 2023 |
trepanatd | What projects are you working on? | 17:03:51 |
29 Nov 2023 |
dankward15738 | Hi , the documentation is there: "https://docs.micropython.org/en/latest/library/machine.Pin.html" | 13:47:35 |
dankward15738 | In reply to @sapfeer0k:matrix.org Hi everyone, I am trying to build a project using PIO where the same pin in responsible for input & output. Could someone point me to the video guide or very well documented code so I can learn how to do it the right way?
Examplecode: | 13:48:31 |
dankward15738 | from machine import Pin | 13:49:41 |
dankward15738 | IN_OUT = Pin(22,Pin.OPEN_DRAIN) | 13:52:47 |
dankward15738 | You must put a Resitor (10K) from Pin 22 to 3.3 Volt | 13:54:09 |
dankward15738 | IN_OUT.Value(0) # Output is going to Low | 13:55:28 |
dankward15738 | IN_OUT.Value(1) # Output is going to High | 13:56:22 |
dankward15738 | If Pin 22 High, you can use himself as Input. | 13:59:01 |
dankward15738 | result = IN_OUT.value() | 14:00:07 |
dankward15738 | * IN_OUT.value(0) # Output is going to Low | 14:00:26 |
dankward15738 | * IN_OUT.value(1) # Output is going to High | 14:00:37 |
trepanatd | For a pi pico W, to use a battery backup that is charged via solar (for times when electricity is out for one day at a time), what size lithium battery should be used? | 16:40:59 |
dankward15738 | I think, you use three 18650 LiIonen parallel between Vsys an GND. The status of the battery you can check with machine.ADC(3). if itis low, you may stop the pico with 3.3_EN | 18:08:39 |
6 Dec 2023 |
| psydroid changed their display name from psydroid to Tyrannosaurus Rex. | 17:29:20 |
| psydroid changed their display name from Tyrannosaurus Rex to psydroid. | 17:47:08 |
22 Dec 2023 |
sapfeer0k | dankward15738: Hi dankward15738 , I haven't seen your answer :) | 18:45:49 |
sapfeer0k | Thanks for the suggestion. I decided to use micropython , since it is faster to develop | 18:46:18 |
13 Jan 2024 |
| psydroid changed their profile picture. | 20:51:29 |
15 Jan 2024 |
| psydroid changed their profile picture. | 08:20:41 |
16 Jan 2024 |
| Bernd changed their profile picture. | 09:30:51 |
| holonium changed their profile picture. | 11:48:07 |
9 Feb 2024 |
| badrb set a profile picture. | 09:59:24 |
7 Apr 2024 |
| @sarath08071994:matrix.org left the room. | 06:41:03 |