Giter Club home page Giter Club logo

hamstertach's Introduction

HamsterTach

Code for an esp32/esp8266 based tachometer for a hamster wheel using a hall-effect sensor and uploading data to a Googlesheet via IFTTT. Made 2021 by Stu Patience, www.driverlesscrocodile.com.

Please use and remix this code in anyway that helps your project.

Hardware:

  • esp32 or esp8266 (NodeMCU) microcontroller with wifi
  • Hall Effect Sensor A3144
  • One LED
  • 10k resistor ?
  • 100k resistor
  • Mini breadboard
  • Connecting wires
  • Small neodium magnet

Software:

  • Arduino IDE

Concept:

The Hall effect sensor acts as a button, switching ON when the magnet is close to the sensor (i.e. each revolution). The esp32 is programmed to count each time the switch turns on. Every minute, the data is uploaded to a googlesheet using an IFTTT webhook.

Credits

Made using code for button debounce created 21 Nov 2006 by David A. Mellis / modified 30 Aug 2011 by Limor Fried / modified 28 Dec 2012 by Mike Walters / modified 30 Aug 2016 by Arturo Guadalupiat at https://learn.adafruit.com/make-it-switch/debouncing

Instructions for IFTTT webhook to upload data to a googlesheet from: https://microcontrollerslab.com/esp32-esp8266-publish-sensor-readings-google-sheets-via-ifttt/

hamstertach's People

Contributors

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