Giter Site home page Giter Site logo

esp32-door's Introduction

secrets

Before flashing application provide a wifi ssid and password into a new file include/secret.h. An example of how it should be set up is as follows

secret.h

#pragma once
#ifndef _SECRET_H_
#define _SECRET_H_

#include "esp_wifi.h"

wifi_sta_config_t GetSecretStaCfg();

#endif //_SECRET_H_

secret.c

#include "secret.h"

wifi_sta_config_t GetSecretStaCfg()
{
    wifi_sta_config_t newCfg = {
        .ssid = "<SSID>",
        .password = "<PASS>",
        .threshold.authmode = WIFI_AUTH_WPA2_PSK,
        .pmf_cfg = {
            .capable = true,
            .required = false
        }
    };

    return newCfg;
}

Parts

ESP32

Need I say more, the brain of the operation

L298N

This is the motor controller used to spin the motor (A) either clockwise or counter clockwise

It requires both a 5V input from the ESP32 and a 12-24V input from an external power supply. For testing purposes I am supplying 12V at 0.1A to the motor for a slower spin rate

AS5600

Used to determine the position of the DC motor (hopefully). As of this current version I have not tested the piece with my complete assembly

How to build

Ensure espressif tool chain is installed. For more information look at the documentation for your specific machine since I am building for linux and am not currently bothered to do any cross platform builds

esp32-door's People

Contributors

lt1gt0 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.