Search found 208 matches

by torwag
Fri Aug 30, 2019 5:58 am
Forum: Other Boards
Topic: [Arch_Mix/RT1052] Arch_Mix board with MicroPython
Replies: 1
Views: 110

Re: [Arch_Mix/RT1052] Arch_Mix board with MicroPython

Hi, any "offical" port to a new SoC can be found in github in the folder ports https://github.com/micropython/micropython/tree/master/ports as far as I know the NXP RT1052 is not official. Thus, you would need to look out whether seeed published the fork they used to create that port. Ports are gene...
by torwag
Wed May 08, 2019 7:50 am
Forum: General Discussion and Questions
Topic: Micropython Language for VS Code
Replies: 4
Views: 491

Re: Micropython Language for VS Code

It depends on what you want to achieve.

Just syntax or do you want to have a way to run the code directly on a connected uC?

You might want to look into platformio, which works together with VS code and afaik they work on micropython support. There is a plugin already.
by torwag
Wed Feb 27, 2019 3:44 pm
Forum: General Discussion and Questions
Topic: How to include driver into micropython compilation
Replies: 7
Views: 655

Re: How to include driver into micropython compilation

Hi, I think you need to make yourself more clear what you want to achieve. There are basically two things... 1. Compile a micropython firmware including some drivers... that is on a C-level compiling stuff in the same way you compile any other firmware. 2. Using some python modules to access drivers...
by torwag
Mon Jan 07, 2019 9:50 am
Forum: ESP8266 boards
Topic: An ESP8266 Can't Monitor Serial Connection
Replies: 7
Views: 795

Re: Can Anyone Direct Me to I/O Serial Monitoring Example

So essentailly, you want to replace the RPi by an ESP running micropython? modem--serial-->ESP--GPIO-->relay The usb uart is not required as soon as your code is working right? It will be an autark system based on the following scheme. Modem: sends serial logs ESP: analyse serial logs depending on r...
by torwag
Mon Jan 07, 2019 8:30 am
Forum: ESP8266 boards
Topic: An ESP8266 Can't Monitor Serial Connection
Replies: 7
Views: 795

Re: Can Anyone Direct Me to I/O Serial Monitoring Example

So, reading again, I guess you have the following situation modem--serial-->PC---usb(serial)-->esp-->ESP-->relay in that case what you want to do is to rewrite the bouncer.py (which will be started on the PC!) to use the ESP to switch the relay thats all. In detail all you need to do is to redefine ...
by torwag
Mon Jan 07, 2019 8:10 am
Forum: ESP8266 boards
Topic: An ESP8266 Can't Monitor Serial Connection
Replies: 7
Views: 795

Re: Can Anyone Direct Me to I/O Serial Monitoring Example

Hi, not yet 100% sure what you are trying to achive. You want to switch on and off a modem depending on a certain state via a relay based on an esp? From where do you get the status? Where and how is the modem connected? For me it sounds like all you want is to use the esp as a serial connection-tri...
by torwag
Sun May 20, 2018 2:41 pm
Forum: ESP8266 boards
Topic: ESP8266 - micropython global variable does not work
Replies: 5
Views: 1782

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: 1276

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. https://github.com/micropython/micropython/tree/master/ports/stm32/boards/NUCLEO_L476RG 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: MicroPython pyboard
Topic: My pyboard is dead
Replies: 6
Views: 680

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. https://github.com/micropython/pyboard/blob/master/PYBv10b.pdf 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: 1602

Re: Wemos D1 Mini UART RX pin in MicroPython?

Hi,

if the sensor communication does not require a lot of fast data sending, try the SoftUART approach.
viewtopic.php?f=16&t=2204&hilit=softuart

I was able to talk to a serial display from a d1mini using this library.