Search found 88 matches

by mathieu
Mon Dec 28, 2020 9:29 pm
Forum: ESP32 boards
Topic: Class for stepper motor driven by Easy Driver
Replies: 4
Views: 2489

Re: Class for stepper motor driven by Easy Driver

Did you try replacing

Code: Select all

self.stp = step_pin
by

Code: Select all

self.stp = machine.Pin(step_pin)
or something like that?
by mathieu
Fri Dec 18, 2020 9:28 pm
Forum: Programs, Libraries and Tools
Topic: Timers and/or uasyncio
Replies: 7
Views: 3965

Re: Timers and/or uasyncio

Thanks again Peter. I only very recently started to experiment with at asynchronous coding, so this is helpful. I'll be trying to implement all I need without timers, if only as a learning experience. In case anybody is interested, I'm a stable isotope geochemist and this project aims to design from...
by mathieu
Fri Dec 18, 2020 1:48 pm
Forum: Programs, Libraries and Tools
Topic: Timers and/or uasyncio
Replies: 7
Views: 3965

Re: Timers and/or uasyncio

Thanks Peter for pointing me to that. I'm trying to make this work but my UART device (MKS 910 pressure/vacuum gauge) seems to communicate without ever using newlines: all communications are of the form "@254_;FF", with the underscore replaced with the actual content of the message. I tried calling ...
by mathieu
Thu Dec 17, 2020 3:38 pm
Forum: Programs, Libraries and Tools
Topic: Timers and/or uasyncio
Replies: 7
Views: 3965

Timers and/or uasyncio

I have prior experience with pyboard Timers and I'm currently learning my way around the uasyncio library. Are there general recommendations as to how these two things work well (or not) together? For example, suppose I wanted to repeatedly write to a UART device, wait for a fixed delay and read fro...
by mathieu
Thu Nov 19, 2020 10:26 pm
Forum: MicroPython pyboard
Topic: Max current out of 3V3?
Replies: 3
Views: 3286

Max current out of 3V3?

I feel like this question must be answered somewhere, but I've been looking for some time now with no success: what is the max current that can be safely supplied by each of the 3V3 pins of the pyboard 1.1?
by mathieu
Sun Jul 26, 2020 5:37 pm
Forum: General Discussion and Questions
Topic: Best safe practices?
Replies: 3
Views: 2170

Best safe practices?

I have a pyboard-D powered by the 5V output of this step-down voltage regulator and connected to an audio amp, an MPU, and a thread of 144 WS2812 leds potentially drawing several Amperes of current. The pyboard reads data from the MPU and generates sound and light effects in real-time. For debugging...
by mathieu
Sun Jul 12, 2020 10:04 am
Forum: Pyboard D-series
Topic: PYBD WBUS connector
Replies: 22
Views: 17700

Re: PYBD WBUS connector

chuckbook wrote:
Sun Jun 28, 2020 2:32 pm
When using small mezzanine connectors it is good practice to route unused pins to dummy tracks with vias close to the unused pads.
That sounds interesting, but could you explain why? Does this improve mechanical robustness? How?
by mathieu
Sat Dec 28, 2019 10:48 am
Forum: General Discussion and Questions
Topic: Surface mount soldering: can anyone help with two chips?
Replies: 10
Views: 5847

Re: Surface mount soldering: can anyone help with two chips?

What coworkers and I did a few times is just to solder all pads without taking care of possible interconnections between adjacent pads. And then to remove the excessive solder with solder wick. Sounds strange, but worked. I second this suggestion, which in my experience works very well. I've done s...
by mathieu
Fri Nov 08, 2019 4:28 pm
Forum: Programs, Libraries and Tools
Topic: Can anybody compile unix port with ulab on a Mac?
Replies: 1
Views: 1779

Can anybody compile unix port with ulab on a Mac?

I successfully compiled micropython with ulab for the pyboard-D (SF6), but I can't seem to do the same for the unix port. This is on a Mac with macOS 10.13.6 with the latest XCode tools. Here is my build script: git clone https://github.com/micropython/micropython.git git clone https://github.com/v9...
by mathieu
Mon Nov 04, 2019 9:17 pm
Forum: Development of MicroPython
Topic: ulab, or what you will - numpy on bare metal
Replies: 108
Views: 93952

Re: ulab, or what you will - numpy on bare metal

In any case, if you can compile a working piece of firmware with the latest source as @jimmo suggested, would you mind reporting back here? If it is still not working, then I would be interested in finding out where the problem lies. I did compile a working version based on micropython 1.11 (6f75c4...