Mindblown: a blog about philosophy.
-

Pine Script for 52 Week Low Stock Buying Strategy (Version 2)
I created this TradingView Pine script for backtesting the longer term contrarian investing strategy of buying stocks at 52 week lows. For an in depth look at this strategy and extensive backtesting proof it works, read “The 52 Week Low Formula” by Luke L. Wiley CFP (John Wiley & Sons, 2014). Also check out my […]
-

Trading View Pine Script for 52 Week Low Contrarian Investment Strategy
There is an updated version of this script here. I created this TradingView Pine script for backtesting the longer term contrarian investing strategy of buying stocks at 52 week lows. For an in depth look at this strategy and extensive backtesting proof it works, read “The 52 Week Low Formula” by Luke L. Wiley CFP […]
-

Dog of the ETF Universe Trading Strategy
The Dogs of the Dow is a proven long term investment strategy for outperforming the market. But does it work with Exchange Traded Funds instead of individual stocks? The results will surprise you! Check out my Dogs of the ETF Universe interactive tool here (free, no registration required). Watch the video below for the full […]
-

I Wrote This ZX Spectrum Game in 1988 – Will it Load?
Back in 1988 I wrote a computer game called Space Encounters on my 48K Speccy. Will it load? Let’s find out! I began programming on the Sinclair ZX Spectrum back in 1983 when my parents bought a 48K Spectrum for Christmas. Although I played a lot of games on it over the years, I did […]
-

Export RGB565 Images From GIMP & Display on ESP32 OLED/TFT
Did you know you can export images from the freeware Gimp photo editing package and display them on a microcontroller screen? Source code from this tutorial is further down the page. In this tutorial I demonstrate how to export then display them on a Waveshare 16 bit colour OLED display connected to an ESP32 board. […]
-

ESP32 OLED Yoda Quote Display – Learn to Code You Must
Here’s a fun little project that builds a Star Wars Yoda inspiration quotes display using an ESP32 and SSD1351 OLED. It’s really easy to replace the images if you’re not a fan of Star Wars. This is a nice little school Computer Science project or an interesting little toy for the Star Wars fan in […]
-

Display Full Color Images on an ESP32 with SSD1351 OLED
Here’s how to display full colour images on an OLED display using an ESP32 microcontroller. I’m using the amazing Waveshare 1.5 inch OLED, which offers 16 bit colour in a resolution of 128×128 pixels. Although Waveshare have their own graphics library, this tutorial uses the popular Adafruit GFX Library. The display is compatible with the […]
-

How to Receive MQTT Messages From ESP32 Sensors in C# .NET Core
In this video tutorial I demonstrate how to send MQTT messages from an ESP32 microcontroller and receive them in a C# .NET Core application. In this example I’ve used a PIR motion sensor, but it will work with any other type of sensor. MQTT works over wifi so it’s useful if you want to connect […]
-

How to Wake up an ESP32 Using a PIR Motion Sensor
Here’s how to sleep the ESP32 microcontroller then wake it up using a sensor. In this tutorial I’ve used the PIR infra red sensor, which is a commonly used motion sensor. It’s perfect for making a home security system. The source code is further down this page. Later in the video I run through some […]
-

ESP32 LED Mini Traffic Light Tutorial + Code
Here’s a quick tutorial on how to get mini LED traffic light modules working with the ESP32. These display traffic modules have built in red, yellow (orange) and green LED lights. Source Code The source code is below so just copy and paste it into the Arduino IDE. Note that if you’re using jumper cables […]
Got any book recommendations?