So this is quick information post – I wouldn’t call it tutorial 🙂 – how to add temperature/humidity sensor to new Sonoff S26 plug. New version, has ESP on separate board – it’s called on PCB 1.1.Continue Reading
During recent cleanups of all my IoTs devices, I wanted to disable Kankun reporting to company servers (I’ve moved everything to customs firmwares like Tasmota or Espurna with House Assistant to manage it – so I don’t want any third parties) and also it seemed to be a good idea to upgrade OpenWRT on it.
If you haven’t seen this type of smart plugs it’s a little nifty device. Comparing to recent Sonoff type smart plugs – that utilize esp8266 (that I like a lot and use with all type of other projects – but mostly ESP32 now) – this plug has Atheros AR9330 rev 1 chipset with full OpenWRT Linux on it. If you want to do more, than just on/off operations it’s just perfect device.
I’ve just created v1.1 release of PIDKiln, and bumped development version to v1.2.
Most significant change in release 1.1 are:
- replaced MAX31855 library with another one – it’s much cleaner and easier to modify
- much better MAX31855 error handling, both with thermocouple and MAX31855 itself
- introduced network logging with syslog protocol – so you can watch all debug information on remote host
- all logging settings are now in Preferences
- compressed local JS, and created separate Preference setting to allow remote downloading of JS scripts (Internet connection required – recommended to use)
And I have also (after some 1.2 changes) first, real Kiln test run.
With two termocouples and power meters.
Source like always on GitHub.
If you would like to test latest (yet already quite old) Candle on Linux machine, you could face the same problems as I did – so few tips how to make it work.
I still think UGS platform is a better choice in many cases – but sometimes Candle may be necessity (I have found problem with UGS and Fusion 360 gcode files)..
I thought about creating dedicated PCB for it, but it probably would require double side one, and so far I’ve been only making one side PCB on my CNC mill. Other problem I’ve seen was the WiFi antenna on TTGO board. With single PCB for all components, It would be shielded either by PCB or LCD or wires. This board does not have external antenna connector (some other does). So I’ve decided I’ll put ESP32 board separately and at 90deg angle close to the plastic case. This way signal should be not blocked anyway. Continue Reading
So far so good – most of the stuff is done. Currently I’m tuning PID usage, and what’s left is traversing program in time – but that’s easy.
To tune PID parameters and test it, you can use simple halogen light bulb (or car light bulb) connected with thermocouple. This is a good heat source to around 100C and it’s easy to see when it’s working 🙂
You just have to switch SSR to DC-DC one (for kiln you probably will use DC-AC). For easy testing I’ve prepared “Quick program” in LCD menu – where you can set one program step. Provide desire temperature, time and dwell – and you can run it.
Actually this is about making quick (as quick to build – not fast charging) car charger for you scooter, but there is nothing (except timeeeeee 😉 ) that forbids using it with QC/PD power banks or chargers – it will work, simply it will take ages to charge it.
It should also work for every other scooter (not just Xiaomi) – just check the voltage and current.
A quick update to my previous article about DIY DJI Mavic Air battery charger. Recently I’ve found quite interesting board on AliExpress, that can be used as universal all-in-one charger.
So first of all, as a reminder, to charge Mavic Air battery we have to supply somewhere around 13,2V. This voltage is usually not available both on USB and in the car lighter socket. With USB we could have, with some new Power Delivery capable one, above 12V – but they are still quite rare and expensive (I’m talking about power banks – not chargers). In car usually we have 12,2-12,4V – when charging it can go higher, but directly on battery – it should not in lighter socket. Continue Reading
After some experience with controlling my ceramic kiln with Linux over cron scripts, I’ve moved to Chinese PC410 controller. But (probably) because it was knock off, it had removed plenty of useful features (you can read about it, in Polish here) I’ve decided to do my own controller.
I’ve looked around Internet for existing solutions, and found one – interesting enough, but still lacking very important future for me – Internet connectivity. I need to be able to monitor my kiln overt network, see what’s going on and be able to turn it off.
So this is how it came to life my controller – based on ESP32 chip, feature rich PID controller for kiln, with network connectivity, local LCD display and all possible safety features I needed.
You can download project sources from github and build your own. All required information you will find there. Here I’ll show how to build it in step-by-step process.
What’s done already (updated 19.09.2019):
- All common procedures and functions for LCD, input (encoder) and Webserver
- Program handling like upload, delete, show
- Program loading to memory and full sanitization
- Preference handling, information screen, and graphs for WWW a tiny for LCD 🙂
- MAX31855 + thermocouple readout and handling
What needs to be done:
- PID control – now work in progress
- testing… testing… and 🙂