Working with low power modes can be challenging. It can severely affect debugging capabilities of a microprocessor or microcontroller. I ported a FreeRTOS application using the Tickless Idle Mode to the NXP i.MX RT1064 board, and all of a sudden, the board was unresponsive to any debugger connection. Luckily the board was not really bricked, but it took me while to find a way to recover it. So for when you end up in a situation with a ‘bricked’ i.MX RT1064 board, this article might be helpful for you to recover it.
This is the first of what I expect to become a multi-part article series on the CAN bus. I’d like to describe the features of CAN which I find particularly elegant and useful, and will introduce a simple driver I have implemented for it as part of the JeeH library. Along the way, I’ll try to illustrate its use with a variety of small demo apps, running on either a Blue Pill (i.e. F103), or one of the STM32F4 µC families.
In the first installment of this series, we discussed why we’re building a Direct Conversion receiver and talked about some basic ideas. In this installment, we explore what it takes to make the leap from a printed schematic to something physical that works. Follow along!
USB MIDI controllers (such as Launchpad Mini Mk II for example) are common and often quite low in cost.
To interface such a controller with a Eurorack synth system, often a host computer and a MIDI to CV interface might be used. The host computer would take USB MIDI data from the MIDI controller, perhaps store and manipulate that data in some way (e.g. a sequence), using a MIDI to CV converter to then control a Eurorack synth system.
It would be useful to use USB MIDI controllers with Eurorack synth systems without needing a computer and MIDI to CV interface in between the two.
Teensy 3.6 is a great microcontroller that can be programmed using the Arduino IDE. A very useful feature of the Teensy 3.6 is the USB host port.
First of all, what is calibration? In a general sense, calibrating a sensor makes the sensor provide the most accurate readings allowed by the sensor’s own precision. As an example, let’s assume for a moment that the earth’s magnetic field and any other stray magnetic fields are shielded and you have a uniform magnetic field generated artificially for the sole purpose of calibration. Let’s say that the field strength is 400 mG (milliGauss), equivalent to 40,000 nT (nanoTesla). Now if you align one axis of your magnetic sensor parallel to the direction of the field, it should read 400mG. If you then carefully rotate your sensor so that the axis is anti-parallel with your field, it will read -400mG. If you didn’t do a good job in either alignments, you will read less values, say 390mG, if you’re off by about 13 degrees, because only a portion of the field, which is a vector, is projected along your magnetic sensor’s axis.
Our initial goal was to monitor power consumption in different parts of the house, and we quickly realized every household circuit would need to be monitored. After some research, small clip on current transformers, or CT’s, looked to be the best sensor for our application. Using CT’s, current draw and thus power on each circuit can be measured. The CT’s would be installed on the wires immediately leaving the circuit breakers in the standard household breaker box. CT’s work great for this because they’re completely isolated and nothing needs to be disconnected to install them.
Quinn Dunki wrote a great article describing the conversion process of a 1980s-era Earmark into a bluetooth headset:
The obvious thing is to convert it to a bluetooth headset for modern use, right? As I previously warned, converting a 1980s-era air traffic control headset into bluetooth headphones is probably the most hipster thing possible. Normally, I don’t allow projects like this around here. But look at these headphones. They are amazing and I love them and I want to use them so I am going to make them bluetooth also shut up. If I have to punch myself as result of now being a hipster tool, so be it. I set out to do this in a non-destructive way that was reversible, at the very least. I wanted to respect the original hardware as much as possible.
There are things which are game changer in the world of software development: one such event was when I started using a VCS (Version Control System): it changed for me how I keep and store my projects and settings. It even changed the way how I deal with non-software related items like documents or other valuable things: I started storing them in to a VCS too.
Sasa Karanovic shared a how-to on making a IoT LED dimmer:
Making a IoT LED dimmer that you can control via your PC, phone, tablet or any other device connected to the network is super simple, and I’m going to show you how.
I’m sharing my three channel LED dimmer that you can use to dim single RGB LED strip or dim three separate LED channels. I want to be able to control lights above my desk and also mix warm white and cool white strip to give me more flexibility over lighting while I’m working, taking pictures or watching movies.