Search found 644 matches

by Roberthh
Sun Jun 25, 2017 6:25 am
Forum: ESP32 boards
Topic: ESP32 ADC Range
Replies: 2
Views: 157

Re: ESP32 ADC Range

Once you created an adc object, you can call adc.atten() to change the range, and adc.width to change the bit size e.g.: import machine adc = machine.ADC(machine.Pin(36) adc.atten(adc.ATTN_6DB) This sets the range to 0..2 V. You can also add arguments as atten=value and width=value to the constructo...
by Roberthh
Thu Jun 22, 2017 6:54 pm
Forum: ESP8266 boards
Topic: Flashing the D1 Mini Lite
Replies: 12
Views: 686

Re: Flashing the D1 Mini Lite

If you open a serial terminal connection to the board, e.g. with screen, can you enter raw REPL mode manually with Ctrl-A?
by Roberthh
Thu Jun 22, 2017 6:52 pm
Forum: ESP32 boards
Topic: Adafruit HUZZAH32 – ESP32 Feather Board
Replies: 4
Views: 541

Re: Adafruit HUZZAH32 – ESP32 Feather Board

a) DO you just have the Wroom-32 module or the module assembled on a board? For loading the firmware, GPIO0 must be tied to GND. The Huzzah and ESP32-Thing have circuitry which is set by esptool, which pull GPIO0 low. If you just have the module, you must do that youself. b) Do you use esptool.py V2...
by Roberthh
Thu Jun 22, 2017 10:57 am
Forum: Hardware Projects
Topic: MLX90621 hardware
Replies: 10
Views: 240

Re: MLX90621 hardware

To act just as a motion detection, a PIR sensor is sufficient. I tried a few, and ended up using sensors of the AMN-Series of Panasonic (e.g. AMN31111J). A little bit more expensive than the usual 4-6$ models from China, but very easy to integrate (Vcc 3..6V, open drain output), many different varia...
by Roberthh
Mon Jun 19, 2017 4:40 pm
Forum: ESP32 boards
Topic: ESP32 daily firmware builds
Replies: 4
Views: 278

Re: ESP32 daily firmware builds

I have made a build of todays repository state. You can find it here https://github.com/robert-hh/Shared-Stuff The filename is firmware.bin. You have to use esptool.py to flash it to the device. The command is: path_to_esptool.py/esptool.py --chip esp32 --port /dev/ttyUSB0 --baud 460800 write_flash ...
by Roberthh
Mon Jun 19, 2017 7:53 am
Forum: ESP8266 boards
Topic: Status of MicroPython ESP8266 project
Replies: 12
Views: 564

Re: Status of MicroPython ESP8266 project

Hello Paul, just my opinion about the videos: I prefer the written word, because in most cases it is more concise and precise, and the existing documentation supports that impression. And, not to forget, you can serach in it for a topic. So if appropriate videos of Adafruit exist, just let people us...
by Roberthh
Mon Jun 19, 2017 5:13 am
Forum: ESP8266 boards
Topic: Disable UART1 boot messages
Replies: 12
Views: 319

Re: Disable UART1 boot messages

Is one port better than the other? That's hard to say. While the pycom.io port seems more complete, the micropython.org port seems more stable and has the larger stack size. But the impression of robustness may also only results from a smaller user community. If it offers all features, I personally...
by Roberthh
Sun Jun 18, 2017 7:05 pm
Forum: ESP8266 boards
Topic: Status of MicroPython ESP8266 project
Replies: 12
Views: 564

Re: Status of MicroPython ESP8266 project

Hello Paul, it's not good that xou have health issues. I hope you will fully recover. Best whishes for that from my side. Robert
by Roberthh
Sun Jun 18, 2017 6:06 pm
Forum: ESP8266 boards
Topic: Disable UART1 boot messages
Replies: 12
Views: 319

Re: Disable UART1 boot messages

If you do not need WiFi, try the Pyboard. If you need WiFi, you could try WiPy 1. Even if it is not manufactured any more, you may still be able to get one. You can also try one of the new ESP32 boards like WiPy2, Wemos LoLin32, Adafruit Feather ESp32, ... For ESP32 devices there the Micrpython.org ...
by Roberthh
Sat Jun 17, 2017 3:17 pm
Forum: ESP8266 boards
Topic: Firmware build with auto-run of Python module?
Replies: 4
Views: 170

Re: Firmware build with auto-run of Python module?

There is _boot.py in modules, which is the first script executed at startup. Maybe you can start you code from there. The related section in main.c reads as: pyexec_frozen_module("_boot.py"); pyexec_file("boot.py"); if (pyexec_mode_kind == PYEXEC_MODE_FRIENDLY_REPL) { pyexec_file...

Go to advanced search