Tag Archives: tutorials

MQTT with lwip and NXP FRDM-K64F Board

via Dangerous Prototypes

lwip-ping-example

Erich Styger from MCU on Eclipse writes, “In this article I show the basic steps to get MQTT running on the NXP FRDM-K64F board using MCUXpresso IDE, lwip and MQTT. lwip ois a small and open source TCP/IP stack which is widely used. To keep things very simple in this first post, I’m using it in bare-metal (no RTOS) mode with no encryption/security. The principle applies to any IDE/toolchain, as long there is a lwip port available for your board and IDE/toolchain. I’m using the MCUXpresso IDE as it nicely integrates with the MCUXpresso SDK which includes a lwip port for the FRDM-K64F.”

More details at MCU on Eclipse homepage.

Tutorial: Using Eclipse with NXP MCUXpresso SDK v2 and processor expert

via Dangerous Prototypes

sdkv2-project-with-processor-expert

Erich Styger from MCU on Eclipse writes:

To me, software and tools are by far more important than the microcontroller. Because the silicon is a ‘one time kind of thing’, where the software has to be maintained and working over a longer time. And at least my software usually needs to be ported to a new device, so portability and available software and tools are critical to me.

The combination of MCUXpresso SDK (formerly Kinetis SDK) and Processor Expert is unfortunately not supported by NXP. But I have found a way to get them work together in a nice way, and this article is about making that combination possible :-).

More details at MCU on Eclipse homepage.

Cheap plant watering sensor

via Dangerous Prototypes

pics-lucky-resistor-1-600

A detailed instructions of how to design a cheap plant watering sensor from LuckyResistor:

I have a couple of plants in flowerpots and this plants not only like some light, they also need water from time to time. Watering this plants is something I often forget, with sad results. There are ready made solutions for this, but I have some objections with all of them. To be clear: There are really smart products out there – it is absolutely nothing wrong with them. It is just as I like to build my own fan controller, I like to build my own plant watering sensor in my very own fashion.

More info at Luckyresistor.me.

Tiva and Stellaris Launchpad RTC usage in Energia

via Dangerous Prototypes

pics-stellaris-600

Vadim has posted a tutorial on how to use internal RTC of Stellaris and Tiva Launchpad boards in Energia IDE:

For those of you who still have one of those old Stellaris Launchpads, I’m going to show how to utilize one of its most useful features – real time clock – in a simple way. Actually, the Hibernation module is the same in the new Tiva Launchpad, so it’s supposed to work there as well.

More info at Vadim Panov’s blog.

Via the contact form.

How to make a simple 1 watt audio amplifier (LM386 based)

via Dangerous Prototypes

schematic7-750x422

A tutorial on making an LM386 audio amplifier circuit from Afrotechmods:

A tutorial on how to use the popular LM386 class AB audio amplifier IC to build a simple mono 1 watt audio amplifier. It costs less than $3 in parts! There is also a brief discussion of how to use high pass filters to prevent op-amp oscillation and subsequent noise.

More info at Afrotechmods tutorial page.

Check out the video after the break.