If an Arduino program crashes in the forest, will it make a sound? Unfortunately not. No blue screen of death, nor jarring squawk will alert you to the program’s doom. It will typically just quietly and unobtrusively stop running whatever robot, keypad or front door it is supposed to be looking after. In this article, I’ll show you how to use the watchdog timer to help track down the bug causing the lockup. more »
MegunoLink Pro’s Interface Panel visualiser lets you create custom user interfaces with elements like buttons, textboxes, number boxes, and many others. Each element can be used to construct a serial message that gets sent to your device when instructed to do so. For example when a button is pressed a number can be taken from a numeric up down control, and sent over the serial connection to your device. You can see an AC Temperature Controller example on MegunoLink’s start page. Here we used our Interface Panel to set the current target temperature, adjust the hysteresis, and change operating modes. more »
Most Arduino programs have a few settings that you’d like to change from time to time: a set-point temperature, the data transmission rate, radio transmission power, … MegunoLink Pro’s Interface Panel was created to control microcontroller programs using serial commands and information entered into common controls such as buttons, check boxes and sliders.more »
MegunoLink Pro lets you quickly build custom user Interface Panels to control Arduino programs and other embedded software. Values in controls on an Interface Panel can be updated by sending serial commands from the Arduino to MegunoLink Pro. more »
After using a GNUMake script based on work by Martin Atelier for building a couple of large Arduino programs, I decided to have a go at using MSBuild, the native tool for Microsoft Visual Studio 2012. Martin’s script has been fantastic, but GNUMake can be a little belligerent on Windows. So here is the first alpha version of a tool to use Visual Studio’s native build tool for creating Arduino programs.
Putting your Arduino to sleep can save a lot of power, but makes it harder to respond to serial commands. The Arduino does not receive serial messages when it is asleep. So, even if the micro wakes every few seconds to read a sensor, you have to time the serial message just right so that the Arduino is not asleep when the message arrives. more »