GithubHelp home page GithubHelp logo

mike-rankin / esp32_coincell_color_tft Goto Github PK

View Code? Open in Web Editor NEW
51.0 8.0 9.0 7.43 MB

Based off of the CoinCell Board but with more sensors and a 80x160 ST7735 color tft lcd

C++ 19.22% C 80.78%

esp32_coincell_color_tft's Introduction

ESP32_CoinCell_Color_TFT

kit Top Bottom

Video: https://youtu.be/O6SoF_0fP20

This ESP32 internet of things dev board with has an accelerometer, 80x160 pixel 0.96" color TFT LCD display, RGB led, temperature/humidity sensor, laser range sensor and LiPo battery protection. The very bottom edge has four capacitive touch sensors for menu navigation and is powered by a rechargeable LIR2450 coin cell, external LiPo battery or micro usb cable. When a battery is connected and you plug in the micro usb cable, it charges the battery. It was not made for any specific purpose and was really more of a design challenge to try and make it as small as possible with plenty of sensors. The design files and parts list are provided on my Github site if you would like to assemble your own. Each board is hand assembled by myself using a soldering iron and hot air wand. Hand assembly is complicated. Components except for the sensors and display are placed, tested and then the board is washed, sensors are placed, tested and cleaned again, then the display is soldered into place and tested.

As expected, battery using a rechargeable 2450 coincell is very, very poor so I've added a connector for a larger LiPo battery. Current draw awake with the ESP32 awake, the tft, accelerometer, temp/humidity and range sensor on is around 70mA and only lasts around 10 minutes. Wifi current draw is significantly more. In sleep mode current draw is around 220uA and waking every 10 minutes to grab sensor data, use wifi and turn on the display it on the screen lasts around 12 hours or so. Using a larger external LiPo battery is highly recommended.

Hardware design instead of software is my strength so at this state the only a few simple Arduino sketches are available that test out the hardware.

Hardware on this dev board is:
-temperature/humidity sensor (HDC1080DMBT)
-Laser range sensor (VL53L0CXV0DH)
-accelerometer (LIS3DHTR)
-LiPo protection (DW01A)
-80x160 TFT LCD (ER-TFT0.96-1)
-3.3V LDO (HT7833)
-LiPo charger (SL4054ST25P)
-USB interface (CP2104N)

If you decice to purchase this project from Tindie https://www.tindie.com/products/miker/esp32-iot-color-coincell/ you get an assembled and tested board with coin cell holder not soldered in place along with a microJST cable to use with an external battery.

Board setup instructions:
-install the latest Arduino IDE

Preferences

-File/Preferences in Additional Boards Manager URLs add: https://dl.espressif.com/dl/package_esp32_index.json
-Tools/Board/Board Manager install esp32
-Tools/Board/ESP32 Arduino select ESP32 Dev Board

Com Port Setup (Windows)
-using a microUSB cable, plug the board into your computer
-in the Arduino IDE Tools/Port
-select the new com port for your board
-if the com port does not appear in Windows type Device Manager
-right click on CP2104 USB to UART Bridge Controller and Properties

port

-click Driver, Update Driver, Browse my computer for driver software
-find your installed Arduino IDE location. ie C:\XXXX\Arduino-1.8.13\arduino-1.8.13\drivers The drivers folder is the one you want
-click next
-in the Arduino IDE the com port should now appear

'port_1

Powering the board
The board can be powered over usb, a LIR2450 rechargable coincell or an external LiPo battery. By default the charger resistor R4 has a 43K soldered in place that delivers 25mA for charging the coincell.

bat1
bat2
bat3
charger

It is recommended to replace R4 with a different value depending on the capacity of your battery calculated with this equation.
resistor
If you are a developer and require a custom board of a different size of require different sensors then just let me know at [email protected]

esp32_coincell_color_tft's People

Contributors

bitbank2 avatar mike-rankin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

esp32_coincell_color_tft's Issues

PCB file in Eagle or EasyEDA

Mike,

As usual fantastic design. I wanted to edit your project for my custom needs.

Would you please be kind to publish PCB (board) file in either Eagle format or EasyEDA format ?

Thanks.

Hardware design questions

Hi this is a great project, thanks for sharing. I have a few questions about the h/w design:

  1. Why did you change the USB-Serial chip to CP2104, as it is not recommended for new designs?
    image

On the CP2102, the REGIN (pin 7) and VDD (pin 6) can also be connected to disable the onboard regulator. It still looks like you've been able to reduce the number of passives with the CP2104, e.g. no reset pullup.

  1. Surprised how few high freq bypass caps (e.g. 100nF) you have (none!) for the ESP32? Did you determine they aren't needed through trial and error? You just have the single large 100uF cap.

  2. Wondering how you can replace the inductor in the antenna matching circuit with a cap?

Thanks in advance!

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.