Matthias L. Jugel
Published © Apache-2.0

ESP8266 wifi connections with Calliope mini

Use an ESP8266 module via a serial console with the Calliope mini in MakeCode/PXT and send messages.

BeginnerProtip6 minutes5,379
ESP8266 wifi connections with Calliope mini

Things used in this project

Hardware components

ESP8266 ESP-01
Espressif ESP8266 ESP-01
×1
Calliope mini
Calliope mini
×1

Software apps and online services

MakeCode
Microsoft MakeCode

Story

Read more

Custom parts and enclosures

Code as HEX file.

Just drag it into the editor window.

Schematics

Wiring the ESP8266 w/ Calliope mini

Use a Seeed Grove to 4-pin jumper cable.

Code

Example how to send data.

Typescript
modem.enableDebug(true)
esp8266.init(
    SerialPin.C17,
    SerialPin.C16,
    BaudRate.BaudRate115200
)
esp8266.attach(
    "ubirch",
    "mypassword"
)
esp8266.send(
    MessageType.TCP,
    "46.23.86.61",
    9090,
    "HELLO WE ARE CONNECTED!"
)

Credits

Matthias L. Jugel

Matthias L. Jugel

4 projects • 10 followers
Hacker, dad. I flash devices for fun. Mostly stuff works for me...

Comments