Search found 9 matches

by sibir
Mon Nov 16, 2020 2:21 pm
Forum: Drivers for External Components
Topic: How to generate a square wave chirp?
Replies: 4
Views: 4215

Re: How to generate a square wave chirp?

I looked through your multiaxis.py code for GPIO. It looks like you are using constant acceleration, so there is still jerk. I will try it out and see if I am happy with the result.
by sibir
Mon Nov 16, 2020 2:22 am
Forum: Drivers for External Components
Topic: How to generate a square wave chirp?
Replies: 4
Views: 4215

Re: How to generate a square wave chirp?

Thank you, Oliver. I thought there must be relevant information on the forum, but I could not find it.
by sibir
Fri Nov 13, 2020 8:13 pm
Forum: Drivers for External Components
Topic: How to generate a square wave chirp?
Replies: 4
Views: 4215

How to generate a square wave chirp?

I am using a pyboard to control a linear stage (aka positioning table). The stage has a step motor with an integrated driver, so the interface is via TTL inputs for clock, direction, on/off, and stepsize. The 5V tolerance of the pyboard made it the best, albeit pricey choice for the controller. For ...
by sibir
Thu May 21, 2020 2:33 am
Forum: General Discussion and Questions
Topic: ADC performance of MicroPython boards
Replies: 12
Views: 21134

Re: ADC performance of MicroPython boards

Here is a sawtooth sampled with ESP32. Note the non-linearity: ESP32.png The same looks better (more linear and less noisy) on the ESP8266 ESP8266.png But in both cases there are periodic outliers. One could probably run slightly faster by optimizing the code. I simply used: for i in range(1000): da...
by sibir
Wed Apr 08, 2020 4:10 pm
Forum: Pyboard D-series
Topic: High Speed USB PHY
Replies: 7
Views: 7416

Re: High Speed USB PHY

Any plans to support Isochronous Transfers?
by sibir
Wed Apr 08, 2020 3:56 pm
Forum: General Discussion and Questions
Topic: ADC performance of MicroPython boards
Replies: 12
Views: 21134

Re: ADC performance of MicroPython boards

The PyBoard's ADC.read.timed() should not have jitter since it's timer based. But because it's blocking you cannot use it for sustained data logging. For an oscilloscope-like application where you only need one trace at a time it should be sufficient however. Can anyone with a D-series PyBoard and/o...
by sibir
Thu Jan 19, 2017 2:36 am
Forum: ESP8266 boards
Topic: howto: Flash MicroPython with nodemcu flasher and connect with putty on Windows
Replies: 12
Views: 25085

Re: howto: Flash MicroPython with nodemcu flasher and connect with putty on Windows

For me it works:

MicroPython v1.8.7-7-gb5a1a20a3 on 2017-01-09; ESP module with ESP8266
Type "help()" for more information.
>>> os.listdir()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'os' is not defined
>>> import os
>>> os.listdir()
['boot.py']
>>>
by sibir
Wed Jan 18, 2017 4:12 am
Forum: ESP8266 boards
Topic: howto: Flash MicroPython with nodemcu flasher and connect with putty on Windows
Replies: 12
Views: 25085

Re: howto: Flash MicroPython with nodemcu flasher and connect with putty on Windows

It appears after flashing my ESP8266 with microPython the serial port speed is 115200 (8N1 no flow control).
I went through all other speeds and only 115200 worked. nodeMCU was more forgiving...
A reset still produces a chunk of garbage but then I get the Python prompt.
by sibir
Tue Jan 17, 2017 2:10 pm
Forum: ESP8266 boards
Topic: howto: Flash MicroPython with nodemcu flasher and connect with putty on Windows
Replies: 12
Views: 25085

Re: howto: Flash MicroPython with nodemcu flasher and connect with putty on Windows

Hi there, I believe I bought the same board on Amazon listed as "HiLetgo NodeMCU LUA WiFi Internet ESP8266 Development Board ESP-12E" I installed the Silicon Labs CP210x driver and flashed my board with esp8266-20161110-v1.8.6.bin using the nodeMCU tool (ESP8266Flasher.exe) just as you did and all l...