PIDKiln v0.6 development – update

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.

How to charge your Xiaomi Mija M365 scooter from car or power bank.

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 required voltage and current.

Continue Reading

Mavic Air universal battery charger – USB/car

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

PIDKiln – my new controller for ceramic kiln

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.

PIDKiln v0.2 - screens
PIDKiln v0.2 - main screen

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):

PIDKiln assembled – all components
  • 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 馃檪

How to enable HW accelerated proxy encoding in Kdenlive

Since this was a bit tricky, I think it will be useful to write it somewhere.

So Kdenlive can generate proxy clips, that are smaller and lighter representation of currently processed video files. With proxy you can see more (or more complex) video effects in real time. My computer was able to handle 1080p files directly (not in real time – but close enough to be editable), but since I switched to 4k … I was also force to use proxy :).

Anyway, proxy usage is straight forward. You can define it on project level, and mark if you want to have auto generated proxies for files with width larger then X pixels (yes, this is width – it’s not stated anywhere). Or you can right click mouse on clip, in video list, and check mark “proxy” (this also works for entire folder).

Continue Reading

How to choose different systems, based on pressed key in GRUB2

Ok, so the Internet is crawling with plenty of howtos for configuring different/many operating systems during boot with GRUB2. But I haven’t found the single one, how to make it depended on simple key press – not have to choose from GRUB menu.

So, in my case, I want to have boot up Linux/Debian all the time – as the default system, but from time to time, use Windows for Fusion 360 (or for gaming). Of course I can choose different OS from GRUB menu – like everyone else, but it would be much nicer and faster to simply press “shift” during boot and see Windows.

And yes, we can do it 馃檪

Continue Reading

Sony RX100 mark VI and GPS location from smartphone

AFTrack GPS settings

Just a quick tip for users of Sony RX100 VI camera who does not appreciate PlayMemories 馃槈

Sony RX100 VI – location provided

Camera has no build in GPS receiver but it can use location information provided by your smartphone over bluetooth connection. Nothing new here. You need to install Sony dedicated app on your Android phone – PlayMemories which is crap. First of all, this app requires you to enable WiFi (even if you don’t use it to control your camera), second of all, you need to remember to enable it and check if it’s still running after a while – since Android can freeze it or kill it after some time. Luckily Sony did not invented the wheel here again, and used already available GPSD subsystem on Android to provide location information (and it’s not only GPS – it’s also Galileo, Glonass or Beidou). So as a matter a fact, we just need to enable it. You can use many available apps like “Bluetooth GPS output” (there is time limit in free version) or like I – use AFtrack, that I already have since Symbian phones. In AFtrack, you need to enable “GPS Daemon” in GPS settings. That’s it. No more need to use PlayMemories (but you still need it for pairing and initial run) and it should work all the time (you can even enable it on boot if you like).

 

 

15W blue (450nm) LED laser module and GRBL investigation

15W LED laser moduleI’ve ordered, not so long ago, 15W laser module to replace my broken 5,5W one (5,5W laser was beeing replaced from factory). I was hoping to get much more power and be able to cut more… sadly it’s not that simple. It does not “engrave” on metal, does not cut deeper – so where is the problem? I’ll try to find out! 馃檪

It seems like this 15W is only on paper, for marketing purpose. It’s called “impulse”, and we should be able to get peak power of impulse around 15W.  Continuous power is 8W. I’ve ordered also module with fixed focus, not adjustable, since this type should offer better power transfer.

Browsing over different offers on Aliexpress, we can find some different specs. It should be powered with 12V DC (that is always the same), and peak power consumption should be 4-5A. Some other sellers claims it should drawn I <3A. All this can be true, probably some of them give current for power supply (12V) and other for laser module itself (it should be powered with constant current  – but we can assume peak voltage somewhere near 5V). So 5V times 3A – yup, its 15W 馃檪

Continue Reading

Flashing new bootloader to Woodpecker CNC

Not so long ago I’ve managed to corrupt my bootloader in woodpecker board by silly mistake. I’ve downloaded binary firmware (to back it up) with chosen ATmega2560 instead of ATmega328P – since it has more memory, dump was too big to fit later in 328p and when I wanted to restore it, I’ve overwritten bootloader. Interesting thing – firmware was still working ok. Anyway since I anyway wanted to upload newer bootloader no harm done. Just needed to find proper way to connect to the board.

Continue Reading