The Curmudgeoclast

Thoughts, projects, and ramblings of Dave Astels

Sun 15 October 2017

Feather M0 Express supersizing

Posted by dastels in project   

NOTE: This is based on the 2.x branch of circuitpython and doesn't yet work on the lastest from the master branch.

In my last post I described how I hacked a 2Mbyte SPI flash onto a Trinket M0 to give it the memory space for CircutiPython of one of …

Read more...



Sun 02 April 2017

SmartHome: Node Hardware

Posted by dastels in project   

Nodes are the metaphorical eyes, ears, and hands of the smarthome system. There will be many of them in a home. Even in my modest apartment I will probably have about a dozen. So they need to be unobtrusive, reliable, and fairly inexpensive.

I went through several progressively more refined …

Read more...


Sat 25 March 2017

Smarthome: Introduction

Posted by dastels in project   

Almost a year ago a friend and I started playing with the idea of building a smart home control system. Before getting too far I ended up back in Canada and the friendship dissolved, as they do. I, however, continued evolving my ideas and I now have what I think …

Read more...


Tue 06 September 2016

My first Arduino shield

Posted by dastels in project   

Arduino Uno is a nice, simple platform to hack on but has limited IO. The Arduino Mega2560 has a ton of IO but is bigger and more expensive. However, you're not stuck with an Arduino as it comes off the shelf. One really nice thing about the Arduino platform in …

Read more...


Thu 08 October 2015

PWM control of LEDs

Posted by dastels in tutorial   

Pulse Width Modulation is a technique to vary the duty cycle of a signal while keeping it's frequency constant. For example:

This turns out to be a very handy thing to be able to do. So much so that it's a basic feature in most, if not all, MCUs.

LED …

Read more...


Sun 04 October 2015

Analog to digital

Posted by dastels in tutorial   

By now I'd controlled an LED and read a digital input. The next step was to read analog values. The STM32F407 on the Disco board has 3 analog to digital convertors (ADCs), which can be used to read from 19 different sources: 16 external sources, two internal sources, and the …

Read more...



Sun 04 October 2015

Blinking an external LED

Posted by dastels in tutorial   

Once ArmPit Scheme was in place and running, and manipulating the onboard LEDs, it was time to grab some components, wires, and a breadboard and get hacking.

The wiring

My first project was simple: blink an external LED. Unlike Arduino boards, the Disco board has male pin headers, not female …

Read more...


Fri 02 October 2015

ArmPit Scheme

Posted by dastels in tutorial   

In my new position as Director of Innovation at SteelSeries I've been doing plenty of hardware hacking and prototyping. I've done some work with Arduino, and more recently Teensy3.1. Now I'm playing around with The STM32F4 Discovery board from ST Micro.

The STM32F4Disco is centered around an STM32F407VGT6 MCU …

Read more...