Coder Social home page Coder Social logo

boulder-esp8266's Introduction

Boulder Esp8266

Projeto responsável por controlar a sequencia de luzes que ficaram ligadas.

main

Diagrama arquitetura solução

main

Diagrama arquitetura sistema

main

Principais tecnologias

  • AWS IOT (MQTT Service Broker)
  • AWS IAM POLICY
  • Autenticação por Certificado (der, pem, key)
  • Mongo DB
  • NODE MCU 8266
  • Micropython
  • Esptool
  • make (command)

Como configurar

Baixe o firmware micropython

https://micropython.org/resources/firmware/esp8266-20210902-v1.17.bin

ou utilize o que está no repositório: esp8266-20210902-v1.17.bin

Instalar firmware micropython esp8266

esptool.py --chip esp8266 --port /dev/ttyUSB0 erase_flash

esptool.py --port /dev/ttyUSB0 --chip esp8266 --baud 115200 write_flash --flash_size=detect -fm dout 0 esp8266-20210902-v1.17.bin

Deploy no ESP8266

make deploy

Como listar os arquivos

ampy -p /dev/ttyUSB0 ls

Como entrar no dispositivo

screen /dev/ttyUSB0 115200

Exemplo de Execução

  • Execução do programa em micropython Execução do programa em micropython

  • Recebimento de mensagem AWS IOT CORE Recebimento de mensagem AWS IOT CORE

  • Mensagem no terminal Mensagem no terminal

  • Listagem de arquivos

  • Listagem de arquivos

Como criar certificado .DER

openssl x509 -in teste.cert.pem -out teste.cert.der -outform DER
openssl x509 -in root-CA.crt -out root-CA.der -outform DER
openssl rsa -in teste.private.key -out teste.private.der -outform DER

Liberar acesso a porta serial

sudo chmod a+rw /dev/ttyUSB0 

My Profile Resume


Govinda

"Buy Me A Coffee"

Links

boulder-esp8266's People

Contributors

govinda777 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.