Search found 778 matches

by Roberthh
Sun Dec 17, 2017 8:00 am
Forum: General Discussion and Questions
Topic: Unable to connect to webrepl
Replies: 1
Views: 12

Re: Unable to connect to webrepl

Can you verify, whether the boot.py on you device contains the lines: import webrepl webrepl.start() These should have been enabled by webrepl_setup. The, of course, you make the WiFi-connection between the device and your PC, either directly or though you router, and in your Browser you have to use...
by Roberthh
Fri Dec 15, 2017 7:38 pm
Forum: General Discussion and Questions
Topic: MicroPython I2C commands
Replies: 2
Views: 54

Re: MicroPython I2C commands

There are such simple operations (see the docs), but you can also write this function much more concise, like:

Code: Select all

def SetCursorPosition(col, row):
    i2c.writeto(Display_Address, bytearray([CursorPosition, col, row]))
That still would assemble the buffer, but on the fly.
by Roberthh
Thu Dec 14, 2017 7:25 am
Forum: Hardware Projects
Topic: Electrical network analyser/signal generator
Replies: 8
Views: 169

Re: Electrical network analyser/signal generator

This is a really impressive project, covering do mamny areas, eletronic design, software, theoretical background and not least a fine mechanical assembly. It also shows the power of this little pyboard and MicroPython for non-trivial tasks. And, b.t.w., it is a proof that indeed old dogs CAN learn n...
by Roberthh
Mon Dec 11, 2017 3:08 pm
Forum: ESP8266 boards
Topic: [Kinda SOLVED] String Methods missing
Replies: 2
Views: 74

Re: [Kinda SOLVED] String Methods missing

I got it to work with

.format
That's indeed the proposed method, to keep MicroPython micro. There were discussions already around that topic, if not in the forum, then in the github repository.
by Roberthh
Fri Dec 08, 2017 6:51 am
Forum: General Discussion and Questions
Topic: Possible to flash board with a preloaded main.py?
Replies: 6
Views: 180

Re: Possible to flash board with a preloaded main.py?

The other option is to extend the file https://github.com/micropython/micropyt ... nisetup.py, which already creates a boot.py in an empty file system.
by Roberthh
Thu Dec 07, 2017 8:21 pm
Forum: General Discussion and Questions
Topic: Difference between ESP8266 vs WiPy
Replies: 2
Views: 112

Re: Difference between ESP8266 vs WiPy

And the question is: which WiPy? WiPy 1: Based on a CC3200. The port is in the repository here, made by Daniel Campora. WiPy 1 is more or less abandoned and not on sale any more. The micropython core is maintained, but any hardware specifics are in the state they are now. WiPy 2: Based on esp32, Rev...
by Roberthh
Mon Dec 04, 2017 11:32 am
Forum: The WiPy and CC3200 boards
Topic: 1.9.3 on WiPy2
Replies: 2
Views: 118

Re: 1.9.3 on WiPy2

@tickranch: there is an esp32 port here https://github.com/micropython/micropython-esp32, which also runs on a WIPY2. This port is still experimental and lacks for instance bluetooth support. It is about to be merged into the main micropthon.org repository and follows the version of that.
by Roberthh
Mon Dec 04, 2017 8:20 am
Forum: ESP8266 boards
Topic: Read Information from a Sensor with esp8266
Replies: 2
Views: 119

Re: Read Information from a Sensor with esp8266

The sensor has two types of output, a serial communication with 9600 baud at Pins 6 and 7, and a kind of PWM output at pin 2. The ESP9266 has just one serial port, used for USB. There were some attempts to use a GPIO for software based UART, but not successful so far at a rate of 9600 Baud, at least...
by Roberthh
Thu Nov 30, 2017 2:39 pm
Forum: ESP32 boards
Topic: Esp32 gets stuck every time after the first REPL session
Replies: 8
Views: 205

Re: Esp32 gets stuck every time after the first REPL session

@pythoncoder I normally use a esp32thing, which works flawless. The wemos device is just one unit, which I bought because of it's low price. I could have thrown it away, once it started to have issues, but I wanted to know the reason. The nasty thing was, that with an ohmmeter everything was ok. It ...