For a home automation project I need to know the room temperature and humidity percentage of the room air. Adafruit has an inexpensive DHT11 sensor from http://www.aosong.com which I decided to use for that project. Outline In this post I’m showing … Continue reading
↧
Using the DHT11/DHT22 Temperature/Humidity Sensor with a FRDM Board
↧
Poor Man’s Trace: Free-of-Charge Function Entry/Exit Trace with GNU Tools
There are cases where my application runs find for days, weeks or even months, but then from time to time there is an application crash. Yes, the watchdog will recover it, but still it would be good to know what … Continue reading
↧
↧
CRC Checksum Generation with ‘SRecord’ Tools for GNU and Eclipse
One of the things missing for Embedded in the GNU linker is that it cannot generate a CRC checksum. Luckily, there is the solution of using SRecord: Outline Because the GNU (e.g. GNU ARM Embedded/launchpad) toolchain does not include a … Continue reading
↧
User Interrupt on NMI Pin with Kinetis and ExtInt Component
While my beef brisket (see “My First DIY Smoked Beef Brisket: Day 1“) is smoking on ;-), I have time to investigate a problem I was running on in my lecture on Friday: For the Joystick shield (see “JoyStick Shield … Continue reading
↧
Cheap and Simple WiFi with ESP8266 for the FRDM Board
How cool would it be to add WiFi support to any projects or IoT? Why not using WiFi with a microcontroller which has only few KBytes of RAM and FLASH. For less than US$5? Dreams came true, and intrigued by … Continue reading
↧
↧
Illustrated Step-by-Step Instructions: Updating the Freescale Freedom Board Firmware
I have received a bunch of Freescale FRDM boards to be used in an Embedded Systems programming crash course. There are multiple issues with the boards coming from the factory: They come with an old bootloader which is not compatible … Continue reading
↧
FreeRTOS Continuous Trace Streaming
Key to successfully implementing embedded applications these days is to have detailed visibility into what is going on with the application on the board. For this, I’m using the FreeRTOS+Trace from Percepio to inspect the runtime behaviour. Stop-Mode debugging is … Continue reading
↧
Let’s play with Freescale FRDM-K64F
Hello Again! In my previous blog I talked about the new getting started process for Kinetis FRDM-K64F development board. Here I am with my next blog going one step further and introducing you to the target application that I have … Continue reading
↧
Freescale Freedom Board Tutorials on Element14
I have found several excellent tutorials created by Bheema Rao on element14: He uses many of the McuOnEclipse components, features Kinetis Design Studio/Eclipse and shows how to use the Kinetis SDK, toggling/dimming LED’s. As it is not easy to find … Continue reading
↧
↧
Unboxing the Freescale FRDM-KL43Z Board
I’m preparing for the next semester at the university starting in September this year. As part of that, I’m currently evaluating the FRDM-KL43Z board: FRDM-KL25Z, the most popular Freedom Board? The Freescale FRDM-KL25Z board is used a lot, including in … Continue reading
↧
Using the Freescale Freedom (FRDM-KL43Z) to Debug other Boards
In “Unboxing the Freescale FRDM-KL43Z Board” I was using the FRDM-KL43Z board the first time. The FRDM-KL43Z board has an on-board debug interface (Kinetis K20, OpenSDA). In this post I show how to use the FRDM-KL43Z board to debug another … Continue reading
↧
Programming Kinetis with CodeWarrior from the DOS Shell
In “CodeWarrior Flash Programming from a DOS Shell” I showed how to program a device from the DOS shell. Because that example was for ColdFire and CodeWarrior for MCU10.2, here is the same for a Kinetis (FRDM-KL25Z) and CodeWarrior for … Continue reading
↧
Zumo Robots at Maker Faire in Rome (16. – 18. Oct. 2015)
I won’t be able to attend the Maker Faire in Rome (16. – 18. Oct. 2015). But five of the Sumo bots students from the previous semesters have built and programmed will be there. The two robots on the left … Continue reading
↧
↧
A Raspberry Pi for $5! What are your decision factors?
It it is obvious that a new trend from the US is swapping over to Europe and probably the rest of the world: Black Friday. That is the day yesterday following Thanksgiving day in the United States. It is a … Continue reading
↧
Debug Multiple Boards with GDB at the Same Time
Many times it is very useful to debug multiple boards at the same time. For example if I’m debugging a communication stack between two boards: that way I can debug the protocol on both sides. Eclipse is a great framework … Continue reading
↧
Controlling NXP Freedom Board RGB LED with openHAB and Raspberry Pi
In “Blinky LED with openHAB on Raspberry Pi” I have used openHAB on a Raspberry Pi to control an LED attached to the Pi, and in “xx” I have explored how to connect a NXP Freedom Board over USB CDC … Continue reading
↧
First NXP Kinetis SDK Release: SDK V2.0 with Online On-Demand Package Builder
There are plenty of different software packages available for microcontroller these days from all the silicon vendors. Finding a good software package is one challenge, getting what I really need is another one. Freescale is now part of NXP since … Continue reading
↧
↧
openHAB RGB LED Light Cube with WS2812B and NXP Kinetis
From my earlier work to use the NXP Kinetis with openHAB (see “Controlling NXP Freedom Board RGB LED with openHAB and Raspberry Pi“) it was only a small step to control a 20x20x20 cm light cube with 256 Adafruit WS2812 … Continue reading
↧
Tutorial: Bare-Metal Shell for Kinetis
I have been asked to provide a command line shell example for a bare-metal (no RTOS) application, so here we go! Having a way to communicate to the firmware on a board is essential for most of my projects: it … Continue reading
↧
Tutorial: Blinky with the FRDM-KL27Z and Kinetis SDK v2
I’m using the FRDM-KL25Z in my classes, and that board is very popular: low price (<$15), reasonable features (48 MHz ARM Cortex M0+, 128 KByte of FLASH, 16 KByte of RAM), and many tutorials elsewhere and on McuOnEclipse :-). For … Continue reading
↧