9/05/2019 Pyboard D-series reference — Pyboard D-series 1.0 documentation Docs » Pyboard D‑series reference Pyboard D-series reference This reference is valid for all PYBD models. https://pybd.io/hw/pybd_sfxw.
19/05/2019 https://pybd.io/hw/pybd_sfxw.html Pyboard D-series reference — Pyboard D-series 1.
19/05/2019 Pyboard D-series reference — Pyboard D-series 1.0 documentation For the schema cs see: PYBD_SFxW_schema cs.pdf Power supply Note Please take note of the following power supply op ons: The simplest way is to plug a USB cable into the USB port on the PYBD. That will power the PYBD and allow communica on with the PC. You can power the PYBD via the VUSB port (see X‑posi ons). The voltage on this port must be between 4.8V and 5.2V. This port contains a protec ve diode and a 1A fast/0.22Ohm fuse.
Pyboard D-series reference — Pyboard D-series 1.0 documentation For best performance provide 3.4V on VIN (3.3V is also ok but 3.4V will benefit from 19/05/2019 LDO filtering). If there is a chance that the USB port (or VUSB) will provide power as well as VIN, then VIN should be protected with a diode (eg Scho ky diode or a FET reverse protector).
reference — Pyboard D-series 1.0 documentation There are two USB interfaces: FSPyboard and D-series HS. The USB HS port is the main one and is available on the PYBD itself. The FS port is made available on the WBUS‑DIP28 adapter. By default 19/05/2019 the USB port to use will be auto‑detected based on the presence of a cable plugged in. It can be selected manually, eg in boot.py : import pyb pyb.usb_mode('VCP+MSC', port=-1) pyb.usb_mode('VCP+MSC', port=0) pyb.usb_mode('VCP+MSC', port=1) pyb.
19/05/2019 Pyboard D-series reference — Pyboard D-series 1.0 documentation import network wl = network.WLAN() wl.active(1) # bring up the interface wl.config('mac') # get the MAC address wl.config(antenna=0) # select antenna, 0=chip, 1=external wl.scan() # scan for access points, returning a list wl.connect('ssid', 'password') # connect to an access point wl.isconnected() # check if connected to an access point wl.
Pins and GPIO 19/05/2019 Pyboard D-series reference — Pyboard D-series 1.0 documentation All pins are available via their WBUS name, eg for convenience, such as Pin('X1') Pin('W19') . Some pins also have other names . See pinouts for a full list of accessible pin names. See pyb.Pin for details of pin use. from machine import Pin x1 = Pin('X1', Pin.OUT) x1.value(1) # set pin digital high x2 = Pin('X2', Pin.IN, Pin.PULL_UP) print(x2.
19/05/2019import sys, os, pyb Pyboard D-series reference — Pyboard D-series 1.0 documentation if pyb.SDCard().present(): os.mount(pyb.SDCard(), '/sd') sys.path[1:1] = ['/sd', '/sd/lib'] The above code will also put the SD card’s filesystem in the path list so Python scripts can be imported from the SD card. You can remove or change this as desired. Differences to the original PYBv1.x The main differences between PYBD and the original PYBv1.
Regulatory Module Integration Instructions 2.2 List of applicable FCC rules This device complies with part 15.247 of the FCC Rules. 2.3 Summarize the specific operational use conditions This module can be used in household electrical appliances as well as lighting equipment. The input voltage to the module should be nominally 4.5~5.5 VDC ,typical value 5.0VDC and the ambient temperature of the module should not exceed 85°C. This module using only two kind of antennas, with maximum gain is 2.2 dBi .
2.9 Information on test modes and additional testing requirements a) The modular transmitter has been fully tested by the module grantee on the required number of channels, modulation types, and modes, it should not be necessary for the host installer to re-test all the available transmitter modes or settings.
2.10 Additional testing, Part 15 subpart B disclaimer The final host / module combination needs to be evaluated against the FCC Part 15B criteria for unintentional radiators in order to be properly authorized for operation as a Part 15 digital device.