• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

goatchurchprime/jupyter_micropython_developer_notebooks: Notebooks used for deve ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

goatchurchprime/jupyter_micropython_developer_notebooks

开源软件地址:

https://github.com/goatchurchprime/jupyter_micropython_developer_notebooks

开源编程语言:

Jupyter Notebook 94.8%

开源软件介绍:

jupyter_micropython_developer_notebooks

This repo contains my work in progress micropython kernel notebooks for developing an asynchronous webserver and various sensor datalogging and analysis services primarily on an ESP32.

As code gets finished it is placed into .py files that can be deployed using the %sendtofile command

To install the Jupyter Micropython kernel into your copy of Jupyter, go here: https://github.com/goatchurchprime/jupyter_micropython_kernel

Useful notebooks

esp32_commissioning and esp8266_commissioning

stuff to do

  • get the async code in right place (copied out from micropython-libs with a fetch)
  • the graph should receive its types and instructions in the websocket request
  • blank websocket graphing should just give sine waves without a sensor
  • we can then combine and feed the orientation and laser sensor values into the graph

In basicsockets/

  • esptool.ipynb is good for flashing and reloading new micropython binaries onto your ESP32

  • notebooks that begin with "pc_" run on your pc and open serial connections to your ESP32

  • connecthotspot.py and connectwifi.pyare modules for doing what they say (the latter requires a wificodes.txt file for the passwords)

  • syslog.py is a handy system logger module that tracks reboots

In async_web_serve/

  • commission_async.ipnb loads the uasyncio library, either by copying it up from a local copy or using upip. (This won't be necessary once it becomes part of the core library, as it is on the ESP8266)

  • webserve_funcs.py and websocket_funcs.py are the necessary functions for operating the webserver and websockets capabilitie. They contain functions like readhttpheaders(), and so on.

  • plain_main.py is a main.py file that turns your ESP32 into a static file webserver (although you can use uploadfiletest.html to upload and save text files for more rapid development of web front end).
    plain_server.ipynb deploys (and develops) this plain webserver.

In essential_sensor_code/

  • There are notebooks for the devices ms5611 (barometer), si7021 (humidity), VL53L0X (shortrange lidar to 1m), bme280 (baro,humid,temp).

  • These are in various states of development, but in general are very trimmed down to the essentials and intended to be operated as python generators rather than as bloated class objects

  • Finished code is in .py files.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
n-riesco/jp-babel: jp-babel is a babel kernel for the Jupyter notebook发布时间:2022-07-09
下一篇:
aporia-ai/TrainInvaders: 发布时间:2022-07-09
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap