dear community,
this is a question regarding MicroPython
i want to headstart in MicroPython
what do i need to do the first steps?
- do i need to have a pyBoard from Adafruit!?
or is it okay if i just start on systems like
- ESP 32
- or a ESP8266-based device called WEMOS D1
or a SBC-NodeMCU-ESP8266
which is just another developer platform
regarding the wemos:
We’ll be using an ESP8266-based device called WEMOS D1 mini. Basically, it’s a Wi-Fi chip with a couple of digital and analog I/O pins to connect external sensors and actuators.
But for our simple demo, we won’t need anything besides the LED light that is already located on the device and is connected to the digital output pin 2.
look forward to hear from you
- do i need to have a pyBoard to start with MicroPython !?
- apollodriver
- Posts: 34
- Joined: Tue Jan 29, 2019 8:54 am
Re: - do i need to have a pyBoard to start with MicroPython !?
Every Micropython supported board will do for start.
Re: - do i need to have a pyBoard to start with MicroPython !?
Yes, the Wemos D1 Mini works great with MicroPython.
Code: Select all
from machine import Pin
import time
led = Pin(2, Pin.OUT)
while True:
led.on()
time.sleep_ms(500)
led.off()
time.sleep_ms(500)
Re: - do i need to have a pyBoard to start with MicroPython !?
Indeed. The ESP8266 port, made AFAIK mostly by @pfalcon, is a very good one, pretty reliable, and a very good companion to the PyBoard version. By and by, the ESP32 ports improve to get close.
- apollodriver
- Posts: 34
- Joined: Tue Jan 29, 2019 8:54 am
Re: - do i need to have a pyBoard to start with MicroPython !?
hello dear bitninja, dear Thomas and Roberthh,
many many thanks for the quick answer. They help alot.
have a great day!
apollodriver
many many thanks for the quick answer. They help alot.
have a great day!
apollodriver
WPGear.org is a compendium of useful developer tools for working with WordPress.
Re: - do i need to have a pyBoard to start with MicroPython !?
Hi apollodriver,
this (sorry for german text) is a Power Meter Reader: https://www.thomaschristlieb.de/einfach ... g-zuhause/
It's made of the cheapest chinese ESP8266 Board I could get (about 3$) and with help from the forums it runs for two weeks now without any problems.
The reading is absolutly accuracte and I can register every lamp (or mobile phone charge) which has been switched on.
I also have some for reading temperature, humidity and pressure outside and also some (slight) minus degrees did not make any problems so far.
So, yes, ESP8266 on a NodeMCU works absolutly fine for Micropython.
The Pyboard on the other hand looks a little bit more professional to me and I think I had more trust in it's long-term operation.
But if it's just a hobby project, just go for it
Greetings, Thomas
PS: If you need a translation of the blogpost, just ask.
this (sorry for german text) is a Power Meter Reader: https://www.thomaschristlieb.de/einfach ... g-zuhause/
It's made of the cheapest chinese ESP8266 Board I could get (about 3$) and with help from the forums it runs for two weeks now without any problems.
The reading is absolutly accuracte and I can register every lamp (or mobile phone charge) which has been switched on.
I also have some for reading temperature, humidity and pressure outside and also some (slight) minus degrees did not make any problems so far.
So, yes, ESP8266 on a NodeMCU works absolutly fine for Micropython.
The Pyboard on the other hand looks a little bit more professional to me and I think I had more trust in it's long-term operation.
But if it's just a hobby project, just go for it
Greetings, Thomas
PS: If you need a translation of the blogpost, just ask.