Search found 24 matches

by mathieu
Fri Sep 13, 2019 6:00 pm
Forum: Pyboard D-series
Topic: Am I not using pyb.main() properly?
Replies: 1
Views: 72

Am I not using pyb.main() properly?

On a pyboard-D with the latest firmware, my `boot.py` is: import pyb pyb.main('main.py') And my `main.py` is; from pyb import Timer, LED timer = Timer(14) timer.callback(lambda x: LED(2).toggle()) timer.init(freq = 4) When I switch the board off and then back on, the green LED stays off, but it star...
by mathieu
Wed Sep 11, 2019 6:07 pm
Forum: Pyboard D-series
Topic: Replacement USB fuse
Replies: 3
Views: 96

Re: Replacement USB fuse

Thanks. Out of curiosity, is there a compelling reason not to create a solder bridge over the top of the blown fuse, as an alternative to buying a SMD resistor?
by mathieu
Wed Sep 11, 2019 3:02 pm
Forum: Pyboard D-series
Topic: Replacement USB fuse
Replies: 3
Views: 96

Replacement USB fuse

Hi all,

Does anybody know where the '1A fast/0.22Ohm fuse' used to protect VUSB could be purchased?

Also, how difficult/reckless would it be to replace the original with a new one?

Thanks.
by mathieu
Wed Aug 28, 2019 10:50 pm
Forum: Pyboard D-series
Topic: PYBD WBUS connector
Replies: 7
Views: 797

Re: PYBD WBUS connector

Now that we know what connectors mate to the D series I would like to know how to place these connectors on a PCB for the PYBD to mate to. I cannot find a drawing that shows the coordinate locations for the connectors. Anyone have a link? This may be helpful: https://github.com/mdaeron/pybd-breakou...
by mathieu
Wed May 15, 2019 11:30 pm
Forum: Pyboard D-series
Topic: Home-made breakout / dev board
Replies: 2
Views: 370

Home-made breakout / dev board

Based on the information from this thread , I designed a very basic development board for the pybd which is documented here . This is actually the first PCB I ever designed, and a big part of the fun was finding out if I could pull off soldering the 0.4-mm-pitch WBUS connectors (spoiler: it's much e...
by mathieu
Sat Apr 06, 2019 4:17 pm
Forum: Pyboard D-series
Topic: Unresponsive pyboard: how to tell if it's dead?
Replies: 6
Views: 580

Re: Unresponsive pyboard: how to tell if it's dead?

A few answers: - This is a pyboard D (PYBD-SF6-W4F2) - I was (foolishly) driving a PAM-8403 audio amp out of the VIN pin of the WBUS-DIP68. I was under the impression that my computer USB could not deliver 1 A :? . - It does look like the fuse is blown (infinite resistance), and the LED lights up br...
by mathieu
Sat Apr 06, 2019 1:32 pm
Forum: Pyboard D-series
Topic: Unresponsive pyboard: how to tell if it's dead?
Replies: 6
Views: 580

Unresponsive pyboard: how to tell if it's dead?

I connect the USB port on my pyboard D to a computer. Nothing lights up on the board; rshell is unable to see the board; no flash drive is mounted on the computer. Same results with a different computer, and with a different USB cable. Pressing USR and RST buttons to enter safe mode gets no response...
by mathieu
Mon Feb 11, 2019 5:26 pm
Forum: MicroPython pyboard
Topic: Changing DAC.write_timed() frequency on the fly
Replies: 1
Views: 172

Re: Changing DAC.write_timed() frequency on the fly

Answering my own question based on a very quick test using a blinking LED connected to the DAC pin... Yes, it seems to work (for the blinking LED at least) by calling Timer(6).freq(f) , where f is the desired frequency. This is (to me at least) unexpected and delightful in its simplicity. I've been ...
by mathieu
Mon Feb 11, 2019 3:39 pm
Forum: MicroPython pyboard
Topic: Changing DAC.write_timed() frequency on the fly
Replies: 1
Views: 172

Changing DAC.write_timed() frequency on the fly

After initiating a DMA transfer from a buffer to a DAC using DAC.write_timed() in DAC.CIRCULAR mode, is there any way to change the frequency at which the buffer is written to the DAC without a new call to DAC.write_timed()? For instance by acting on Timer(6)? My goal would be to imitate some kind o...
by mathieu
Fri Feb 08, 2019 9:51 pm
Forum: Pyboard D-series
Topic: Questions and wish list about Pyboard D
Replies: 35
Views: 3229

Re: Questions and wish list about Pyboard D

Questions: Is there a reasonable chance that the pyboard D would have out-of-the-box support for I2S? Or, conversely, is there any reason to think this is unlikely? Further: am I wrong in believing the micropython implementations of I2S only run on ESP32 boards? If that's correct, is there a technic...