I'm a newbie with 2 new Pyb v1.1. I've waited until humidity was over 85%
to remove them from anti-static sleeves to avoid zapping them. I've
plugged them into USB port on my Win10 laptop. One Pyb blinks one Led and
the other blinks 3 Leds. Neither Pyb shows up in File Explorer. Program.
Openned Python 3.6 and input "import pyb". reply: ModuleNotFoundError: No module named 'pyb'.
What am I doing wrong?
MicroPython startup, No flash drive
Re: MicroPython startup, No flash drive
Morning...GilbertGagne wrote: ↑Tue Dec 14, 2021 12:55 amI'm a newbie with 2 new Pyb v1.1. I've waited until humidity was over 85%
to remove them from anti-static sleeves to avoid zapping them. I've
plugged them into USB port on my Win10 laptop. One Pyb blinks one Led and
the other blinks 3 Leds. Neither Pyb shows up in File Explorer. Program.
Openned Python 3.6 and input "import pyb". reply: ModuleNotFoundError: No module named 'pyb'.
What am I doing wrong?
Don't own a PyBoard, but maybe this link of MicroPython Documentation 1.17 would help...
https://docs.micropython.org/en/latest/ ... index.html
Re: MicroPython startup, No flash drive
A good start would be installing the up-to-date firmware.
-
- Posts: 7
- Joined: Wed Nov 11, 2020 5:40 pm
Re: MicroPython startup, No flash drive
According to the referenced doc, the Pyb is correctly connected via USB to PC and PC is running File Explorer. File Explorer does not list any flash drive.
I would like to re-install up to date software but have not found how to do that. Some guidance and/or references would be greatly appreciated.
I would like to re-install up to date software but have not found how to do that. Some guidance and/or references would be greatly appreciated.
Re: MicroPython startup, No flash drive
For Download images, go to https://micropython.org/download/?vendo ... 20Robotics
Select the board you own. There you will find the firmware images and load instructions.
Select the board you own. There you will find the firmware images and load instructions.
Re: MicroPython startup, No flash drive
You're opening Python on your PC, for one thing.GilbertGagne wrote: ↑Tue Dec 14, 2021 12:55 amOpenned Python 3.6 and input "import pyb". reply: ModuleNotFoundError: No module named 'pyb'.
What am I doing wrong?
You need to talk to the MicroPython on the pyboard instead, over the USB serial link.
For this you need a communications program.
-
- Posts: 7
- Joined: Wed Nov 11, 2020 5:40 pm
Re: MicroPython startup, No flash drive
I tried downloading updated software but found that my USB cable passed power but not data. A new USB cable now reads the PYB Flash drive. Problem solved.
Thank you all for the helpful comments. It sure is comforting to have this rescue forum.
Thank you all for the helpful comments. It sure is comforting to have this rescue forum.