!MTdVVOInabnKbeInfo:matrix.org

Raspberry Pi Pico

67 Members
Dedicated to the Raspberry Pi Foundation's Pico Microcontroller Board and RP2040 Chip (M0+)5 Servers

Load older messages


SenderMessageTime
15 Oct 2023
@dankward15738:matrix.orgdankward15738Hi, 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@olafsons:matrix.org joined the room.07:41:27
23 Oct 2023
@olafsons:matrix.org@olafsons:matrix.org left the room.05:41:01
13 Nov 2023
@stupidisasstupiddoes:matrix.org@stupidisasstupiddoes:matrix.org joined the room.16:37:08
@stupidisasstupiddoes:matrix.org@stupidisasstupiddoes:matrix.org left the room.16:40:39
19 Nov 2023
@trepanatd:matrix.orgtrepanatd joined the room.20:59:18
28 Nov 2023
@trepanatd:matrix.orgtrepanatdWhat projects are you working on?17:03:51
29 Nov 2023
@dankward15738:matrix.orgdankward15738Hi , the documentation is there: "https://docs.micropython.org/en/latest/library/machine.Pin.html"13:47:35
@dankward15738:matrix.orgdankward15738
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:matrix.orgdankward15738from machine import Pin13:49:41
@dankward15738:matrix.orgdankward15738IN_OUT = Pin(22,Pin.OPEN_DRAIN)13:52:47
@dankward15738:matrix.orgdankward15738You must put a Resitor (10K) from Pin 22 to 3.3 Volt13:54:09
@dankward15738:matrix.orgdankward15738IN_OUT.Value(0) # Output is going to Low 13:55:28
@dankward15738:matrix.orgdankward15738IN_OUT.Value(1) # Output is going to High13:56:22
@dankward15738:matrix.orgdankward15738If Pin 22 High, you can use himself as Input.13:59:01
@dankward15738:matrix.orgdankward15738result = IN_OUT.value()14:00:07
@dankward15738:matrix.orgdankward15738 * IN_OUT.value(0) # Output is going to Low 14:00:26
@dankward15738:matrix.orgdankward15738 * IN_OUT.value(1) # Output is going to High 14:00:37
@trepanatd:matrix.orgtrepanatd 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:matrix.orgdankward15738I 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_EN18:08:39
6 Dec 2023
@psydroid:matrix.orgpsydroid changed their display name from psydroid to Tyrannosaurus Rex.17:29:20
@psydroid:matrix.orgpsydroid changed their display name from Tyrannosaurus Rex to psydroid.17:47:08
22 Dec 2023
@sapfeer0k:matrix.orgsapfeer0k dankward15738: Hi dankward15738 , I haven't seen your answer :) 18:45:49
@sapfeer0k:matrix.orgsapfeer0kThanks for the suggestion. I decided to use micropython , since it is faster to develop18:46:18
13 Jan 2024
@psydroid:matrix.orgpsydroid changed their profile picture.20:51:29
15 Jan 2024
@psydroid:matrix.orgpsydroid changed their profile picture.08:20:41
16 Jan 2024
@68k:matrix.orgBernd changed their profile picture.09:30:51
@holonium:holonium.eu.orgholonium changed their profile picture.11:48:07
9 Feb 2024
@badrb:matrix.orgbadrb set a profile picture.09:59:24
7 Apr 2024
@sarath08071994:matrix.org@sarath08071994:matrix.org left the room.06:41:03

There are no newer messages yet.


Back to Room ListRoom Version: 6