Search found 8 matches

by rena2019
Tue Apr 20, 2021 8:32 am
Forum: Other Boards
Topic: NRF52: NFC support?
Replies: 3
Views: 2191

Re: NRF52: NFC support?

Is someone out there who had success with building micropython for nRF52840 with NFC support? I tried to build the 1.5 years old branch https://github.com/glennrub/micropython/tree/nrf52_nfc "Add basic support for NFC tag 2" https://github.com/glennrub/micropython/commit/a8a7f7b3e3a64a6e3f2ae79f6fb8...
by rena2019
Mon Mar 29, 2021 9:36 am
Forum: ESP32 boards
Topic: ESP32-CAM-MB + Development Board CH340G
Replies: 15
Views: 1917

Re: ESP32-CAM-MB + Development Board CH340G

I checked the communication with a serial port monitoring ( sudt AccessPort ) and found out that the Arduino Serial Monitor is using a different IOCTL_SERIAL_SET_HANDFLOW setting (with ControlHandShake: 0x0). Putty and pySerial use the same IOCTL_SERIAL_SET_HANDFLOW (with ControlHandShake: > 0x0) an...
by rena2019
Sun Mar 28, 2021 9:07 am
Forum: ESP32 boards
Topic: ESP32-CAM-MB + Development Board CH340G
Replies: 15
Views: 1917

Re: ESP32-CAM-MB + Development Board CH340G

yes, flow control is disabled. Putty works for me with the same settings with different boards and different MicroPython builds but not with this board... I just found out that the serial communication works with Arduino Serial Monitor. Does the Serial Monitor send a special character or a control s...
by rena2019
Sat Mar 27, 2021 7:08 pm
Forum: ESP32 boards
Topic: ESP32-CAM-MB + Development Board CH340G
Replies: 15
Views: 1917

Re: ESP32-CAM-MB + Development Board CH340G

I bought the same board from a different seller at ebay and I have similar issues: After esptool --port COM5 --before default_reset --after hard_reset erase_flash esptool --port COM5 --baud 460800 write_flash --verify -z 0x1000 esp32-idf4-20210202-v1.14.bin I tried to connect with putty: putty.exe -...
by rena2019
Sun Oct 27, 2019 7:29 pm
Forum: ESP32 boards
Topic: MicroPython with adafruit-circuitpython-pn532 / CircuitPython on ESP32
Replies: 9
Views: 3849

Re: MicroPython with adafruit-circuitpython-pn532 / CircuitPython on ESP32

@roberthh thanks for the reply. The first command pn532.get_firmware_version() works now for me. See also my previous post. I think I now have to modify some "delay calls" because the communication seems to be instable: >>> print(pn532.read_passive_target(timeout=500)) None >>> print(pn532.read_pass...
by rena2019
Sun Oct 27, 2019 7:12 pm
Forum: ESP32 boards
Topic: MicroPython with adafruit-circuitpython-pn532 / CircuitPython on ESP32
Replies: 9
Views: 3849

Re: MicroPython with adafruit-circuitpython-pn532 / CircuitPython on ESP32

RTFM helps ;-) >>> import NFC_PN532 as nfc >>> from machine import Pin, SPI >>> spi_dev = SPI(2, baudrate=1000000, sck=Pin(18), mosi=Pin(23), miso=Pin(19)) >>> cs = Pin(5, Pin.OUT) >>> cs.on() >>> pn532 = nfc.PN532(spi_dev,cs) >>> ic, ver, rev, support = pn532.get_firmware_version() >>> print('Found...
by rena2019
Sun Oct 27, 2019 7:05 pm
Forum: ESP32 boards
Topic: MicroPython with adafruit-circuitpython-pn532 / CircuitPython on ESP32
Replies: 9
Views: 3849

Re: MicroPython with adafruit-circuitpython-pn532 / CircuitPython on ESP32

Hi, I've actually done this (option 2) but I forgot to post that to the drivers forum section. Here is the repo: https://github.com/Carglglz/NFC_PN532_SPI :) I just tried your code without luck: >> import NFC_PN532 as nfc >>> from machine import Pin, SPI >>> spi_dev = SPI(1, baudrate=1000000) >>> c...
by rena2019
Sun Oct 27, 2019 3:47 pm
Forum: ESP32 boards
Topic: MicroPython with adafruit-circuitpython-pn532 / CircuitPython on ESP32
Replies: 9
Views: 3849

MicroPython with adafruit-circuitpython-pn532 / CircuitPython on ESP32

Hi all, I want to use micropython with PN532. I found the adafruit-circuitpython-pn532 lib @ adafruit and found out that the current version of circuitpython does not run on ESP32 anymore. Now I have the following questions: 1) Is it somehow possible to patch and run the current version of CircuitPy...