GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - na1pir/as3935_esp8266_iot: another a bit more complex project written in c with espressif sdk for my diploma thesis

BranchesTags
Open more actions menu

Latest commit

 

History

53 Commits
53 Commits

Folders and files

NameName
Last commit message
Last commit date
as3935_esp8266_iot_pcb
as3935_esp8266_iot_pcb
 
 
build
build
 
 
firmware
firmware
 
 
html
html
 
 
include
include
 
 
libesphttpd
libesphttpd
 
 
user
user
 
 
.gitmodules
.gitmodules
 
 
2015-07-26-04-00-51.png
2015-07-26-04-00-51.png
 
 
2015-07-26-04-01-40.png
2015-07-26-04-01-40.png
 
 
2C-ESP8266__SDK__Programming Guide__EN_v1.2.0.pdf
2C-ESP8266__SDK__Programming Guide__EN_v1.2.0.pdf
 
 
AS3935.pdf
AS3935.pdf
 
 
AS3935_Datasheet_EN_v5.pdf
AS3935_Datasheet_EN_v5.pdf
 
 
AS3935_datasheet.pdf
AS3935_datasheet.pdf
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
_config.yml
_config.yml
 
 
esphttpdconfig.mk
esphttpdconfig.mk
 
 
geany_run_script.sh
geany_run_script.sh
 
 
ttylog.txt
ttylog.txt
 
 
webpage.png
webpage.png
 
 

Repository files navigation

Thunderstorm sensor protected iot switch

Another a bit more complex project written in c with espressif sdk for my diploma thesis, so it is in prototype stage and work in progress when I have time to work on it . . .

Copyright (c) 2015 Uroš Golob [email protected]

Work was done with intention to protect electronic devices and so lower e-waste. It might work or it may not, just don't sue me if your house burns down or if it kills you...

This software and hardware is described in my diploma thesis(work in progress).

Use it for personal use as you wish, just keep this notice on it if you do! And return changes back free of charge by same restrictions and notice!

This software uses espressif sdk software, spi library from David Ogilvy(MetalPhreak) and libesphttpd & wifi settins form Jeroen Domburg(sprite_fm). So use and rescpect their respective licencies for their work.

Development took alot of time and money so remember me with some spare bitcoins: 1MaGphnuiMjywjQPKHKF239wzcef4KpNxX if you wish:)

For comercial use you can contact me and we can make some separate licencing deal...

What it is?

Well this thing uses some crazy trickery from ams... and lovely soc from espressif... OK as3935 is (well not so simple) chip that uses LC antenna tuned to 500khz to detect lightning discharges. It measures amplitude and uses some crazy statistics to determine distance from face of the thunderstorm. And gladly ignores man made discharges. Well I added a bit of trickery of my own to libesphttpd and used spi driver to talk to as3935 with esp8266. When you mix everything together add couple of passives, transistor, optotransistor and relays you got a switch that disengages relay when it detect nearby thunderstorm.

This is my baby and so work in progress and maybe never ending rolling release...

Well you can order boards from [DirtyPCB's] (http://dirtypcbs.com/view.php?share=10417&accesskey=882ad84b962361d538d1656b4bbab783)

bom:

  • esp-201 or esp12 or esp12e
  • as3935
  • ma5532
  • ams1117 3.3
  • optotransistors
  • npns
  • couple of R, C & D
  • pair of relays

how to:

  1. get yourself working esp-open-sdk + newer sdk from espressif and link it to esp-open-sdk/sdk
  2. additionally get working sprite_fm libesphttpd and cats/led example so you can check and update any changes...
  3. find spi driver from MetalPhreak and check that example
  • I should add everything as git sub-modules, but as of now I don't know how...

  • make sure to export your esp-open-sdk/xtensa-lx106-elf/bin path to system path... additionally export esp-open-sdk/sdk as SDK_BASE, then ESPTOOL... in ubuntu it is best to do it in .profile

  1. from as3935_esp8266_iot folder run

    make clean all

  2. put esp into boot mode (i have reset and boot(rst and gpio0 respectively to gnd) buttons soldered into my board) so press reset and boot then lift reset first then boot and run

    make burn or sudo make burn if your dial-out permission thingy stuffs aren't setup properly

  3. for debbuging

    make tty

  4. setup geany for above commands it will save you lots of time

todo: fix all issues

user interface looks like this:

![settings web page] (https://github.com/na1pir/as3935_esp8266_iot/raw/master/webpage.png)

Text for thesis is available at https://dk.um.si/Dokument.php?id=99783&lang=eng It is in Slovene language but generaly you can still look at pictures.

About

another a bit more complex project written in c with espressif sdk for my diploma thesis

na1pir.github.io/as3935_esp8266_iot

Resources

Readme
License
Activity

Stars

1 star

Watchers

2 watching

Forks

3 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.