研究筆記-LoPy

編輯歷史

時間 作者 版本
2017-01-02 11:24 – 12:49 wuulong sheu r484 – r744
顯示 diff
(12 行未修改)
- Remark
+ GPIO Checked
+ # sample code in the document seems have syntax error, following is good.
import machine
led=machine.Pin("GPIO12",machine.Pin.OUT)
(56 行未修改)
*dhcp server start:(ip: 192.168.4.1, mask: 255.255.255.0, gw: 192.168.4.1)
*
- 參考資料
+ 參*
+
+ Try PyMate
+ *By follow the setup procedure and in PyMate App (iOS), the setup devices always can't connected. The setup procedure run smoothly. But not working.
+
+ *The /flash directory only have main.py, boot.py , Can't find any additional library and python file which I think there should be have some support files.
+
+ *Pymate: Understanding Virtual and Terminal Pins
+ *
+ 資料
*pycom
- *LoPy
+ *L
+ *Forum
+ *MicroPython librariesoPy
*Datasheet
*Expansion Board 2.0
(5 行未修改)
2017-01-02 06:23 – 06:39 wuulong sheu r392 – r483
顯示 diff
(9 行未修改)
*Telnet connected (micro/python)
*Boot with your code
+ *Bluetooth ADV check OK
(18 行未修改)
>>> print(os.uname().release)
1.1.0.b1
- Normal console output
+ No
+
+ Check Bluetooth Adv
+ *telnet and UART console hard to use code copy&paste to run python script.
+ *use PyMakr, run script will be better
+
+ *from network import Bluetooth
+ *import binascii
+ *bluetooth = Bluetooth()
+ *
+ *bluetooth.start_scan(5)
+ *while True:
+ * adv = bluetooth.get_adv()
+ * if adv:
+ * # try to the the complete name
+ * print(bluetooth.resolve_adv_data(adv.data, Bluetooth.ADV_NAME_CMPL))
+ *
+ * # try to get the manufacturer data (Apple's iBeacon data is sent here)
+ * #print(binascii.hexlify(bluetooth.resolve_adv_data(adv.data, Bluetooth.ADV_MANUFACTURER_DATA))
+ *
+ *
+ Output: CC2650 SensorTa.
+ rmal console output
*ets Jun 8 2016 00:22:57
*
(26 行未修改)
2017-01-02 04:19 – 04:58 wuulong sheu r321 – r391
顯示 diff
(22 行未修改)
network module don't have Bluetooth. Maybe need upgrade
+
+ Upgrade firmware
+ 升級時,電源另外給 5v, 資料還是用 3.3v
+ FTDI TxD-P0(Rx0), FTDI RxD-P1(Tx0), FTDI GND-GND.
+ .9.0.b network module don't have Bluetooth. 1.1.0.b1 have.from
+ .9.>.b to 1.1.0.b1>> import os
+ >>> print(os.uname().release)
+ 1.1.0.b1
+ Normal console output
+ *ets Jun 8 2016 00:22:57
+ *
+ *rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
+ *configsip: 0, SPIWP:0x00
+ *clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
+ *mode:QIO, clock div:2
+ *load:0x3fff9010,len:8
+ *load:0x3fff9018,len:312
+ *load:0x40078000,len:2352
+ *load:0x4009f000,len:1196
+ *entry 0x4009f2d8
+ *frc2_timer_task_hdl:3ffd2634, prio:22, stack:2048
+ *tcpip_task_hdlxxx : 3ffd7154, prio:18,stack:2048
+ *pp_task_hdl : 3ffdb3c4, prio:23, stack:8192
+ *mode : softAP(24:0a:c4:00:b4:ff)
+ *dhcp server start:(ip: 192.168.4.1, mask: 255.255.255.0, gw: 192.168.4.1)
+ *dhcp server start:(ip: 192.168.4.1, mask: 255.255.255.0, gw: 192.168.4.1)
+ *
參考資料
*pycom
(8 行未修改)
2017-01-02 00:16 – 00:56 wuulong sheu r251 – r320
顯示 diff
(20 行未修改)
*use ftp 192.168.4.1 to upload.
*or add main.py to your project and sync project in PyMakr
+
+ network module don't have Bluetooth. Maybe need upgrade
參考資料
(3 行未修改)
*Expansion Board 2.0
*LoPy PinOut
+ *Document
*Quickstart guide
+ *Expansion Board PinOut
+ *Expansion Board User Manual
2017-01-01 13:48 – 14:48 wuulong sheu r55 – r250
顯示 diff
(2 行未修改)
緣起
聽說有個整合了 Wifi, Bluetooth, LoRa 的好東西,所以借來玩玩
+
+ Step by Step
+ *Quick Start - LED color checked
+ *GPIO check
+ *Pymakr connected
+ *Telnet connected (micro/python)
+ *Boot with your code
+
+
+ Remark
+ import machine
+ led=machine.Pin("GPIO12",machine.Pin.OUT)
+ led(1)
+
+ Boot with your code
+ Replace main.py in flash/
+ *use ftp 192.168.4.1 to upload.
+ *or add main.py to your project and sync project in PyMakr
參考資料
(6 行未修改)
2016-12-29 00:19 – 00:19 wuulong sheu r44 – r54
顯示 diff
(8 行未修改)
*Datasheet
*Expansion Board 2.0
+ *LoPy PinOut
*Quickstart guide
2016-12-28 21:31 – 21:42 wuulong sheu r7 – r43
顯示 diff
(4 行未修改)
參考資料
- *
+ *pycom
+ *LoPy
+ *Datasheet
+ *Expansion Board 2.0
+ *Quickstart guide
2016-12-28 21:31 (unknown) r6
顯示 diff
(7 行未修改)
2016-12-28 21:31 – 21:31 wuulong sheu r3 – r5
顯示 diff
(4 行未修改)
參考資料
+ *
2016-12-28 21:31 (unknown) r2
顯示 diff
(6 行未修改)
2016-12-28 21:31 wuulong sheu r1
顯示 diff
研究筆記-LoPy
+
+ 緣起
+ 聽說有個整合了 Wifi, Bluetooth, LoRa 的好東西,所以借來玩玩
+
+ 參考資料
2016-12-28 21:29 (unknown) r0
顯示 diff
-
+ 研究筆記-LoPy