Learn to Program the Arduino

Learn to write your own sketches for the Arduino in this multi-part course. No previous programming experience is needed.

The Arduino programming course consists of the following parts:

Each new part of the course will be added to his blog post as it becomes available.

 

 

Raspberry PI: Booting more than One Operating System

More than one operating system can be loaded to the same Raspberry PI SD card using the NOOBS installation files. This allows easy experimentation and evaluation with different operating systems.

In the article on booting multiple operating systems, Raspbian, RISC OS Pi and Arch Linux are loaded onto a single 16Mb SD card to show how easy it is to boot multiple operating systems on the RPI.

Unpacking a Atmel SAM4N Xplained Pro Evaluation Board

The Atmel SAM4N Xplained Pro evaluation board contains a ATSAM4N16C microcontroller. The board itself is rather basic with only one user programmable LED and one user programmable push-button switch (the second switch is a reset switch). Pins of the microcontroller are available on headers on the board.

An on-board Embedded Debugger is included on the board, so that no external tools are required to program or debug the ATSAM4N16C.

The video below shows the evaluation board being unpacked.

Some features of the ATSAM4N16C microcontroller are:

  • ARM Cortex-M4 that can run up to 100MHz
  • 3 USARTs and 4 UARTS
  • Real Time Clock (RTC) with calendar and alarm features
  • 10 bit ADC and DAC
  • 1Mb Flash memory
  • 80kb SRAM
  • The usual SPI, TWI, timers, PWM, etc.

The ATSAM4N16C does not contain any USB ports, Ethernet or external bus.

Resources from Atmel

New Raspberry PI Model B+

The Raspberry PI Model B Plus is now available. The first thing to note about the B+ model is that you will need to load your operating system of choice to a micro SD card, so don’t forget to order one if you don’t already have one.

Top view of the Raspberry PI B +

Raspberry PI B Plus

Some of the other major changes are:

  • There are now 4 USB host ports on the board
  • The I/O pin header now has 40 pins instead of 26 pins
  • The new micro SD card socket now latches the card: push the card in to lock it in the socket, push the card again to unlock it
  • The composite RCA socket has been removed

This video shows the new B+ model being unpacked:

Resources

Two Temperature Gauge Arduino Web Server

This two temperature sensor Arduino Ethernet web server uses an Arduino, Ethernet shield and two MCP9700 temperature sensors to measure two temperatures.

The temperatures are displayed on two gauges on the web page hosted by the Arduino web server. The two sensors can be used to measure an inside temperature (e.g. inside a building or room) and an outside temperature (e.g. outside air temperature).