Git Product home page Git Product logo

esp8266_and_arduino's Issues

HX711 - ap_setting.h no such file or directory

Hi,
Great work! I'm a noobie and really appreicate your work. Having a little problem.

I'm trying to compile the 03-hx711-scale-esp-12.ino in the arduino ide 1.6.9. I'm getting the following error. I've added the folder structure in the arduino folder and i've added it to my libraries file but no luck. any other suggestions? I'm trying to run it on an esp 8266 12e.
Thanks!

Error:

hx711scaleesp12k.ino:17:39: fatal error: /usr/local/src/ap_setting.h: No such file or directory

#include "/usr/local/src/ap_setting.h"

Use time setting to alarm

_28-attiny85-nrf24-3pin-ir

  • get time using AckPayload
  • use small packet to get current time
  • writeAckPayload, enableAckPayload, isAckPayloadAvailable

bug in rtc_boot_mode.gopro_mode = false

https://github.com/chaeplin/esp8266_and_arduino/blob/master/_56-gopro-control/a-91-config-on-rtc/a-91-config-on-rtc.ino#L236

Power on with rtc_boot_mode.gopro_mode = false;, wifi connected to go pro.
--> rtc men is corrupted.

https://github.com/chaeplin/esp8266_and_arduino/blob/master/_56-gopro-control/a-91-config-on-rtc/a-91-config-on-rtc.ino#L771-L779

  if (!rtc_boot_mode.gopro_mode && rtc_boot_mode.attempt_this > 4) { <---------------
    wifi_connect();
  } else {
    if ( rtc_boot_mode.twitter_phase > 1 ) {
      wifi_connect();
    } else {
      gopro_connect();
    }
  }

power to kWh/monthly/daily

Wake up triggered by either the RTC or a momentary switch?

Thanks for providing this information, circuit, videos and explanation at http://chaeplin.github.io/project-01-button.html.

It can detect the momentary switch while awake which is nice but as far as I can tell it is not suitable for the case described by @me-no-dev at esp8266/Arduino#1488 (comment) where the ESP wake up from deep sleep is to be triggered by either the RTC or a momentary switch. Is that correct and if so, is there a simple modification?

I have ambitions of sampling temperatures at regular intervals and detecting contact closures from a tipping bucket rain gauge while the ESP remains mostly in deep sleep and am puzzling over a simple circuit that doesn't drain the battery to achieve it.

Self-wake-up / a timed DeepSleep requires a tweak?

reed_contact_wemosd1_wakeup_schema

Hi,
As i wrote earlier, i am very very happy with your project as it is exactly what i need, so again thanks for sharing! I want to use it with a WeMos D1 board and finaly all my parts have arrived so i've setup a test.
Since that wasn't very succesfull, i've tried it with a NodeMCU board, again no luck.

I am pretty sure that it all comes down to the fact that the ESP8266 won't wake up from DeepSleep(60) without "some" connection between GPIO16 and RST, instead it just stops.

WeMos D1
To have the WeMos D1 board wake up and reset by itself after some time, connection is required between GPIO16 and RST. I've tried a 1K but that seemed to be too much, a 470ohm resistor worked for me. Actually i was adviced that the best would be a schottky diode with cathode to GPIO16, also a wire will also work, but that will result in problems when flashing!

NodeMCU
Since i couldn't find any solution to my issue with the WeMos board, i figured to test this with a NodeMCU board. Without the connection, i get the same issue, so basically there's a similar problem here. (however a 2K2 resistor did work here i believe).

This leaves the solution unworkable with a timed DeepSleep() on these boards i think? Maybe because the power on the RST pin stays too high to get this to work properly, but then again... i'm certainly no expert on electronics.

Anyway, i am curious how to get this to work? What board will work?

So, questions:

  1. Do you think that using this capacitor should work? I am aware of using a 50V instead of a 16V. Which would you advice?

  2. Maybe the R4 should be recalculated in this setup? (note that, without R5, both the WeMos and NodeMCU boards hang after a timed wake up)

  3. Just to be sure: The reed contact, is it closed when your door is closed? So with it all in rest - door closed - it connects to ground, right?

I've been reading the result of #40 Midgie75 using a NodeMCU who claims to be successfull, though using a 2K resistor as R5. I can't say that i get a better result with that board either.

Any help is appreciated, i'm kinda lost with this project.
Marco

Your circuit with self wake up

Hi chaeplin, thank you for this great circuitry.
I'm having issues making it work while also maintaining the ability to wake my device by software as well as an external event.

By using your circuit for the door alarm combined with a direct connection between gpio16 and rst I cannot wake my device from deep sleep with the reed switch.

I've deducted from various testings that the issues are with voltages. I can reset my device with your circuit as long as my esp is awake because the voltage at rst is held at 3.19V directly tied to gpio16. When the esp sleeps, voltage at rst is 3.3V and your circuit does not work anymore. I thick this somehow blocks rst from being grounded through the circuitry you have provided.

I've been thinking of adding a voltage divider between my gpio16 to rst connection to mimic the voltage I measured at rst while my esp is awake.
Do you think this is a valid solution or have I misunderstood it all?

See my sketch:
https://www.dropbox.com/s/141j6c6skuilrls/20170425_195826.jpg?dl=0

I'd appreciate your help, what I need is simple in concept, my esp to be able to awake by itself a well as upon a door being opened(Reed switch)

Doubts about Deep Sleep and Light Sleep

Hello @chaeplin
To put my doubts in context, I tell you quickly what I am doing:
My project consists of a module (1) ESP-12E connected to an electrical corner, which allows me to open the door via my telephone or via a button that works as a remote control via WIFI with a client module (2) ESP-12E Connects to (1).
The module (2) works with 3 AAA batteries total 3.8V batteries and a Momentary Push button that allows me to activate or deactivate the circuit.
The project is done with websockets @Links2004
The remote control or module (2) remains in idle for undefined periods of time waiting to be used again to open the door.
I want to implement Light Sleep or Deep Sleep, to reduce unnecessary battery consumption while not in use.
As the batteries have a switching on or off to disconnect the batteries, it was planned to turn it off in the standby times, but it is not possible, since when switching it off, a proper disconnection of module (2) and module (1) , Causing the modulus (1) to lock.
My questions are as follows:
1.- In order to use light sleep or deep sleep, should I always use pins 16 and RST to reactivate the module? Or is there any way that I can activate the module with the same Momentary Push button that I use to send the door opening command to module (1)?
In my project what I do in module (2) is to connect the GPIO16 via Momentary Push button to a 3.3V pin and read the high or low status of GPIO16.

2.- When activating Deep Sleep or Light Sleep in an Esp-12E module, does it save actions that have been previously executed by this one? Example, if I have activated a Gpio and in a webpage with websockets I show interactively that this pin is activated, when it enters to deep Sleep or light Sleep and after leaving that state, it keeps updated the information with which entered mode Of deep sleep?

esp8266 library?

i can't find any esp8266wifi library file in your code and youre library link, can you give me please?

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.