- do i need to have a pyBoard to start with MicroPython !?

The official pyboard running MicroPython.
This is the reference design and main target board for MicroPython.
You can buy one at the store.
Target audience: Users with a pyboard.
Post Reply
apollodriver
Posts: 5
Joined: Tue Jan 29, 2019 8:54 am

- do i need to have a pyBoard to start with MicroPython !?

Post by apollodriver » Wed Jan 30, 2019 11:33 pm

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 



ThomasChr
Posts: 46
Joined: Sat Nov 25, 2017 7:50 am

Re: - do i need to have a pyBoard to start with MicroPython !?

Post by ThomasChr » Thu Jan 31, 2019 6:11 am

Every Micropython supported board will do for start.

bitninja
Posts: 113
Joined: Thu Sep 15, 2016 4:09 pm
Location: Spring, Texas

Re: - do i need to have a pyBoard to start with MicroPython !?

Post by bitninja » Thu Jan 31, 2019 6:26 am

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)

User avatar
Roberthh
Posts: 1250
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: - do i need to have a pyBoard to start with MicroPython !?

Post by Roberthh » Thu Jan 31, 2019 8:59 am

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: 5
Joined: Tue Jan 29, 2019 8:54 am

Re: - do i need to have a pyBoard to start with MicroPython !?

Post by apollodriver » Thu Jan 31, 2019 9:48 am

hello dear bitninja, dear Thomas and Roberthh,

many many thanks for the quick answer. They help alot.


have a great day!

apollodriver :)

ThomasChr
Posts: 46
Joined: Sat Nov 25, 2017 7:50 am

Re: - do i need to have a pyBoard to start with MicroPython !?

Post by ThomasChr » Thu Jan 31, 2019 10:55 am

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.

Post Reply