Search found 202 matches

by torwag
Sun May 20, 2018 2:41 pm
Forum: ESP8266 boards
Topic: ESP8266 - micropython global variable does not work
Replies: 5
Views: 678

Re: ESP8266 - micropython global variable does not work

Hi, the problem is namespacing. The isledOn variable is defined once in the root name space and in functions. Thus, you actually have two different variables here, which simply have the same name. What you want to do, is to create a global variable. They are usually a bad idea, as they quickly can c...
by torwag
Thu May 03, 2018 2:10 pm
Forum: Other Boards
Topic: [NUCLEO-L476RG/STM32L476RGT6]Pin Association and DAC Error
Replies: 7
Views: 639

Re: [NUCLEO-L476RG/STM32L476RGT6]Pin Association and DAC Error

Hi, you might go to github to read in the source code files what is available and what is the pin assignment. E.g. Each board has a pin.csv file which depicts the relation between the physical pins and the naming...
by torwag
Thu Apr 05, 2018 7:23 am
Forum: The MicroPython pyboard
Topic: My pyboard is dead
Replies: 6
Views: 418

Re: My pyboard is dead

Hi, without looking into the schematic, I would say it is the voltage regulator. The schematics can be found on github. However, this is not a 8 pin IC. Thus without a little more information it is hard to guess. If it is indeed the volt...
by torwag
Mon Mar 05, 2018 8:48 am
Forum: ESP8266 boards
Topic: Wemos D1 Mini UART RX pin in MicroPython?
Replies: 5
Views: 1201

Re: Wemos D1 Mini UART RX pin in MicroPython?


if the sensor communication does not require a lot of fast data sending, try the SoftUART approach.

I was able to talk to a serial display from a d1mini using this library.
by torwag
Fri Mar 02, 2018 7:50 am
Forum: ESP32 boards
Topic: ESP32 - sta_if not defined
Replies: 2
Views: 493

Re: ESP32 - sta_if not defined

Hi, welcome to the forum. Please try to be specific about the problem in the post itself. Screenshots on an external page my not work for long and then, this thread turns into a useless piece for other users. As far as I can see you misunderstood the import nature of python. If you use import networ...
by torwag
Thu Nov 30, 2017 5:18 am
Forum: Development of MicroPython
Topic: building PYBv1.1 binary double FP + threading
Replies: 9
Views: 930

Re: building PYBv1.1 binary double FP + threading

you will find everything you need on github.
by torwag
Fri Nov 03, 2017 8:30 am
Forum: Hardware Projects
Topic: A power meter - using the Pyboard as a measuring instrument
Replies: 5
Views: 1426

Re: A power meter - using the Pyboard as a measuring instrument

The toroidal transformer is rated at 6VA - it was the smallest stocked at my usual supplier (CPC/Farnell). It fitted in the box so I used it. A smaller one would undoubtedly suffice if you can find one. As for hand tools I was trained in metalwork where we were required to produce work in mild stee...
by torwag
Thu Oct 26, 2017 10:10 pm
Forum: The MicroPython pyboard
Topic: failures
Replies: 8
Views: 2468

Re: failures

First posts do not allow bbcode as some spammers used it to send pictures not only of naked PCBs but of other naked things....
As we need to approve the first posts and they always open up full for approval, we had an office-rules violation from time to time ;)
Now it should work for you
by torwag
Mon Oct 16, 2017 6:36 am
Forum: The MicroPython pyboard
Topic: [wontfix] Fail to forward REPL to LCD160CR
Replies: 5
Views: 852

Re: Fail to forward REPL to LCD160CR

Hi and welcome, writing to an LCD display is not as easy as you tried. In fact what you did was to write ASCII to the UART port. However, even if the display is connected to the UART port it is usually not 'smart' on its own, how should it know what to do with the information you send? What is text ...
by torwag
Fri Oct 06, 2017 10:59 am
Forum: General Discussion and Questions
Topic: keras neaural network - mycropython
Replies: 4
Views: 1027

Re: keras neaural network - mycropython

In that case go for a RPi instead of a micropython board. A Pi-Zero if it has to be small....