Archive for the 'Microcontrollers' Category

Build Your Own ARM Cross Compiler Toolchain - Revision

Refer to my article which I failed to compile the GNU ARM toolchain on Ubuntu. Now the problem was resolved by one of our member in the forums (please see the full post here). He created an automatic script called GNU ARM Installer (download gnu-arm-installer.tar.gz here). You can build the cross compiler for ARM [...]

Piklab IDE for PIC and dsPIC microcontrollers

Piklab is an integrated development environment for applications based on Microchip PIC and dsPIC microcontrollers similar to the MPLAB environment. Support for several compiler and assembler toolchains, programmers, debuggers and simulators is integrated. A command-line programmer and debugger is also available.

Piklab home: http://piklab.sourceforge.net/

Eclipse for SDCC

Although I use MIDE-51 as a major IDE, I still seek for the best (free) IDE for developing Microcontroller Programming. The combination of Eclipse, CDT and SDCC is an alternation tools for 8051 Microcontroller C Programming.
Eclipse is an open source community whose projects are focused on building an open development platform comprised of [...]

A Real-Time Operating System (RTOS) for the 8051

A real-time operating system (RTOS) is a class of operating system intended for real-time applications, including embedded systems (programmable thermostats, household appliance controllers, mobile telephones), industrial robots, spacecraft, industrial control (see SCADA), and scientific research equipment [wikipedia]. It is an advance topic in Microcontroller and Embedded Systems.
FreeRTOS.orgTM is a portable, open source, mini Real Time [...]

A Simulator for P89V51RD2

The Philips’ P89V51RD2 is a 80c51 microcontroller which provides a set of powerful features:

Timer/Counter 2
PCA (Programmable Counter Array)
Watchdog timer

uCsim, the 8051 simulator for SDCC, supports various types of 8051 family and one of them is 89C51R. I think it close to the features of P89V51RD2 microcontroller as mentioned above.
To use, [...]

Installing SDCC on Fedora Core 6

I have upgraded my Linux to the latest version Fedora Core 6. This version come with linux kernel 2.6.18 and gcc v4.1.1. I don’t hesitate to install the SDCC to work on it. After I downloaded the latest of SDCC [...]

uCsim: the 8051 simulator for SDCC

uCsim is a microcontroller simulator for SDCC. It is free and opensource under GNU GPL. Currently it supports MCS51 family. AVR core, Z80, HC08 and XA are supported by UNIX version only.
For the 8051, the recognized types are: 51, 8051, 8751, C51, 80C51, 87C51, 31, 8031, C31, 80C31, 52, 8052, 8752, C52, [...]

Migrating from demo compilers to SDCC

I found these tips from SDCC manual pages and though that it should be useful. If you would like to migrate from a demo C Compiler with the limitation of code size, such as Keil C51 and Raisonance RIDE-51, to SDCC, please consider to port your present code to SDCC by following these instructions.

check whether [...]

Distance Measurement Sensor

GP2Y0A21YK is General Purpose Type Distance Measuring Sensors from Sharp. (see the product page). Sharp Infrared (IR) radiation Distance Measuring Sensor use Infrared signal to measure object distance from 10 to 80 cm with analog output.
Features

Less influence on the color of reflective objects, reflectivity
Line-up of distance output/distance judgement type
Distance output type (analog voltage) : [...]

Servo Motor Control

Servos
Servos are DC motors with built in gearing and feedback control loop circuitry. And no motor drivers required. They are extremely popular with robot, RC plane, and RC boat builders. Most servo motors can rotate about 90 to 180 degrees. Some rotate through a full 360 degrees or more.
However, servos are unable to [...]