Building My Ultimate ESP32 Shield
ฝัง
- เผยแพร่เมื่อ 3 มิ.ย. 2024
- Follow along as I create my all-in-one ESP32 shield, share the challenges and future plans.
10 PCBs for $5 USD at www.pcbway.com
A member? Get the Shield - • Post
My CAN Bus shield - • The EASIEST Way to Con...
Products I used
=============
■ ESP32 (Amazon) - amzn.to/41Gmqdm
■ ESP32 (AliExpress) - s.click.aliexpress.com/e/_Ddz...
■ Home Assistant - www.home-assistant.io
■ ESPHome - esphome.io
Code Snippets
============
■ Arduino - gitlab.com/MrDIYca/code-sampl...
■ ESPHome - gitlab.com/MrDIYca/code-sampl...
Join this channel to get access to perks:
/ @mrdiyca
Follow on X: x.com/MrDIYca
Music by FASSounds from Pixabay
The links above usually are affiliate links that support the channel (no additional cost for you).
00:00 Intro
00:25 The Why
00:58 All-In-One
01:53 The Relay
04:14 Challenge #1
05:42 Sponsor
06:12 Challenge #2
06:46 Challenge #3
07:37 Next
08:36: Outro - วิทยาศาสตร์และเทคโนโลยี
please keep the mmwave sensor. they are nice to have.
making it ESPHome compatible makes this SUPER useful and more valuable. Thanks for doing that. Also, in my opinion I think the ability to add on the presence sensor is a good one. Integrating it into the shield might raise the price dramatically, so you might shift instead to just some sort of headers or something to allow people to add it on if they buy it separately? Also, I see people wanting to use these in rooms (maybe even every room) but they always wind up with a charger brick and usb cable and stuff. I don't understand why these things don't come in a form factor you can plug into an outlet... kinda like a night-light (which would be useful to the room plus provide all these sensors). So another thing you might consider on the shield is a way to convert line voltage to the voltage you need for the ESP. Not sure if that is easy to do or not. Thanks for the video!
You could make the temperature sensor a break off so did you can use it where you want just by breaking it off and attaching a few cables
Or he could use an off-the-shelf temperature sensor instead of building a shield and breaking it off
@@MohammedHaneef-ch3tj what do you mean by of the shelf? His components are existing ones?!
@@TecSanentolike a Dallas sensor with a jst connector on it.
I’d buy one
If you are just switching DC why not use an N channel Mosfet and flyback diode? You could do fairly high current with one of those.
I found HVAC systems and doorbells use 24 AC
Try putting temperature sensor below the board, in lower section. This way the warm air from the heat generating components will rise up and stay away from the sensor.
Yes, I noticed the orientation affected the offset
Will you be sharing the PCB design files?
This thing is awesome thank you for sharing
I use the same temperature sensor in my automations and find they need to be a ways from the electronics. A small fan blowing fresh air over the sensor is a good idea. If you don't mind it being less responsive, a small fin array on the back might also help some. GL
thanks for sharing your tip
Why not get a thermal camera for your smart phone. See if there's heat radiating fron a particular part of you board
Good idea
few comments from my experience:
1- there is NO way to get proper temperature on the board that is ALWAYS on - I removed my temperature sensor from such boards and use ONLY in sleeping sensors (i.e. 3min sleep, 0.2s work), both ESP32 and power circuits always raise temperature around - you would have to move sensor 30cm away and out of the box to avoid impact
2- calibration will only solve the problem in FIXED conditions not in the whole range of sensing
3- using better sensors (i.e. SHT31 or 40x) - but that will not the problem either
4- presence sensor is prone to wifi interferences
about programming:
1- esphome is good but not for complex project - and its purpose is for simplification and for allowing newbies to come to the game - if you can program nice things in C/C++ stay with that - you will always be limited and you will not see what happens behind it if you stay with esphome
2- for sleeping sensors: use espnow where your sensor will work in total 0.1-0.3s rather than wifi where you need 1-2s - that improves battery life and iimpact on temperature/humidity sensors
these were my 3 cents, that might not apply to your project but you asked for it ;-)
Thank you for sharing
Or he could have used cut outs to restrict the pcb area leading up to the sensor...that layout was probably in the datasheet of the device.
@@backgammonbacon Over time the pcb area *will* heat up. This is not the solution. Better just use a separate device for measuring temperature. I use a MOES Tuya ZigBee Smart Home Temperature And Humidity Sensor With LED Screen (AliExpress).
The step down resistor on the thermistor affect the reading as an offset. As they are not precise as they claim, it is a really common behaviour
Right, I forgot to mention that I also got a thermistor there too!
One possible solution would be to make cuts around temperature sensor (just small bridges). So pcb wont conduct heat so much.
That is already in there - unfortunately didn’t help much
an opto coupler is not a relay;)
photorelay ;)