Search found 152 matches
- Mon Nov 04, 2019 5:26 am
- Forum: Other Boards
- Topic: nucleo F401RE cannot import name Servo
- Replies: 7
- Views: 4605
Re: nucleo F401RE cannot import name Servo
The easiest way to build MicroPython is to load Ubuntu from the Microsoft Store. Type bash in the search box to launch a Ubuntu bash shell using WSL (Windows subsystem for Linux). Then follow the MicroPython readme for building under Ubuntu. I use Tortoise Git and a Windows programmer's editor to ma...
- Sun Nov 03, 2019 10:15 am
- Forum: General Discussion and Questions
- Topic: Shift Register PWM
- Replies: 6
- Views: 4577
Re: Shift Register PWM
If the supply voltage is less than the reverse breakdown voltage of the LEDs you may not need individual transistors on the shift register outputs, just one transistor or MOSFET on the common GND side of the LEDs driven by a PWM signal. If you only want say 16 levels of brightness you may be able to...
- Sun Nov 03, 2019 6:46 am
- Forum: MicroPython pyboard
- Topic: LiPo powering and charging
- Replies: 2
- Views: 2678
Re: LiPo powering and charging
There is no on board Lipo charger and no connector pins to add one without soldering directly to a diode or IC pad. Q1 acts as a diode. When Vbus is absent the Pyboard is powered from the main battery (VBAT). Initially power goes through the body diode. If VBUS is disconnected resistor R22 will turn...
- Thu Oct 24, 2019 9:39 am
- Forum: General Discussion and Questions
- Topic: Is there some successful MicroPython products?
- Replies: 9
- Views: 6454
Re: Is there some successful MicroPython products?
I use MicroPython in commercial products. I haven't had a problem with performance. MicroPython has interrupt and timer call backs and cooperative multi tasking (uasyncio) to help get good response to time critical events. If you want Wi-Fi or BLE the ESP8266 and ESP32 run MicroPython or C/ASM at th...
- Sun Oct 13, 2019 10:15 am
- Forum: Other Boards
- Topic: STM32F103C8T6 Data Acquisition board
- Replies: 3
- Views: 2848
Re: STM32F103C8T6 Data Acquisition board
STM32F103C8T6 only has 64K flash. That's not enough. The smallest working port for STM32 is L073 at 192K. I have managed to get it down to 149K but I gave up trying to get to 128K.
- Sat Oct 12, 2019 4:34 am
- Forum: General Discussion and Questions
- Topic: Micropython Education - Project proposals, ideas and help requested.
- Replies: 12
- Views: 8250
Re: Micropython Education - Project proposals, ideas and help requested.
One of the big advantages of MicroPython is ease of debugging in the field, especially by field technicians who are not professional programmers. Often a full machine is not available during software development and debugging is done at least partly with LEDs, switches, meters, etc. Then the control...
- Wed Aug 28, 2019 2:31 pm
- Forum: General Discussion and Questions
- Topic: Using LSI instead of LSE
- Replies: 6
- Views: 3807
Re: Using LSI instead of LSE
From the data sheet: Multispeed internal RC oscillator (MSI), trimmable by software, able to generate 12 frequencies from 100 kHz to 48 MHz. When a 32.768 kHz clock source is available in the system (LSE), the MSI frequency can be automatically trimmed by hardware to reach better than ±0.25% accurac...
- Tue Aug 27, 2019 3:38 pm
- Forum: General Discussion and Questions
- Topic: Using LSI instead of LSE
- Replies: 6
- Views: 3807
Re: Using LSI instead of LSE
USB needs a 0.25% accurate 48Mhz clock.On the L4 this is normally derived from a PLL multiplier from LSE. LSI is very inaccurate and cannot be used for USB or UART. The MSI is ok for UART at commercial temp, but not for USB. The L4 can derive a clock from USB SOF (1 kHz) but I don't know if MicroPyt...
- Sun Aug 11, 2019 2:45 am
- Forum: Other Boards
- Topic: Teensy 4.0 & 4.1
- Replies: 290
- Views: 497165
- Fri Aug 02, 2019 1:02 am
- Forum: Pyboard D-series
- Topic: Programming a D-series in Win64
- Replies: 7
- Views: 6532
Re: Programming a D-series in Win64
I had issues with dfuse demo on another recent MCU and have changed to STMcubeprogrammer on Windows. It seems to support the newer MCUs. You have to follow the instructions to completely remove the dfuse USB driver before installing STMcubeprogrammer. It took a few attempts to get the driver to upda...