Clouded

Just moved to the Amazon EC2 Cloud. Yippie! AND I’m running the RDS service for the back end database. Sweetness. There is definitely something to be said about hosting with Amazon. Sure you’re still using Linux “machines” now called “instances” but the control and speed of it all is just amazing.

Microcontrollers, Embedded Systems and Single Board Computers

Many different terms are used for the devices that run our small computing projects. In addition there are lots of different hardware/software platforms. Many are pin compatible, similar in size and function and can achieve the same result in different ways.

Here are some of the common terms:

Microcontroller
A microcontroller is a small computer built into a single chip. This chip contains the processor, RAM, EPROM and I/O pins. These generally are designed for executing I/O and small computational functions.

The Arduino is not just a microcontroller. It’s a platform that includes a microcontroller. Usually an ATMega chip. An Arduino also includes other chips and components to make it easy to communicate with, program and prototype with.

Embedded Systems
Embedded systems are also small computers all on one chip (also called SoC for System On a Chip). These are generally more powerful (32 bit as opposed to 8 or 16 bit CPUs on microcontrollers) than a microcontroller and can run full operating systems like Linux or Windows. They too have other chips for communication and I/O and offer programming in higher level languages supported by the operating system. The Raspberry Pi is considered an embedded system but also falls under the next classification. Embedded Systems are also found in many consumer electronics like MP3 players and cell phones. In these cases they aren’t for prototyping or user programming but their features are very similar. iPhone and Android phones/tablets also use SoCs extensively.

Single Board Computer
A single board computer is an Embedded System with ALL the bells and whistles on a small board. This usually includes USB, Ethernet, Video, GPIO, Storage and possibly expandable memory. The Raspberry Pi is definitely a single board computer. It also has prototyping components like most microcontroller platforms. It’s a powerful fully featured system.

 

Permissions Required To Delete

Windows 7 can be a serious pain in the ass when deleting files. This may help:

  1. Take ownership of the file(s). Start a Command Prompt (cmd) as an administrator in the affected folder, and enter:
    takeown /f file takeown /f directory /r 
  2. Give yourself full rights on the file:
    cacls file /G username:F 

cacls can be used with wildcards and directory traversal: Security from the command line with CACLS.