All Projects → z2amiller → Sensorboard

z2amiller / Sensorboard

Licence: mit
Sensor board using ESP8266

Labels

Projects that are alternatives of or similar to Sensorboard

Kicad Action Scripts
Some KiCad plugins in Python
Stars: ✭ 111 (-39.34%)
Mutual labels:  kicad
Vna
Under development open hardware microwave vector network analyzer
Stars: ✭ 140 (-23.5%)
Mutual labels:  kicad
Soicbite
A compact PCB footprint which allows SOIC test clips to be used as a space-efficient programming and debugging connector
Stars: ✭ 161 (-12.02%)
Mutual labels:  kicad
Let S Split V2
second version of split ortho
Stars: ✭ 116 (-36.61%)
Mutual labels:  kicad
Arduino Kicad Library
Arduino Shield schematic and footprint library for KiCad
Stars: ✭ 130 (-28.96%)
Mutual labels:  kicad
Jlckicadtools
Tool for using JLCPCB assembly service with KiCad
Stars: ✭ 155 (-15.3%)
Mutual labels:  kicad
Kcores Flexiblelom Adapter
KCORES FlexibleLOM to PCIe x8 adapter and baffle model
Stars: ✭ 103 (-43.72%)
Mutual labels:  kicad
Kicad Footprint Generator
creating kicad footprints using python scripts
Stars: ✭ 168 (-8.2%)
Mutual labels:  kicad
Lc kicad lib
kicad production symbol and footprint library auto convert from JLC's integrate Altium Designer library
Stars: ✭ 140 (-23.5%)
Mutual labels:  kicad
Raemixx500
Open Hardware Remake of the Commodore Amiga 500+ Mainboard
Stars: ✭ 161 (-12.02%)
Mutual labels:  kicad
Ergotravel
A Portable Ergonomic Split Keyboard inspired from the ErgoDox, Let's Split and Minidox
Stars: ✭ 120 (-34.43%)
Mutual labels:  kicad
Fmcw
FMCW radar design files
Stars: ✭ 123 (-32.79%)
Mutual labels:  kicad
Teensy library
KiCAD library for Teensy microcontrollers
Stars: ✭ 158 (-13.66%)
Mutual labels:  kicad
Interactivehtmlbom
Interactive HTML BOM generation plugin for KiCad
Stars: ✭ 1,924 (+951.37%)
Mutual labels:  kicad
Yardstick
Yet Another Radio Dongle
Stars: ✭ 165 (-9.84%)
Mutual labels:  kicad
Kicad 3d Models In Freecad
kicad 3d models in freecad
Stars: ✭ 104 (-43.17%)
Mutual labels:  kicad
Plotkicadsch
This project aims at being able to export Kicad Sch files to structured picture files
Stars: ✭ 153 (-16.39%)
Mutual labels:  kicad
Kicad templates
Provides a number of additional Board and production house templates for KiCad
Stars: ✭ 173 (-5.46%)
Mutual labels:  kicad
Esp32 Kicad Footprints
Footprints for the Espressif ESP32 WiFi/BLE Chip and ESP3212 module, for KiCAD EDA
Stars: ✭ 166 (-9.29%)
Mutual labels:  kicad
Ocp2pcie
OCP Mezzanine card V2.0 to standard PCIe slot adapter design
Stars: ✭ 161 (-12.02%)
Mutual labels:  kicad

sensorboard

Sensor board using ESP8266

This is a simple sensor board using an ESP8266.

It is designed to run from 6 volts, or 4xAA batteries. The software uses the deep sleep functions of the ESP8266 for power savings, and applies power to the sensors only when the ESP8266 is powered on. It posts the sensor data to a prometheus pushgateway. A copy of this sensor has run for more than two months on 4xAA batteries. Longer life can be achieved by using a longer sleep interval; the ESP8266 consumes quite a bit of power at bootup and when communicating over wifi.

Hardware:

  • ESP8266 is a fully featured wifi module with embedded microcontroller. This project can make use of the ESP-07 module or any of the ESP-12 variants - the extra pins at the bottom are unused. If using the ESP-07 with the always-on status LED, you may want to desolder / pry off the status LED to extend your battery life.
  • DHT22 is a temperature and humidity sensor. It is actually the most expensive part of this board, even more expensive than the ESP8266.
  • BMP180 is a barometric pressure and altitude sensor.
  • LMR16006YDDCR is a 600ma adjustable voltage switching power regulator. While much more expensive than the LDO, batteries will last ~twice as long.
  • NR4018T100M is the 10uh inductor used as L1.
  • BME280 is an integrated pressure, humidity, and temperature sensor. Replaces the DHT22 and BMP180 in version 4.0.
  • Onboard voltage meter to track the battery voltage. R4 and R5 make up the voltage divider so should be 1% or better tolerance that are fairly stable with temperature.
  • Everything else on the board is simple and common.
  • This board is intended to be hand-solderable. The smallest components are 0603 and are marked with hand-soldering pads.

Software:

  • This is programmed in the Arduino environment. It includes some standard Adafruit libraries (for DHT22 and BMP085). The newer "unified" sensor libraries don't work with the ESP8266 yet, but the older ones work well.
  • This sensorboard posts the data to a prometheus gateway for easy graphing and alerting. The code to get the sensor values is pretty straightforward and could be pretty easily adapted to other monitoring systems such as Thingspeak or MQTT.
  • The prometheus libraries libraries are available in my libraries repository. The required i2c library is there as well.

Programming:

  • The sensorboard has a 6 pin programming header, and included in this repository is a sensorboard_programmer module intended to be connected to this programming header.
  • The sensorboard programmer pulls out the reset and programming pins. To flash a new software version, connect the programmer and press and hold the 'PROG' button while hitting reset. This will reboot the ESP8266 into flash mode.
  • The sensorboard is designed to use this CP2102 board for the USB interface, and these cheap tactile switches. That USB module solders right into the programmer board but you could also wire up any USB breakout that supports 3.3 volts.
  • Unfortunately the configuration is part of the code. You'll have to change some of the constants in the code to use your wifi SSID/password, prometheus pushgateway, etc.

Versions:

Check out the following branches for these released versions:

  • sensorboard-4.0 oshpark UNTESTED: Replace the DHT22 and BMP180 with a BME280. No longer hand-solderable, needs a hot air station for the FGA-8 footprint BME280.
  • sensorboard-3.1 oshpark TESTED: Sensorboard with a switching power supply. Higher parts cost but ~1.6x battery life.
  • sensorboard-2.2 oshpark TESTED: Sensorboard using a LDO for simple build and lower parts cost.

More Links:

TODO(z2amiller):

  • Add a picture of the sensorboard in action.
  • Add some screenshots of Prometheus graphs.
  • Create a prometheus setup tutuorial.
  • Create a prometheus dashboard for the ESP8266 sensor data.
  • Finish up the code for sensorboard-4.0 with the BME280 sensor.
  • Create a sensorboard programmer with a regulator to power the ESP8266 through the 3v3 pin while programming.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].