Inspiration

What it does

This is a framework that makes it easy to develop webservers on microcontrollers running micropython

Challenges we ran into

There were many challenges we faced some of them are

  1. Very few module support : micropython is a framework that is based off of Cpython yet it does not have all the default modules that Cpython and even the ones that are present have some or the other functionality lacking

  2. Lack of a interactive interface : There are only 2 ways of accessing the filesystem of Micropython one of which is to use a utility like picocom or screen to connect to the port at which it is connected and interact it via Repl which only accepts valid python e.g.: if we want to create a folder we would have to use os.mkdir('dir_name'), the other method is to connect to the board via webrepl which is just a micropython repl over web with just some extra buttons to send and recieve files

etc...

What we learned

While making this project we were able to learn many things like GitHub Actions, socket programming, etc...

What's next for Unit 7

  1. Currently Unit7 is only able to render the given html file at '/' route in some future updates we'll be adding a function to create another route for rendering different pages.
  2. creating a function to ' jsonify ' the data stored in dictionary passed to an API endpoints ( if someone is trying to create API with microcontrollers )

and much more ...

Built With

  • esp8266
  • micropython
Share this project:

Updates