Articles


How to detect lockups using the Arduino watchdog

Arduino, Tips

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 »

InterfacePanelVignette

Getting Started with the Interface Panel

Interface Panel

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 »

5 tips for Arduino programmers

5 tips for Arduino programs

Arduino, Tips


A few random tips for Arduino programmers. We cover saving RAM by storing text in program memory, making your programs easier to read, a technique to avoid being held up in delays, the C++ ternary operator and the watchdog timer. more »

Arduino User Interface

How to Quickly Make a User Interface to Control Your Arduino Program

Interface Panel

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 »
img_52d8bc85d78cd

How to Update Interface Panel Controls from the Arduino

Arduino MegunoLink Pro Library, Interface Panel

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 »

Building Arudino programs with Visual Studio

Building Arduino Programs with Microsoft Visual Studio


Building Arudino programs with Visual Studio
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.
more »

WakeOnSerialVignette

Its Time for Breakfast: Wake on Serial Message

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 »

Infrared Codes for Common Remotes

This page lists the HEX codes returned by Ken Shirriff’s multiprotocol IR library for some common remote controls. more »

500px-MatlabTutorial

Plotting Logged Data Using Matlab

MegunoLink’s data logging tool can be used to save serial data sent by your Arduino to a text file. Matlab and FreeMat are helpful tools for further processing the stored data. This could be a simple as plotting your results (if you don’t want to use the built-in plotting tool) or a more complex data analysis. more »

4DTestHelloWorld

4D Systems Terminal

This project is a small terminal program that runs on a uLCD-28PT-GFX2 display displaying text sent to it. As text fills the display it scrolls off the top.

more »
« Page 1 »

0 comments on “Articles
2 Pings/Trackbacks for "Articles"
  1. […] MegunoLink team provides you several examples and documentation from where you can learn how to use the tool with the Arduino board, and at […]

  2. […] MegunoLink team provides you several examples and documentation from where you can learn how to use the tool with the Arduino board, and at the […]