Search found 7 matches

by theodox
Fri Nov 15, 2019 1:48 am
Forum: Pyboard D-series
Topic: Very peculiar on-off issue with urequests
Replies: 2
Views: 3336

Very peculiar on-off issue with urequests

I've got a pyboard D which talks to a web service using `urequests`. The communications aren't that complicated; it sends a get request and receives a short bit of json in in retun, something like this: {"remaining": 123, "total": 456} This all works.... slightly less than 50% of the time. One patte...
by theodox
Sun Jun 09, 2019 2:26 am
Forum: Pyboard D-series
Topic: Software I2C pull up for pyboard D?
Replies: 9
Views: 6438

Re: Software I2C pull up for pyboard D?

What I tried was

Pin("PULL_SCL").value(1)
Pin("PULL_SDA").value(1)
i2c = Pyb.I2C(1, Pyb.I2C.MASTER)
i2c.scan()

However that didn't work where the physical resistors did. I'm not sure how tolerant the PN532 board I'm working with is.
by theodox
Sat Jun 08, 2019 1:35 am
Forum: Pyboard D-series
Topic: Software I2C pull up for pyboard D?
Replies: 9
Views: 6438

Software I2C pull up for pyboard D?

I've got a Pyboard D talking to an Adafruit PN532 breakout board over I2C. It works -- however I have to use a wiring with a pull up resistor on the I2C connection to get it working (although it's not a pyboard in this image, this is the setup I'm using otherwise). https://cdn-learn.adafruit.com/ass...
by theodox
Sun Apr 28, 2019 6:23 am
Forum: Pyboard D-series
Topic: [CYW43] got unexpected packet -10
Replies: 1
Views: 2038

Re: [CYW43] got unexpected packet -10

It appears to be an issue with my wireless network ( a wireless N with a repeater) . Connecting to a wifi hotspot on my phone does not produce the same problem
by theodox
Sun Apr 28, 2019 4:55 am
Forum: Pyboard D-series
Topic: [CYW43] got unexpected packet -10
Replies: 1
Views: 2038

[CYW43] got unexpected packet -10

Just getting started with a new Pyboard-D . However i'm having a tough time with the onboard wifi. Although I can create a connection to my local wifi network, my REPL is spanned by the message [CYW43] got unexpected packet -10 about every 8-10 seconds. This makes it very difficult to do any interac...
by theodox
Sun Apr 14, 2019 5:31 pm
Forum: MicroPython pyboard
Topic: Strange behavior with Pyboard and ssd1306 display over I2C
Replies: 4
Views: 3787

Re: Strange behavior with Pyboard and ssd1306 display over I2C

I picked up the breadboard to inspect the LED for damange -- no problems -- but when I accidentally dropped the breadboard a couple of inches to the ground the display returned in full brightness. I'm still not clear how a digital device could be so wonky with what must have been a touch connection ...
by theodox
Sun Apr 14, 2019 12:33 am
Forum: MicroPython pyboard
Topic: Strange behavior with Pyboard and ssd1306 display over I2C
Replies: 4
Views: 3787

Strange behavior with Pyboard and ssd1306 display over I2C

I've been experimenting with a pyboard (running uPy 1.9.3) and a 128x32 OLED display controlled by an SSD1306. I used the 1.9.3 version of the ssd1306.py driver from the MicroPython github. I've managed to connect to the display using I2C, and I can do some operations successfully. For example I can...