PC as an ESP32 simulator ?

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
User avatar
Wei Lin
Posts: 12
Joined: Sat Jan 21, 2017 1:07 pm

PC as an ESP32 simulator ?

Post by Wei Lin » Tue Apr 02, 2019 10:18 am

Bridges - PC as an ESP32 simulator ?
Pretend your PC a Raspberry Pi or an ESP32 to connect I2C / SPI / GPIO / UART peripherals.


I wrote a package for PC, in order to:

1. Use the PC to drive (via bus-converter) I2C / SPI / GPIO / UART interfaced peripheral devices.

2. On your PC, simulating the I2C / SPI / GPIO / UART intreface objects of ESP32 / Raspberry, in order to develop the peripheral device drivers in the PyCharm environment, you can set breakpoints and inspect variables easily. No more "print" to debug, no more repeatedly uploading code to the controller.

https://github.com/Wei1234c/Bridges/blo ... adme_en.md


Wei Lin
Last edited by Wei Lin on Wed Apr 03, 2019 3:31 pm, edited 2 times in total.

Posts: 272
Joined: Sun Apr 17, 2016 1:55 pm

Re: PC as an ESP32 simulator ?

Post by shaoziyang » Tue Apr 02, 2019 1:41 pm

That is great!

Posts: 629
Joined: Thu Sep 07, 2017 8:57 pm

Re: PC as an ESP32 simulator ?

Post by jickster » Tue Apr 02, 2019 5:22 pm

If we had debugging on uPy this wouldn’t be necessary.

Sent from my iPhone using Tapatalk Pro

Posts: 57
Joined: Sat Oct 27, 2018 5:17 pm

Re: PC as an ESP32 simulator ?

Post by rpr » Tue Apr 02, 2019 6:52 pm

That is pretty neat.

Post Reply