Managing the thermocouple MAX31855

Managing the thermocouple MAX31855

This product can be bought at our shop as: Thermocouple MAX31855 Thermocouples are a common form of temperature measurement devices that are widely used in industrial applications. Achieving high system accuracy from thermocouple measurements can be difficult because there are many sources of error within a given system. Using an integrated analog front-end + ADC…

Read More Tags: , , , , ,

Cosino’s u-boot bootloader

Cosino’s u-boot bootloader

If you need to recompile Cosino’s u-boot bootloader you have to clone u-boot repository on our GitHub page. You can use command:

then setup your cross compiler (on my Ubuntu I used package gcc-arm-linux-gnueabi):

At this point you can cross compile the bootloader by using:

This command configures u-boot in order to…

Read More Tags: , , , , , , ,

Cosino’s at91bootstrap pre-bootloader

Cosino’s at91bootstrap pre-bootloader

If you need to recompile Cosino‘s at91bootstrap pre-bootloader you have to clone at91bootstrap repository on our GitHub page. You can use command:

then setup your cross compiler (on my Ubuntu I used package gcc-arm-linux-gnueabi):

At this point you can cross compile the bootloader by using:

This command configures at91bootstrap in order to…

Read More Tags: , , , , , ,

Getting access to Mega 2560 serial port from Linux serial console

Getting access to Mega 2560 serial port from Linux serial console

If you have a ready-to-run Arduino Mega 2560 application that is managed by an external program running on a PC and you wish using it on Cosino’s Mega 2560 extension you may wish get access to the standard Arduino serial port… of course you can do it by getting access to Cosino’s /dev/ttyS3 device but,…

Read More Tags: , , , , , , ,

Managing the Mega 2560 peripherals by MODBUS protocol

Managing the Mega 2560 peripherals by MODBUS protocol

As shown in this article you can interact with the Mega 2560 CPU on your Cosino Mega 2560 board by using a control terminal with several text commands, however, as stated at the end of the article, this behaviour in quite inefficient so a better way must be used for production environment! A possible solution…

Read More Tags: , , , , , , , ,

Mega 2560 control terminal

Mega 2560 control terminal

In most cases having a simple and quick access to the system GPIOs, ADCs and other ports is useful, here I’m going to show to you how to implement a simple control terminal for the on-board CPU of Cosino’s Mega 2560 extension. In this example I’m going to use simple commands from the command line as…

Read More Tags: , , , , , , , ,

Building Mega 2560 applications from the command line

Building Mega 2560 applications from the command line

Most of Arduino programmers well know the Arduino's GUI where they usually build their applications, but exists another way to build Arduino applications: directly from the command line with little help from other tools! Let's see how!  Note: Programmers whose love managing their programs from the command line may enjoy this little tutorial :-] First…

Read More Tags: , , , , , , , ,

Running a lightweight HTTP web server with PHP

Running a lightweight HTTP web server with PHP

Debian OS have several web servers ready to install (Apache as the main reference) but if you wish a low memory footprint and an easy configuration task the best choice is definitely lighttpd! On Cosino, with a Debian OS pre installed, adding lighttpd with PHP support is quite an easy task. To install the WEB…

Read More Tags: , , , , , , , ,

Accessing the serial console

Accessing the serial console

Here you can find some suggestions about how to get access to the Cosino’s serial console from an external host computer. Please note that to get access to the serial console you need a type-B miscro USB cable connected to the proper serial console port on your Cosino’s extension. GNU/Linux host On my Ubuntu 13.04…

Read More Tags: , , , , , ,