Search found 121 matches

by ThomasChr
Tue Apr 16, 2019 7:29 pm
Forum: MicroPython pyboard
Topic: I can't access microSD cards with Pyboard 1.1
Replies: 28
Views: 60584

Re: I can't access microSD cards with Pyboard 1.1

I would have done the exact same think. After a little bit of testing you surely will know if it‘s stable enough.
by ThomasChr
Tue Apr 16, 2019 6:27 pm
Forum: MicroPython pyboard
Topic: I can't access microSD cards with Pyboard 1.1
Replies: 28
Views: 60584

Re: I can't access microSD cards with Pyboard 1.1

I though that maybe they forgot one pin on the hardware side, and after looking at the schematic I remembered that there are two kinds of microsd connectors, with and without detection switch. So I tried to forcefully change the detection pin and it worked :-) The next step would have been to use a ...
by ThomasChr
Tue Apr 16, 2019 5:45 pm
Forum: MicroPython pyboard
Topic: Will 3.6 volts fry my pyboard
Replies: 2
Views: 2201

Re: Will 3.6 volts fry my pyboard

Digital input of the Pyboard are 5V tolerant. So no problem here.
The analog inputs are not, so beware.
But I'm pretty sure that 3.6V won't damage anything...
by ThomasChr
Tue Apr 16, 2019 5:43 pm
Forum: MicroPython pyboard
Topic: I can't access microSD cards with Pyboard 1.1
Replies: 28
Views: 60584

Re: I can't access microSD cards with Pyboard 1.1

The problem is that the chinese people "forgot" to connect the Pin A8 which is the SD Detection Pin. I assume they opted for a cheaper microsd connector which simply does not have such a switch (0.00 Cent saved!). You can use your SD-Card like so: mport os import pyb import machine # Forces the pin ...
by ThomasChr
Tue Apr 16, 2019 4:29 pm
Forum: MicroPython pyboard
Topic: I can't access microSD cards with Pyboard 1.1
Replies: 28
Views: 60584

Re: I can't access microSD cards with Pyboard 1.1

Even sd.present() does not detect the SD Card, so it seems to be a hardware problem? Maybe the chinese guys did something wrong when copying the schematics. Are there any ways to find out whats wrong here? Maybe we can speak SPI to the microSD Card?
by ThomasChr
Tue Apr 16, 2019 4:09 pm
Forum: MicroPython pyboard
Topic: I can't access microSD cards with Pyboard 1.1
Replies: 28
Views: 60584

Re: I can't access microSD cards with Pyboard 1.1

I can confirm the problem. I also got a Crow Pyboard (which seems to be a cheap version of the Pyboard 1.0 or 1.1 - I'm not sure) and it also does not mount the sd card whatever I do. I have another clone (not Crow) which has absolutely no problem to mount the sd card. So I'm pretty sure the SD card...
by ThomasChr
Mon Apr 15, 2019 5:08 am
Forum: MicroPython pyboard
Topic: Strange behavior with Pyboard and ssd1306 display over I2C
Replies: 4
Views: 3856

Re: Strange behavior with Pyboard and ssd1306 display over I2C

I‘m not quite sure if dropping to the floor would have been my first suggestion, but glad it helped :-)
by ThomasChr
Wed Apr 10, 2019 1:48 pm
Forum: ESP32 boards
Topic: Relay On Time
Replies: 9
Views: 5127

Re: Relay On Time

What about:

Code: Select all

while True:
    relay1.on()
    time.sleep(10000)
    relay1.off()
    time.sleep(10000)
This will turn the relay on for 10 seconds and off for 10 seconds endlessly...
by ThomasChr
Tue Apr 09, 2019 5:26 pm
Forum: ESP32 boards
Topic: Relay On Time
Replies: 9
Views: 5127

Re: Relay On Time

I don‘t think the code makes much sense at all...
by ThomasChr
Tue Apr 09, 2019 1:31 pm
Forum: ESP32 boards
Topic: Relay On Time
Replies: 9
Views: 5127

Re: Relay On Time

??? You turn the relay on. You let the uc sleep for a period of time. You turn the relay off. What is odd here? Yes, you can also use timers which have the benefit of letting your main code running and not sleeping, but sometimes you don't need to do anything in the sleep phase and so you can sleep...