Feeding analog voltages to digital microcontroller inputs already got us some interesting effects, but what about leaving an input pin entirely disconnected? All of a sudden microcontrollers become sensitive to the weather outside, and the clothes we wear—or any other source of electrostatic. The easy way to deal with this is to always ensure that […]
BIVBlog #49: Schmitt Triggers, and Analog Voltages on Microcontroller Digital Input Pins
While digital inputs on microcontrollers are meant to be fed digital input signals, what will actually happen if we feed them a real world input voltage? And what is a Schmitt Trigger, and what is it good for anyway?
BIVBlog #48: Microcontroller Input and Portability Basics
Reading basic digital input with a microcontroller is fairly straightforward—at least as long as you really keep things simple and don’t do some of the advanced stuff following in the next few episodes.
BIVBlog #47: Better Ways to Manipulate Bits in C (not only) for Microcontrollers
Following up on the previous episode (BIVBlog #46: Bitwise Operators in C (not only) for Microcontrollers) I explain ways to minimize the pain involved with the bitwise operators in C. While none of the shown approaches are perfect, and some are plain counterproductive, there are ways to keep your code easy to understand, modify, debug […]
BIVBlog #46: Bitwise Operators in C (not only) for Microcontrollers
While bitwise operators are a core feature of the C language for anyone doing low level programming, people who know C mostly from application development sometimes struggle to come to grips with them. This quick primer explains some idioms commonly seen with microcontrollers as well as any other low level C programming.
BIVBlog #45: “Hello, World” for Microcontrollers
We finally take a look at the source code for the microcontrollers we used to make our LEDs blink. While they are decidedly longer than the “normal” textbook style “hello, world” programs, they aren’t really rocket science either.
BIVBlog #44: Thoughts on the RIPE-73 Meeting in Madrid
If there are two things to learn from all the new information presented at last week’s (October 24–28, 2016) RIPE-73 meeting in Madrid/Spain, then it’s that IPv4 is quickly going down the drain and IPv6 deployment are still in many areas lacking to replace it.
BIVBlog #43: Basic Electronics Tools and Techniques for Microcontrollers
Part of the fun of playing around with microcontrollers is the actual building of electronic gadgets. The good news is it takes less skills, tools and money to actually get things done than what you need for a full-blown general purpose electronics lab.
BIVBlog #42: Leaving the Pre-built Microcontroller Target Boards Behind
As useful as the various pre-made evaluation target boards were to get our microcontroller development toolchain up and running, they are starting to become a burden. Dropping them now, and dealing with everything they have taken care of for ourselves so far, makes a lot of sense in the long run: It gives us more […]
BIVBlog #41: Makefile Basics (not only) for Microcontrollers
As useful as Makefiles are, a lot of people are mortally afraid of them. Admittedly, their syntax is somewhat quirky, and not knowing in advance in what exact order during execution may seem somewhat disconcerting, but they are an invaluable tool not only in multi-file projects but also whenever you want to compile programs in […]