ESP32 based Power Measurement Board for my Camper Van - Build and Installation | makermoekoe
Vložit
- čas přidán 4. 09. 2021
- This video is sponsored by PCBWay. Get your own prototyping PCBs starting at 5$ here: www.pcbway.com/orderonline.aspx
The SharedProjects page by PCBWay can be found here: www.pcbway.com/project/member...
The VanMeter is a little add on for my camper van for measuring the power consumption of up to four different things. Here I am using it to measure the power of all the loads in my van, the solar panel power and the power of the 230V charger. There is another channel which is currently unused - or as you can see in the end of the video, was used to measure the correct voltage (differential measurement) of the solar panel. Unfortunately I didn't find the solution so far, but I would be happy if you have a hint for me.
There are two more things which I haven't shown in the video. The first thing is that I have used the ESP32Remote ( • ESP32 WiFi remote with... ) as a remote display next to the phone APP. The other thing is that the VanMeter can not only measure power consumption, but also is able to control up to eight different outputs. The pinheader on the right side of the PCB is optimized to be used with one of those eight channel relay boards. These can be used to control lights, outlets, pumps, heater elements or whatever you want. Something like a smartvan.
As you have probably noticed, this build is still a work in progress and some features are not yet implemented. Some other things will be added to this board in the future. So stay tuned!
The APP which I am using here is Blynk: blynk.io
The PokitMeter which I have used in the end of the video can be found here: shop.pokitmeter.com/collectio...
I'm on Patreon! Your little help is appreciated a lot! Check it out here: / makermoekoe
Links:
Website: www.makermoekoe.com
Instagram: / maker.moekoe
Patreon: / makermoekoe
GitHub: github.com/makermoekoe
Instructables: www.instructables.com/member/...
My commonly used tools: makermoekoe.com/tools-and-stu...
My camera equipment:
Camera: amzn.to/35sIGeg (*)
Microphone: amzn.to/3aZm2vq (*)
Camera clamps: amzn.to/2zUBYSF (*)
Mini tripods: amzn.to/35vCoe2 (*)
LED panel: amzn.to/35tbgfG (*)
*affiliate links.
Music by Joakim Karud (Like a Tulip, Loudness Clarity, If I could I'd, Hold On) - Věda a technologie
I love projects like this. I hope to one day have enough understanding of electronics to be able to produce quality things like this. Great work!
that’s the most professional work I have seen anywhere in youtube so far
All the effort to hide number plates at the beginning to just leave them in plain sight with the drone shoots ;) Nice project nevertheless!
I didn’t expect that people are watching my videos till the end 😁 thank you!
Now people can find him and offer a job.
Thats what i thought :D
Reverse psychology
I was really hoping for Hamburg, it would be cool to meet
Da kann man echt neidisch werden wie gut du das kannst!
you are easily one of the best makers out there
I love the TagConnect POGO programmers :)
Lovely, so inspiring, would love for you to do a more in-depth demonstration of the esp programming and components used to do the in circuit programming. What programmer you used etc. Thanks for sharing
If you want to program, you can just use a standard USB-to-Serial converter and pull GPIO0 and enable pin low in the right pattern by hand. Then the chip goes into programming mode and you can start programming.
Cool project, as always. Keep it up!
Hey i still can see your plate number after 11:33. Btw, cool project as always. Keep it up xD
Wasn’t expecting people who watching my videos till the end ;) Thank you!
Another nice project. I also like designing and building electronics stuff but I still have a lot to learn 🙂
This is very cool! I love your projects! Well for the solar sensing, two ideas come to mind for me. Hope they help!
1) You could make two inductors or use a transformer to measure the positive and negative lines, and plug it in to the formula for a transformer. Also, factoring in the power loss. Inductors/transformers is my favorite idea.
2) You could setup a voltage divider with a relatively low resistance power resistors with the same resistance, however, I'm not sure exactly how much power that would steal from your system via heat over the resistors. Guess you'd have to calculate it, and see if it's acceptable to you. It could require heatsinks and fans for the resistors possibly. You could apply your sensing to +/- of the resistor not inline with solar line to measure voltage, you'd know the resistance, then you can calculate current. Of course, you'd have to also apply the formula for a voltage divider to calculate the total current. Which should basically just be double if memory serves, assuming you use the same resistor values for both.
Awesome Project and Nice PCB Shape I Loved 😍
Show Man! What a great masterpiece. Congratulations from Brazil!
Great work! That app for monitoring the power output is nifty too 👍
Blynk
Amazing project, wow. We'd for sure like a more detailed version! Keep it up!
Your piece of art deserves at least 50kw of battery. Thanks for the vid :)
Cool and awesome , plus the pcb assembly is very neat,
Great video !! And very nice work there !
Very nice! I like your bench tools. Good job
Amazing job dude!
I like the idea of combining mounting inserts with terminals, although that might get hot under load.
You are so hard working !!!
I like it
Nice great idea with the iron bro nice van👋👍🙏🇬🇧
I watched the entire video waiting for the intro to end
I have been binging your videos I’m very inspired by what your able to make
Amazing project man, it could be really helpful, if you could share your electronics journey with us, like how u got started with it, and now where you are... :)
As always you did a great job👍
Thank you my friend!
Wow! Nice build!
Wish I knew half of what you know 😊
Maker moekoe is GOALS.
this is really really cool, mate... I also have a vw camper (mine is a type 2) and I also put an ESP in mine, but I used an ESP8266 and it went in my dashboard with a screen as an instrumentation display. I hooked up GPS and a few other bits and pieces, but there is tons more i would like to add to it... a few voltage readings like yours (i have liesure battery as well as normal batter and solar too) I am nowhere near ready to build a board with SMC yet, but watching your videos makes me bother braver and inspired. Keep it up, and please, if you have a built version of this you want to sell, please give me a shout.
Very nice and good work I like the video so much... appreciate you guys
It is a good idea and an amazing job.
Wow! Super talented
Awesome work. Keep it going.
I am big fan of this channel ❣️❣️❣️
I really like this project! Some inspiring new techniques, for example (4:56) using some thread inserts to establish a good power connection.
Is it possible to see any schemtics or parts list? Really cannot find the name of your power connector (8:40). 🤙
Nice project 👍👍
The threaded inserts into the 3d printed frame is a clever way to make captive nuts for the ring terminals.
Great work!😍
대단한 능력을 가지셨네요. 존경합니다.
I built something just like this it's an esp32+io expanders + power monitoring board has 32 outputs and has full control. Of all of them 6 of them have pwm dimming. Interfaces with home assistant everything runs locally in my RV (a 1998 48ft class A pusher fully remodeled bunk slide converted to a work center ) i also used tag-connect cables lol
Wow that's great. I have a similar heater and setup in my teardrop. What charger did you use? Inverter?
Excellent. Can you please explain how you connected your Mac to an ESP32 to program it? Some kind of USB-UART bridge?
Doskonała robota!
Very nice video. Thanks for sharing.
What is the name for the in-circuit programming cable you used? Tag-Connect?
I can see the Red VW Eurovan Camper or Westfalia model on T4 age! Great!
Nice setup
Nice Project! Could you point me to the programmer and needle adapter that you are using? It looks similar to the segger cable (which I have and where I do not want to cut off the retention pins). So a second set without the retention like you use it would be neat (hopefully without the price tag).
interesting to see "room" tour of your van
Cool video, thanks :)
Super cool!
I was about to start Something similar, but you should definitely add some switching capabilities and we could program some energy management into this, like turn the water heater on, when there is access energy- check if the inverter is about to overload an empty battery or alternator and soon - I would definitely help with that
I would go as far as calling this a smart camper, add some illumination sensor, motion sensor temperature and humidity probes and you could automate some serious stuff 👍🏻
Yeah, just read the video discription, you are already halfway through 👌🏻
I agree, My daughter has a van and I want to build a PLC to avoid deploying the LiPo battery, charging at freezing conditions, switch the inverter on only when needed (I.e. fridge thermostat). Instantaneous power metering is important, but actual SOC is even more
I don't know if you found a solution yet, but mine would be an ATtiny directly powered by the solar panels. It reads the voltage and sends it via UART over an optoisolator to the ESP. If the ATtiny does not send data, it's 0 volts. So the ESP only needs to have a timeout on the voltage value for the solar panels. There also should be some brownout protection so that the ATtiny shuts off correctly.
hey I love your program connector
It is a DIY board with a Tag-Connect cable👌🏻
This is very much fun for us PCB nerds, but to be honest we are all kinda reinventing the wheel here. Its the only thing Im less enthusiastic about in the maker community.
unlimited time this guy has
Hey Nice project. Hey, which flash adapter do you use for flashing?
Thank you for inspirational video!
Please post the link for orange PCB clamps featured at 7:03 - seems they are perfect for soldering.
The work you do is just amazing ! Nice !!
Great work man! Can you make one video about you programing pins (seen on 8:25) and where did you found this? I'm looking for something like that for my designs to make a universal pinout for programing ESP32 and STM32 and don't have to place FTDI chips on every PCB or make costume swd connectors. Thanks!
All die Mühe das Kennzeichen beim ersten Einbau zu verdecken und dann sieht man es am Ende im dronen shot
I checked your GH and didn't see any schematics loaded. Any chance you'll be sharing these?
How are you sampling the input voltage? Directly with a microcontroller or did use a buffer amplifier? The PV input will be likely to be very noisy due to the switching of the charge controller. Proper filtering and buffering is mandatory in this case to get a reliable reading.
How about using collars to measure the em field to determine voltage amps and watts?
Is there an advantage to having terminals?
Ein sehr schönes und vor allem optisch ansprechend ausgeführtes Projekt!
Mir sind im Video deine Platinenhalter aufgefallen, die sowohl waagerecht als auch senkrecht zu funktionieren scheinen. Halten die mit Magneten an der Platte? Magst du verraten, wo du die her hast?
I know you did this a while ago, but just a quick question. I've had jlcpcb make a couple of boards with smd components before, nothing major, but they've got the option of how many you want them to make eg 2 of 5. for the SMD side. If I order say 2 do they include the cost of the parts to make 5 and send those with the order or do I need to source them myself?
So let me understand: you connected the channel 2 between the solar panel and the MPPT charger? That makes sense if you want to measure the panel voltage, but when using a MPPT that's not really useful info I guess.
If you connect the channel between the MPPT charger and the battery, then it will share the ground and you can correctly measure the power really going to the battery.
But If you really need to Know the PV-Panel's Voltage. Why don't you Connect the negative Output of the Solarpanel to the Vans Frame? Or your Common ground?
You asked for comments for your nice job. Problem concerning measurements of the solar voltage. I wonder if the problem is different GND reference. If so you need to make a galvanically isolated circuit containing ADC and glue logic and transfer the result via optocouplers to your ESP32....? Nice job
Amazing project!! What is the programmer with pogo pins you used? did you program the esp32 with uart or jtag?
If you have not found the programmer already: it is a connector made by the company TagConnect. I use it all the time, really handy.
How are you measuring higher currents like 30A from a charging booster or solar power? I would have assumed that there has to be an external shunt and something like a INA226.
Use ACS712 hall effect sensor.
Great video. I didn`t think that somebody interesting in this theme. 21V - it`s no load voltage. While charging the battery, the charge controller regulates the voltage so 13V is correct voltage if you measure load voltage. I did the same - measuring current and voltage but I calibrate this measurement, cause it strong depends of the temperature of PV panels. I used prepared parts based on Arduino platform.
Yep, The only thing that really matters is how many amps you are getting from the solar panel(s). If you see a low amount on a sunny day, something needs to be fixed.
@@lightdark00 Yes, you are right, only amperes are important, I have two panels that give out 11 amperes on a sunny day - this is the maximum that they can give. But to calculate the power, you also need to measure the voltage. Or do you mean to take the open circuit voltage when calculating the power?
21V is under load! I think this is a MPPT Solar Charger, so the voltage can go from 0-21V, but i wouldn’t be interested in that either. The output is what counts 😉
@@robertneumann9352 Quite late, but I guess he's interested on the input to know if the panels for example are dirty.
Watch those lead acid battery especially the deep-cycle ones as they spit out a lot of acid vapor. Nice to see that you have the electronics right beside the vent of the battery. Get back to me in a couple years and let me know what your board looks like. Just speaking from experience
Nice, you need to calibrate your Ender though as it is under extruding
Thanks.
Richtig richtig cool, gefällt mir sau gut! Ich bin auch ein wenig am basteln, das wird aber niemals dieses Niveau erreichen.
Magst du verraten wie du die Ströme misst? Die Spannungen wahrscheinlich über einen Spannungsteiler, oder?
Viele Grüße und bitte mehr von diesen Videos 😍
Sieht man im Video. Der IC der an den Terminals sitzt. Acs irgendwas
I’m looking to learn hardware design and pcb, I wonder how to get start on this?
Could you help me with the MLT 5030 buzzer circuit?
Which diode you used?
thanks
Вы можете добавить в ваш проект калькуляцию энергетического баланса для батареи. То есть, условно на выходе из батареи вы потребили 300 Ватт энергии, а за тот же период из солнечной панели и зарядного устройства в батарею вернулось 290 Ватт энергии. Баланс составит -10 Ватт.... ;)
Great project! I'm wondering which app is used on the iPhone side? It looks great 👍 Keep up the good work!
looks like a Blynk app to me
@@ThePlexman thx!
Very cool! :))
Absolut genial! Wirklich schade, dass dazu nichts auf deinem Github erschienen ist. Arbeitest du noch aktiv an diesem Projekt?
Did you code the iPhone app yourself as well or use some of Espressifs dedicated tools?
How can I find these little assortment boxes you use for SMD components?
Just out of curiosity, what are specs of your device? It has 4 channels. What are min/max voltage and amps per channel? Does it work with AC? What is the sensor update rate? Thank you.
Hello what Chip is that on the board for the current metering? The 8pin.
How about a project to take measurements from motor like voltage, rpm,oil&engine temps?
Did you ever look at any chips like the TPS1HB?
Hello my friend..it's great work...brother, I made a Solar MPPT device that supports all systems 12 24 36 48 volts...159 Amp Hybrid, but I need such a device to read all commands...Is this device suitable? for the task
i love your sound tracks whre can i get them to listen
ARE YOU A GOD???!!!!!
Hey, what software do you design your PCBs on? Looking for something on mac :) Cheers!
Any chance of the schematic and BOM being released for this?
Will it be able to install esphome into the board? Do you have specs on website?
I want to ask, can the esp32 wifi distance be adjusted or shortened from the program? Thank you
please link this orange pcb holders
Negative output (unused) of charge controller is same as GND of car battery. Solar charge controllers like this are switching low side, and don't have connection betwen solar negative and chage negative.
when you connect it (solar panel negative) to PCB negative, whitch have same reference ground as battery - solar controler propably will have a hard time, and u risk overpowering a lead acid battery. even 16,5V will it handle for a while, but rest of connected electronics may not ;)
try some other methods for lookup a solar voltage, with galwanic separation on both sides (positive and negative) like a separate module with serial bridge / BLE, or doble optoisolator for serial/I2C and some AtTiny404. Secondary module will be powered from solar panel with some buck converter or linear voltage regulator.
just a hint ;)
Nice.
Gerade entdeckt :-) Interesantes Projekt fürs Auto :-) Was kostet es fertig (ohne 3D Druck?)
Which programmer is the one you program your system ??
What is the maximum current you can measure?