Search found 1037 matches

by deshipu
Tue Jun 27, 2017 10:24 am
Forum: ESP8266 boards
Topic: GPIO15/D8 on NodeMCU going high by default
Replies: 1
Views: 36

Re: GPIO15/D8 on NodeMCU going high by default

The ESP8266 uses the pins gpio0, gpio1, gpio2, gpio3 and gpio15 in its boot process, and there is nothing that can be done about it. The bootloader is hardwired in the chip's ROM memory. If you need the pins in a particular state at boot, choose other pins than the listed.
by deshipu
Mon Jun 26, 2017 11:16 pm
Forum: Development of MicroPython
Topic: Understanding bytecode compiler and its limits
Replies: 5
Views: 157

Re: Understanding bytecode compiler and its limits

Recursive descent algorithms have usually pretty nasty characteristics, both memory and time-wise. It would be interesting, however, if the Python grammar could be tackled with an operator-precedence parser -- those are linear both in terms of time and memory, and simple enough to be done by hand.
by deshipu
Sun Jun 25, 2017 11:14 pm
Forum: The micro:bit
Topic: radio in micro:bit
Replies: 5
Views: 133

Re: radio in micro:bit

Yes, you can do that in C/C++, but I have no idea how. You should probably look for it on some other forums about those languages.
by deshipu
Sat Jun 24, 2017 10:54 am
Forum: The micro:bit
Topic: radio in micro:bit
Replies: 5
Views: 133

Re: radio in micro:bit

You can't use the bluetooth on the micro:bit with MicroPython -- there isn't enough memory for that.
by deshipu
Wed Jun 21, 2017 8:42 pm
Forum: The micro:bit
Topic: radio in micro:bit
Replies: 5
Views: 133

Re: radio in micro:bit

One of the distinguishing features of the Python programming language is that it doesn't use parens like ( and ) or braces like { and } or keywords like BEGIN and END to denote blocks of code, like other programming languages do, but instead it relies on indentation -- that is, the amount of white s...
by deshipu
Wed Jun 21, 2017 4:37 pm
Forum: Hardware Projects
Topic: MLX90621 hardware
Replies: 9
Views: 190

Re: MLX90621 hardware

On the other hand, have you looked at the simple PIR sensors? They could detect human presence much easier.
by deshipu
Wed Jun 21, 2017 4:36 pm
Forum: Hardware Projects
Topic: MLX90621 hardware
Replies: 9
Views: 190

Re: MLX90621 hardware

This is oddly specific. I don't have any experience with this particular sensor, but looking at the datasheet at https://www.melexis.com/en/product/MLX90621/Far-Infrared-Sensor-Array-High-Speed-Low-Noise is seems that it should be relatively easy to implement an I²C driver for communicating with it....
by deshipu
Wed Jun 21, 2017 8:31 am
Forum: General Discussion and Questions
Topic: Default off for output pins on esp8266
Replies: 4
Views: 110

Re: Default off for output pins on esp8266

Many of ESP8266's pins don't stay high-z on boot, but are instead used for the bootloader for signalling various things. gpio0, gpio2 and gpio15 select the boot mode, gpio1, gpio2 and gpio3 give debugging serial output, etc. Since the bootloader is hardcoded and doesn't allow disabling this, there i...
by deshipu
Mon Jun 19, 2017 8:59 am
Forum: Drivers for External Components
Topic: Bringing MQTT to generic MicroPython boards
Replies: 5
Views: 156

Re: Bringing MQTT to generic MicroPython boards

Five pins! This is an interesting protocol, with two clock lines. What is it? Is there any particular reason for choosing that over the standard SPI or I2C buses? Can those pins be shared with the SPI bus?

Go to advanced search