Search found 8 matches

by balance
Thu Sep 16, 2021 5:10 pm
Forum: Raspberry Pi microcontroller boards
Topic: dynamically set up pin classes
Replies: 4
Views: 2694

Re: dynamically set up pin classes

Show us what you have so far. For example the code you already have.

What idea did you develop until now? I know your starting point (.csv) and your aim (dynamic pin declaration) but not the inbetween.

Than helping you is much more effective and you will learn much more.
by balance
Wed Sep 15, 2021 7:49 pm
Forum: General Discussion and Questions
Topic: Any clever ways to set up pins
Replies: 4
Views: 2223

Re: Any clever ways to set up pins

Hi together,

take a look at my answer to mbells question in Pi Pico thread:
viewtopic.php?f=21&t=11127

@Moderator: Maybe you can merge both threads to one. Thank you.
by balance
Wed Sep 15, 2021 7:05 pm
Forum: Raspberry Pi microcontroller boards
Topic: dynamically set up pin classes
Replies: 4
Views: 2694

Re: dynamically set up pin classes

Hi mbell, this answer will only be a part of your solution, but may help you. I have dynamical declared my output pins with a class. from machine import Pin, Timer import time my_OUT = [] # this will contain all dynamic declared output objects my_output_pins = [0, 1, 6, 7, 8, 9] # these are my Pi Pi...
by balance
Tue Sep 14, 2021 8:28 pm
Forum: Raspberry Pi microcontroller boards
Topic: [SOLVED] UART not receiving what i'm sending
Replies: 10
Views: 4350

Re: UART not receiving what i'm sending

Thank you very much for helping me!

This topic can be closed since it is clarified.
by balance
Tue Sep 14, 2021 5:11 pm
Forum: Raspberry Pi microcontroller boards
Topic: [SOLVED] UART not receiving what i'm sending
Replies: 10
Views: 4350

Re: UART not receiving what i'm sending

The Hardware ID is: FTDIBUS\COMPORT&VID_0403&PID_6001 My converter seems to be this one: https://www.digitus.info/de/produkte/?ean=4016032271611 Does this help you? I tried a 100k Pullup on the RX line with no succes. EDIT: And i did install latest drivers from Digitus Website EDIT 2: This is what h...
by balance
Tue Sep 14, 2021 4:35 pm
Forum: Raspberry Pi microcontroller boards
Topic: [SOLVED] UART not receiving what i'm sending
Replies: 10
Views: 4350

Re: UART not receiving what i'm sending

Ok i continued my investigations. Hardest part was to find my Logicanalyzer :lol: I connected my LA to RX and TX and got this result: When i send a HEX "01" via HTerm to the Pi Pico i get this answer from Pi Pico: 001.png But my LA says on the RX Line was this: (looks inverted in the first view but ...
by balance
Mon Sep 13, 2021 5:33 pm
Forum: Raspberry Pi microcontroller boards
Topic: [SOLVED] UART not receiving what i'm sending
Replies: 10
Views: 4350

Re: UART not receiving what i'm sending

Thank you for replying. I am using a Digitus USB to Serial bridge. So signal levels should be fine. Baudrates, stopbit, parity,... is double checked several times. I am using a timer because I stripped my code down to the essential part for debugging purpose. It shouldn't make a difference whether p...
by balance
Mon Sep 13, 2021 4:54 pm
Forum: Raspberry Pi microcontroller boards
Topic: [SOLVED] UART not receiving what i'm sending
Replies: 10
Views: 4350

[SOLVED] UART not receiving what i'm sending

Hi together, short introduction of myself: (skip if not interested) as this is my first Post in this Forum i would like to introduce myself. My Name is Daniel i am a mechanical engineer and i am interested in electronics and µControllers since many years. Normally i am working with Arduino's. But i ...