Getting Free SSL Certificates from letsencrypt.org on OpenWRT using dehydrated SSL

I remember a time when acquiring SSL certificates to enable HTTPS on a web server was a tedious process ... not only did you have to subscribe but you would need to verify your identity by submitting all kinds of paperwork to prove your existence. These days you can get SSL Certificates sign-by browser recognized certificate authorities for FREE. The catch with most of them is that they are only valid for short periods such as 30 or 90 days, and you have to update your certs to a renewed ...

Relocating LUCI to a different port on OpenWRT 15.05.1 Chaos Calmer

I wanted to run a http (port 80) and https (port 443) reverse proxy on my router, and luci running on port 80 got on the way. So I decided to move luci to run on a different port. Here's what I did: Edit /etc/config/uhttpd, and changing the following lines:from:config uhttpd 'main'list listen_http '0.0.0.0:80'list listen_http '[::]:80'toconfig uhttpd 'main'list listen_http '0.0.0.0:81'list listen_http '[::]:81'Reboot. You should now be able to access luci via http://192.168.1.1:81/. You ...

Adding SSL to NGINX on OpenWRT Chaos Calmer 15.05.1

Motivation I wanted to upgrade the apache http server reverse proxy in my OpenWRT router to support https (http over Secured Socket Layer (SSL) -- basically a way to encrypt web traffic to a server). This is so I can secure access to my home-based resources using https, something which is becoming the norm these days. This should be simple enough to do in apache http server, but it turns out the build of apache on my router breaks http when https is enabled. I looked at haproxy, which i...

Removing Pinion Gear From Stepper Motor : .sha VS pinion

Back in September I tested using a 12V 28BYJ48 Stepper Motor to move the throttle levers on my 737 Throttle Quadrant. It worked, but I believed it was at the limits of the motor's torque capabilities. If you look back at the video, you'll notice the motor jumps a bit when crossing the 45 degree point probably due to the sudden shift in weight. My gut instinct told me that I should upgrade the motor now before proceeding with the rest of the design. The motor size is the biggest (literally) h...

MH716 WIII/CGK to WMKK/KUL 3 Oct 2017

I had an afternoon meeting which was scheduled to start at 13:30WIB and go on "Sehingga Selesai" ("until ended"). I didn't want to risk missing an evening flight, so I scheduled my return flight the next morning -- which meant for once I got to leave Jakarta in a fresh, relaxed and stress-free state. I booked a seat on MH716 which departs CGK at 12:15, as the price was quite reasonable, by MH standards. When checking in onlin though, I was surprised to discover the flight was rather full. I ...

British Airways A380 In Kuala Lumpur?

Today (1 October 2017) I spotted a British Airways A380 here in Kuala Lumpur International Airport (KUL/WMKK). Which is interesting because British Airways services the KUL-LHR route using Boeing 787 Dreamliners. So what was a British Airways A380 doing here? Diverted? Lost? I checked the inbound BA34 and outbound BA33 flights to KUL for the day and they were still using a Dreamliner (G-ZBKN). So this A380 was not here taking passengers to or from London. Unfortunately the aircraft was...

12V-5V DC/DC Converter from Banggood

Testing out this 12V->5V DC/DC converter from Banggood. It's useful useful for 12V deployments with of a Raspberry Pi (which needs 5VDC). It also terminates with a microUSB plug, which goes directly into the Pi -- no need for any hacks. I measured the Pi 3 using roughly 90mA @ 12V on idle, and around 320mA @ 12V with all four core fully loaded, display, andUSB keyboard/touchpad connected. No low-voltage indicator appearing on the Pi's display during peak loads. I didn't notice any heat o...

DIY 737 Throttle Quadrant - Testing Motorized Throttle Levers

Testing a Motorized Throttle Lever for my Flight Simulator. When the auto-throttle is engaged, aircraft's systems are supposed to control the engine throttles automatically, which includes moving the actual levers. I've used a 12V 28BYJ48 Stepper Motor (modified for bipolar format for more torque) and a A4988 Bipolar Stepper Driver, together with a potentiometer to sense the Throttle position. Right now I'm still testing it standalone, with a Raspberry Pi generating pulses every 30 mil...

Power Supply Enclosure Project

I've been using a AC to 12VDC converter and a 12V to 5V converter on my desk for the last 10 years, to test out various project stuff. Recently I've been exploring stepper motors, and needed a bit more power than what my existing power supplies were rated for. So it was time for an upgrade. Thoughts The switching power supplies I typically see on the market have a metal frame but semi-exposed AC power connections. While they're cheap and reliable, I'm not a fan of this design and decided t...

Car Phone Holder for a Note 3 + Folio Cover

My dad uses a folio-style case on his mobile phone, so as to protect not just the body of the phone but also the front screen. A downside of this is that the Galaxy Note 3 with such a case is too big to fit inside any car phone holder. So each time he needs to use Waze while driving, my dad would need to remove the phone from the case, and replace it back again after he's reached his destination. This is all too much work so it is time for the 3D Printer to come to the rescue ... We rummaged...