Colin Hickey
DIY RS485 wifi ESP 8266 Adaptor Part 3 - Final project and Virtual com port software
updated
I've had a few requests so popped it on my web store, shipping is the killer but here it is :-)
store.eplop.co.uk/product/the-miami-3d-printed-vice
If you wish to print your own the files are available on thingiverse
thingiverse.com/thing:4799068
The show will be hosted on a different Maker’s channel each month.
------------------------------------
Guests:
------------------------------------
★Jeri Ellsworth:
youtube.com/user/jeriellsworth
kickstarter.com/projects/tiltfive/holographic-tabletop-gaming
twitter.com/jeriellsworth
★ Aaron Christophel
youtube.com/user/12002230
http://atcnetz.blogspot.com
★ Seon ( Unexpected Maker )
youtube.com/unexpectedmaker
unexpectedmaker.com
twitter.com/unexpectedmaker
patreon.com/unexpectedmaker
★ bitluni
youtube.com/bitlunislab
http://bitluni.net
twitter.com/bitluni
patreon.com/bitluni
★Arturo182
twitter.com/arturo182
youtube.com/arturo182
------------------------------------
Previous Episodes
------------------------------------
youtube.com/playlist?list=PLjUbKCHhzPExbaaFm7bhkFP-dv3nD02Y2
#makercast #maker #electronics #projects #diy
EasyEda:
easyeda.com
This series is designed for those who are starting out for the first time designing PCB's. In this video i cover a few more PCB design techniques and how to order your boards on JLCPCB.
4pcb.com/trace-width-calculator.html
jlcpcb.com/capabilities/Capabilities
EasyEda:
easyeda.com
This series is designed for those who are starting out for the first time designing PCB's. In this second video i cover converting your schematic into a PCB design.
jlcpcb.com/capabilities/Capabilities
This series is designed for those who are starting out for the first time designing PCB's. In this first video i cover getting started and designing a schematic.
A word of warning i rather foolishly reversed the connections on the power barrel jack so take care when your designing! Good catch Brian Lough.
EasyEda:
easyeda.com
jlcpcb.com/capabilities/Capabilities
10Pcs Rotary Encoder
http://s.click.aliexpress.com/e/CMCV66hK
12v Charger Module
http://s.click.aliexpress.com/e/qRPxdOBm
IR Receivers
http://s.click.aliexpress.com/e/tGbXO9Iu
DIP Adapters
http://s.click.aliexpress.com/e/CnLO6TiC
http://s.click.aliexpress.com/e/dLpjDdaC
http://s.click.aliexpress.com/e/NjhxgnZW
http://s.click.aliexpress.com/e/keb3myGu
DC Barrel Adapters
http://s.click.aliexpress.com/e/5MvGSD08
SKR 1.3 3D printer Board
http://s.click.aliexpress.com/e/ObF3jW12
D1 Mini Lighting Shield
kk4oyj.wordpress.com/2019/08/15/esp8266-d1-mini-lighting-shield
https://s.click.aliexpress.com/e/_9g4DUs
LED Driver
https://s.click.aliexpress.com/e/_AYhbKG
Heatsink
http://s.click.aliexpress.com/e/FDOkc6hw
Wondom LED Driver
ebay.to/2lBKPBO
3D files are on thingiverse: -
thingiverse.com/thing:3692623
Big Clive Video
youtube.com/watch?v=uIspnsBp3o4&t=5s
The files are available for download here
thingiverse.com/thing:3843583
The bolts i used were
4 x M5 x 30mm
2 x M8 x 70mm
4 x M6 x 75mm
The wheel and pedal model i mentioned from grabcad
grabcad.com/library/logitech-g27-1
Post bag number 3 is more random things i feel i need, but most likely don't ;-)
TinyPico Campaign
crowdsupply.com/unexpected-maker/tinypico
Activated Soldering Carbon Smoke Foam Pad
ebay.to/2YDRn0v
Right Angle buttons
http://s.click.aliexpress.com/e/c3wzuzAC
Bimetallic switch
http://s.click.aliexpress.com/e/bndvjPzq
7s Active Balance board
https://s.click.aliexpress.com/e/_Agsag8
LED Controller with RF control
http://s.click.aliexpress.com/e/GUWZBs8
10w LED Driver
ebay.to/2yHjXDL
100w LED Driver
https://s.click.aliexpress.com/e/_9GftCu
TT Go T-Display
https://s.click.aliexpress.com/e/_AcKPxm
Andreas Spiess Fan video
youtube.com/watch?v=6Z-1A6oDFXI
Big thanks to Brian lough for his D1 matrix board and api work. His store is
tindie.com/stores/brianlough
64x32 RGB pixel panel Display
http://s.click.aliexpress.com/e/oSMY99A
4A 5v power supply
http://s.click.aliexpress.com/e/b8nY0qhi
Wemos D1 Mini
https://s.click.aliexpress.com/e/_9hhjPW
Arduino Sketch
github.com/chickey/Matrix-Streamer-status
Updated youtube api
github.com/chickey/arduino-youtube-api
commentpicker.com/youtube-channel-id.php
I took time to spruce up an old project which was a night light for my little boys and integrated it into home assistant. The refresh wasn't really needed but hey were makers and always tinkering :-)
Thingiverse link for night light
thingiverse.com/thing:3063300
Night Light Sketch
github.com/chickey/NightLight
Home Assistant yaml
pastebin.com/SAuxVFKs
ESP01 RGB controller from our UK store
store.eplop.co.uk/product/esp-01s-rgb-led-controller
ESP01 RGB controller
http://s.click.aliexpress.com/e/cUjNNx1e
Lipo Control Board
rover.ebay.com/rover/1/710-53481-19255-0/1?icep_id=114&ipn=icep&toolid=20004&campid=5337763327&mpre=https%3A%2F%2Fwww.ebay.co.uk%2Fitm%2F1-x-PCB-Li-ion-Lipo-Battery-3-7V-step-up-Convert-to-Output-Power-DC-5V-DLX-UPDC%2F390845137551%3Fepid%3D1532065663%26hash%3Ditem5b002f828f%3Ag%3At-EAAOxyItRTecmZ
youtube.com/watch?v=76wB0W_Eztk
ESP01 - http://s.click.aliexpress.com/e/bhL2s2ZS
Temp Board - http://s.click.aliexpress.com/e/ceWumcK8
The configuration page for the Dallas sensor with ESPHome
esphome.io/components/sensor/dallas.html
My previous video for swapping the memory modules
youtu.be/6UjEiigDcDQ
Yaml Code for Dallas Sensor
pastebin.com/6Sck82Sz
The video for converting any 18650 to a protected cell
youtube.com/watch?v=1rg3ZWxBNUE
I have been wanting to automate my iLife 4S robot hoover for some time and after my last attempt i wanted to make a more complete project with Home assistant which i'm now using for my whole house. I'm pretty much there bar a 3d printed case :-)
Links for the boards i used.
Wemos D1 Mini
rover.ebay.com/rover/1/711-53200-19255-0/1?icep_id=114&ipn=icep&toolid=20004&campid=5337763327&mpre=https%3A%2F%2Fwww.ebay.com%2Fitm%2FWeMos-D1-ESP8266-ESP-12F-NodeMcu-Lua-Mini-WIFI-CH340-Development-Board-Antenna%2F202396194434%3Fhash%3Ditem2f1fc0d682%3Am%3AmDWIZRGBwRKUG1DsM1ZZf0A
Wemos IR Controller
rover.ebay.com/rover/1/711-53200-19255-0/1?ff3=4&toolid=11800&pub=5575142091&campid=5337763327&mpre=https%3A%2F%2Fwww.ebay.com%2Fitm%2FLatest-ESP8266-LOLIN-by-WeMos-D1-Mini-V3-1-Pro-Lite-ESP32-Clones-Shields%2F272237540715%3Fhash%3Ditem3f629f356b%3Am%3Amj2QPO1TUkIJK1zGvv5s1bQ
Wemos Dual base
rover.ebay.com/rover/1/711-53200-19255-0/1?ff3=4&toolid=11800&pub=5575142091&campid=5337763327&mpre=https%3A%2F%2Fwww.ebay.com%2Fitm%2FDual-Base-DHT11-WeMos-D1-ESP8266-ESP-12-NodeMCU-Lua-WIFI-Developpement-Board%2F132725296665%3Fhash%3Ditem1ee70b4e19%3Am%3Am8fhaG3YVA-6r3l_5W8sSeQ
I tried really hard to keep the duration down but failed miserably but subsequent Home Automation stuff should be able to be shorter now I've went over some core items.
I decided to build myself a reflow oven using the great design by Unexpected maker as a base for my own board and i explain the process and also why open source is great.
As you shall see i don't go into high detail as all the clever work was done by Seon and it's a product he sells on Tindie (link below). So definitely not something i would be selling.
SSR rover.ebay.com/rover/1/710-53481-19255-0/1?icep_id=114&ipn=icep&toolid=20004&campid=5337763327&mpre=https%3A%2F%2Fwww.ebay.co.uk%2Fitm%2F272523454311
Thermocouple rover.ebay.com/rover/1/710-53481-19255-0/1?icep_id=114&ipn=icep&toolid=20004&campid=5337763327&mpre=https%3A%2F%2Fwww.ebay.co.uk%2Fitm%2FK-type-0-1250-EGT-EXHAUST-GAS-Thermocouple-Temperature-Sensor-Probe-1-8-NPT%2F382605850883%3F_trkparms%3Daid%253D111001%2526algo%253DREC.SEED%2526ao%253D1%2526asc%253D20160908105057%2526meid%253Da7a014dccb5c4c19b06c9b6520eda299%2526pid%253D100675%2526rk%253D2%2526rkt%253D15%2526sd%253D272523454311%2526itm%253D382605850883%26_trksid%3Dp2481888.c100675.m4236%26_trkparms%3Dpageci%253A0810ccb5-7ee5-11e9-bcd7-74dbd180d4ef%257Cparentrq%253Aeedf590d16a0ac3c3bc211a1ffe1002e%257Ciid%253A1
unexpectedmaker.com
tindie.com/stores/seonr
github.com/UnexpectedMaker/ReflowMaster
Here we have the latest revision of the RS485 to WiFi adaptor with built in RJ45 connector for easy usability.
This is not so much an in depth explanation but a build video with a talk about the board :-)
I will update the stock soon but for now the Tindie link is: -
tindie.com/products/plop211/epever-rs485-to-wifi-adaptor-new-revision
Adam Welch's great channel
youtube.com/c/AdamWelchUK
I've been using the DiyBMS for some time now so thought i'd pull a short video showing some of the issues I've come across or seen others experience.
bit.ly/2UzKsIA
github.com/chickey/diyBMS
youtube.com/channel/UCvEcFmJsOVobLYqUSZOQfsg
I'm going to be on the makercast tonight so be great for people to pop along and say hi and ask any questions :-)
youtu.be/igUd8rgy_0g
It's been a long time since i made a video but have been doing a little making in the background so done a short recap video to ease myself back into YouTube life :-)
The powerwall is in need of some work so tough decisions ahead. Lots of other projects to come also.
instructables.com/id/Raspberry-Pi-Playstation-Mod
The parts list for the project
Raspberry Pi3 ebay.to/2N3sK7s
Controller to USB ebay.to/2O8jEuL
Panel mount HDMI ebay.to/2NGy6uL
30cm HDMI Lead ebay.to/2xBhSZw
Panel Mount USB ebay.to/2DCpS2e
MicroSD extension ebay.to/2zsmxym
DC to DC adaptor ebay.to/2Dt4Qml
Mini OLED Displays http://s.click.aliexpress.com/e/QoHzq1K
2x5 pin headers http://s.click.aliexpress.com/e/c4g68MM0
LED Lenses http://s.click.aliexpress.com/e/CLCnRhq
APA106 Addressable LED http://s.click.aliexpress.com/e/0vu4XDm
Sample Book inserts http://s.click.aliexpress.com/e/4vUxINi
Sample Book http://s.click.aliexpress.com/e/bCOVDYgo
TTGO T-Base ESP8266 bit.ly/2MJM3mp
#electronics #postbag #hobby #maker
Sorry i had a small issue on this with the audio as i had recorded the whole thing and realised i hadn't switched on the mic so it was un-amplified. I modified it as much as i could in software to get is usable.
Gtil 1000 Inverter ebay.to/2POEb5D
Epever 3210a ebay.to/2Pn9nIj
Alfatronix PV6s ebay.to/2LIgLfb
12v Distribution ebay.to/2MElrbf
12-24v to USB bit.ly/2NxrsTj
RS485 to wifi youtube.com/watch?v=qNhaP1jLT5g&t=4s
DiyBMS
github.com/chickey/diyBMS
#electronics #diybms #hobby #maker
9LED UV Torch ebay.to/2oowUNz
3w UV LEDs bit.ly/2LE50Go
Wemos IR Shield bit.ly/2C8Nt9E
#electronics #postbag #hobby #maker
I designed the case in fusion 360 which is available here: -
thingiverse.com/thing:3063300
The code is up on github: -
github.com/chickey/NightLight
I'll be continuing to work on the light and adding features, any suggestions just drop me a comment.
The parts used were: -
NeoPixels ebay.to/2wn663w
Lithium DC-DC ebay.to/2w90laq
Wireless Charger Receiver ebay.to/2w7W6fw
Wemos D1 mini ebay.to/2OZWeo5
Small switch ebay.to/2LhihVe
Big thanks to Brian Lough who's code i used as a base for the web interface.
github.com/witnessmenow/ESP8266-IR-Remote-Example
#Maker #electronics #diy #3dprinting
Link for ACS712
ebay.to/2vZq4SH
Another couple of good videos on using the ACS712
youtube.com/watch?v=KKfsCHBXvwg&t=1s
youtube.com/watch?v=UF5jrnXvTlM
DiyBMS github page
github.com/chickey/diyBMS
ACS712 Test Sketch
dropbox.com/sh/1ajwiqgugnmfzhx/AABGQ7ml2IqgcCTOy_Gtjgvna?dl=0
As ever thanks to Stuart for the great design.
Adam Welch created a custom PCB using my design/idea for the RS485 to WiFi adaptor so i have assembled the parts to provide some kits. This is a one off for now and not something i plan on doing a lot but i though it would be handy for those that would like an adaptor but are unsure on the parts or do not want 10 pcb's when they only require one adaptor. I intend to sell them as kits but can assemble them if required for people.
I've been meaning to publish this video for a few months but held off until i created the listing for the sale. I thought i would try tindie as it fits makers well so i have created a listing available here
tindie.com/products/plop211/epever-rs485-to-wifi-adaptor
Adams original Video
youtube.com/watch?v=nxM_7ycWj0k&t=477s
Receiver/Transmitter modules
Ebay UK
ebay.co.uk/sch/i.html?_from=R40&_trksid=m570.l1313&_nkw=2PCS+Digital+38KHz+Infrared+IR+Sensor+Transmitter+Kit&_sacat=0
Aliexpress
https://s.click.aliexpress.com/e/_9QfGIu
Github page with iLife IR codes
github.com/z3t0/Arduino-IRremote/issues/354
Brian Lough Video + Github
youtube.com/watch?v=YV8Mx1qvH4A&t=1s
github.com/witnessmenow/ESP8266-IR-Remote-Example
easyeda.com
autodesk.com/products/eagle
http://kicad-pcb.org
Sorry the audio goes quiet in the last segment as i had my mic on the wrong setting.
The thingiverse project is available at
thingiverse.com/thing:2851306
My fork is available here
github.com/chickey/diyBMS
Thanks as always to Stuart for his great design.
github.com/chickey/diyBMS
I've been having issues with my BMS after moving it from the play house to the garage and for the life of me couldn't figure it out. With some assistance from the youtube community I've pinned down the issue so shall be picking up development.
Thanks as always to Stuart for his great design.
It's designed so that it can easily be removed if required and there is always the possibility to have a few boxes and move the raspberry pi enabled roof as required, although be careful if birds are already nesting as this may not be advisable.
The files are available on thingiverse at the following link
thingiverse.com/thing:2970000
For writing the image i used etcher etcher.io
The software the Raspberry Pi is running is motioneyeOS
github.com/ccrisan/motioneyeos
For instructions on configuring the wifi for headless operation there is a great guide at
raspberrypi-spy.co.uk/2017/04/manually-setting-up-pi-wifi-using-wpa_supplicant-conf
For those interested the parts i used were: -
The right angle adaptor i used was from ebay
rover.ebay.com/rover/1/710-53481-19255-0/1?icep_id=114&ipn=icep&toolid=20004&campid=5337763327&mpre=https%3A%2F%2Fwww.ebay.co.uk%2Fitm%2F322733325130%3FViewItem%3D%26item%3D322733325130
No IR camera
http://rover.ebay.com/rover/1/710-53481-19255-0/1?ff3=4&pub=5575142091&toolid=10001&campid=5337763327&customid=&mpre=https%3A%2F%2Fwww.ebay.co.uk%2Fitm%2FNight-Vision-IR-Camera-Module-for-Raspberry-Pi-3-Model-B-2B-B-A%2F173739768506%3Fhash%3Ditem2873b27aba%3Ag%3AoDgAAOSwAHtaF-H0
IR LED units
rover.ebay.com/rover/1/710-53481-19255-0/1?icep_id=114&ipn=icep&toolid=20004&campid=5337763327&mpre=https%3A%2F%2Fwww.ebay.co.uk%2Fitm%2FInfrared-LED-IR-Light-3W-850-For-Raspberry-Pi-Camera-Module%2F152654469612%3Fhash%3Ditem238aea59ec%3Ag%3AnSIAAOSwu2VZYUhw
Modify the kids electric toys of course :-)
My thingiverse page has the RC car parts i mentioned in the video thingiverse.com/chickey/designs
My mind went blank when i got to the fan but i used a 3.7v lithium to 9v step up module which you can buy here
ebay.co.uk/itm/Lithium-Li-ion-18650-3-7V-4-2V-Battery-Charger-Board-9V-DC-Step-up-Boost-Module/152704808159
gearbest.com/rc-cars/pp_203036.html?wid=1433363
I've now gotten the communication working reliably on the ic2 bus with the correct fuse settings. I have updated the code so the temps are now being converted to C and being pushed to Grafana as well as the bypass status. I have 7 boards running and fine tuning the code.
My fork is available here
github.com/chickey/diyBMS
Thanks as always to Stuart for his great design.
My fork is available here
github.com/chickey/diyBMS
Thanks as always to Stuart for his great design.
In the video i also place the components and re-flow to demonstrate making a complete module.
Source and Grafanas available at : -
github.com/stuartpittaway/diyBMS
Stuarts Github for diyBMS
github.com/stuartpittaway/diyBMS
DiyBMS Solder Stencil
thingiverse.com/thing:2832034
Syringe Plunger
thingiverse.com/thing:2461265
Gerber to Solder Stencil
http://solder-stencil.me
I've tried a new method with the audio on this video so any input is much appreciated :-)
github.com/chickey/ATTiny-ESP8266-BMS
I'm also testing a new mic and the audio seems quiet, shall place some gain on it for the subsequent video's. Quality is fine just quiet so i won't reupload.
There is no support forums however Dacian uses google plus for those interested.
plus.google.com/+electrodacus
I've done this guide based on installing it onto a raspberry pi 2/3 using the latest Debian release but should work on earlier releases too.
I've put all the installation steps into a script which you can download and run using the below commands, i'll also place the contents from the script at the end of the comments for people to view. Oh and i did manage to get the crontab setup in the script. Sadly you shall have to do the basic config of influxdb and grafana but i've explained it all in the video and it's only a few small steps.
wget github.com/chickey/Epever-influxdb/raw/master/logger-install.sh
sudo chmod +x logger-install.sh
./logger-install.sh
mkdir epeverlogger
cd epeverlogger
sudo apt-get install apt-transport-https curl
curl bintray.com/user/downloadSubjectPublicKey?username=bintray | sudo apt-key add -
echo "deb dl.bintray.com/fg2it/deb-rpi-1b jessie main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
sudo apt-get update
sudo apt-get install grafana
sudo apt-get install influxdb
sudo apt-get install socat
sudo apt-get install php-fpm
sudo apt-get install php-curl
curl -sS getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer
composer require influxdb/influxdb-php
wget github.com/toggio/PhpEpsolarTracer/archive/master.zip
unzip -j master.zip
rm master.zip
wget github.com/chickey/Epever-influxdb/raw/master/logger.php
crontab -l | { cat; echo "0 0 0 0 0 php /home/pi/epeverlogger/logger.php"; } | crontab -
youtube.com/watch?v=_VcWwJIq4XU
Sorry i tried to get this as short as possible but it does involve a few things.
I've done this guide based on installing it onto a raspberry pi 2/3 using the latest Debian release but should work on earlier releases too.
I've put all the installation steps into a script which you can download and run using the below commands, i'll also place the contents from the script at the end of the comments for people to view. Oh and i did manage to get the crontab setup in the script. Sadly you shall have to do the basic config of influxdb and grafana but i've explained it all in the video and it's only a few small steps.
wget github.com/chickey/Epever-influxdb/raw/master/logger-install.sh
sudo chmod +x logger-install.sh
./logger-install.sh
mkdir epeverlogger
cd epeverlogger
sudo apt-get install apt-transport-https curl
curl bintray.com/user/downloadSubjectPublicKey?username=bintray | sudo apt-key add -
echo "deb dl.bintray.com/fg2it/deb-rpi-1b jessie main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
sudo apt-get update
sudo apt-get install grafana
sudo apt-get install influxdb
sudo apt-get install socat
sudo apt-get install php-fpm
sudo apt-get install php-curl
curl -sS getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer
composer require influxdb/influxdb-php
wget github.com/toggio/PhpEpsolarTracer/archive/master.zip
unzip -j master.zip
rm master.zip
wget github.com/chickey/Epever-influxdb/raw/master/logger.php
crontab -l | { cat; echo "0 0 0 0 0 php /home/pi/epeverlogger/logger.php"; } | crontab -
Github repository for my php logger script
github.com/chickey/Epever-influxdb
Credits:
github.com/kasbert/epsolar-tracer
http://randomsporadicprojects.blogspot.co.uk/2016/11/instructions-for-creating-dashboard-to_9.html
The optocouplers i used are http://www.ebay.co.uk/itm/191970006888
I'm going to put up a video explaining the code also but it can be found at the following github along with a fritzing diagram showing the wiring.
github.com/chickey/ATTiny-ESP8266-BMS
I heavily borrowed from Mega Mechatronics and his ebike battery arduino based project. His channel is below.
youtube.com/channel/UCehKXqd_WLjbpG-EE1121-g
the BMS utilises an ATTiny85 for the cell monitoring modules and an ESP8266 which receives the cell voltages and puts them into a basic web page.
The code can be found at the following github along with a fritzing diagram showing the wiring.
github.com/chickey/ATTiny-ESP8266-BMS
I heavily borrowed from Mega Mechatronics and his ebike battery arduino based project. His channel is below.
youtube.com/channel/UCehKXqd_WLjbpG-EE1121-g
I'm continuing on with the work on the playhouse and focusing on the batteries. I had an issue with them over the winter so making a monitoring system based on a ATTiny85 and ESP8266 with some alerting. The final goal will be balancing functionality.
Thinking of doing a series of videos from programming the ATTiny/ESP to the build and code along with network diagrams.
The idea for it came from someone doing very similar with an arduino based setup.
youtube.com/watch?v=fUT1GW9gx7Y&t=1s
Sorry for the rough and ready video, it's been a while!
http://randomsporadicprojects.blogspot.co.uk/2016/11/instructions-for-creating-dashboard-to_9.html
github.com/jaminNZx/Tracer-RS485-Modbus-Blynk
I'm happy with the scales and have some ideas for reading these with an arduinio/ESP8266 for automatic recording :-)
Amazon UK link
http://amzn.to/2g1oMjK
The links as mentioned in the video are below
Hardware Virtual Serial port 3.1.2
http://new.hwg.cz/files/download/sw/version/hw-vsp3-single_3-1-2.exe
EPEver monitoring/control software
http://www.epsolarpv.com/en/index.php/Technical/downloadF/id/583
Using a different mic so any feedback is appreciated
The packs are based on Paul Kennets design so all credit goes to him for the 3dprint designs and ideas.
If people want a more in-depth look at the pack drop let me know in the comments.


