1 Star 1 Fork 0

armxu / ESP32Picoremote

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

ESP32PicoD4_TFT_Remote

WiFi remote based on ESP32 Pico D4 MCU and a beautiful 160x80 pixels mini TFT display. Additionally there is a I2C temperature & humidity sensor as well as an accelerometer on board.

Assembling video is on my Youtube.

The power latching circuit ensures that the ESP32 Pico D4 don't need to be in deep sleep mode while in OFF state. This puts it down to around 3µA during 'sleep', due to the battery protection. It can be woke up only by the middle button. The battery protection occupies reverse voltage protection through the mosfet. Overdischarge voltage of the XB5353A is 2.4volts, which is only for safety reasons. The battery voltage should always be checked with the voltage divider, which gives you an estimation of the battery state.

Main components are:

  • ESP32 Pico D4
  • CP2102N USB to serial bridge
  • 160x80px ST7735 13pin TFT display
  • HDC1080 temperature and humidity sensors
  • LIS3DHTR accelerometer
  • WS2812 LEDs
  • XB5353A battery protection
  • SE7401U polarity
  • MCP73831 charging
  • RT9193 regulator
  • Molex 3D antenna

Circuit & PCB

pico32_remote_v1.0 was the initial schematic of this PCB. Unfortunately it occupies a few mistakes:

  • Button two is connected to the ESP32 directly behind the button, which gives VCC directly to one of the GPIOs of the MCU - meh. The 1k resistor should be between the pulldown and the button.
  • Furthermore the footprint of the LIS3DHTR is mirrored (not visible in the schematics).
  • Last but not least the VUSB of the USB-C connector and the power selection circuit wasn't connected properly because the VUSB on one side was just a label and not the name of connection itself - shame on me.

All these mistakes are fixed in version 1.1. Additionally I have added a USB activation diode, which enables the latching circuit ones a USB cable is plugged into the board. This is nice to have if you want to visualize battery charging. Another advantage is that one of the buttons don't have to be pressed during firmware upload.

Code

Check out the code in the 'code' section. It is used in PlatformIO, but can be shifted to Arduino IDE easily. The code is exactly the same.

The ST7735 display can be used easily with the TFT_eSPI library by Bodmer. This library comes with a User_Setup.h to setup the dedicated display you are using. I have attached this file for this specific board in the code section of this repo.

Another nice library to play little GIFs on that tiny display is the AnimatedGIF library by Larry Bank. He shared a nice tool for converting GIFs to a code array as well.

Milled case

It is not yet optimized but the bottom part is looking great. The top part should move left and right while pushing the buttons, unfortunately it doesn't due to the small holes in PCB and bottom part. An easy solution would be to use two elongated holes in the top part (the screw heads would be visible on the top part).

When you have questions then feel free to ask.

Have fun! :)

空文件

简介

暂无描述 展开 收起
C 等 2 种语言
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/armxu/ESP32Picoremote.git
git@gitee.com:armxu/ESP32Picoremote.git
armxu
ESP32Picoremote
ESP32Picoremote
main

搜索帮助