1. Voltage Regulator

    To use the ESP8266 and the PPD42NS together we need 5V and 3.3V.

    There are some ways to achieve this.

    First option

    Buy a LM1117.

    Second option

    I didn't have a LM1117, but got a LM317 and two resistors.

    The schema to build a voltage regulator with this ...

    Tagged as : arduino
  2. Receiving HTTP post using Flask

    The server side of my data logger is a very simple Flask site.

    First version of the code:

    from flask import Flask, request, abort
    app = Flask(__name__)
    
    import datetime
    
    @app.route('/')
    def index():
        return "nothing to see here ..."
    
    @app.route('/input/', methods=['POST', 'GET'])
    def input():
        if request.headers.get ...
    Tagged as : arduino http flask

Page 1 / 1