Skip to content

First Post in Embedded System

September 9, 2012

Starting new section in embedded system.

Few days back I ordered Arduino Uno, for some personal hacking related work. I was planning to get from US but finally I purchased from ProtoCentral (Yea I find it cheaper than ordering from US).

Here are the specifications of Arduino Uno:



Operating Voltage


Input Voltage (recommended)


Input Voltage (limits)


Digital I/O Pins

14 (of which 6 provide PWM output)

Analog Input Pins


DC Current per I/O Pin

40 mA

DC Current for 3.3V Pin

50 mA

Flash Memory

32 KB (ATmega328) of which 0.5 KB used by bootloader


2 KB (ATmega328)


1 KB (ATmega328)

Clock Speed

16 MHz


Initially I tried some sample examples from Arduino but later got bored with those blinking demo (Never mind those are useful when you have new platform with you). Well next thing that came in my mind was Flash Memory i.e. 32K and then thought porting FreeRTOS on it.

I have already seen such porting of FreeRTOS so decided to try some other RTOS which is opensource. Finally I landed on ATOMTHREAD ( Though it don’t support many platforms like FreeRtos but AVR port was already available.

There were many tasks in TODO list:

  1. Cleaning AtomTHREAD repo. It has lots of test related code
  2. Porting AVR libraries which I already got from arduino
  3. Changing CPU Frequency and Makefiles changes to support make and upload to board operations.
  4. Writing first single threading app (Yes, this was blinking demo since UART was not tested)
  5. Writing App to test UART with standard libraries like stdio.h (I can use the implementation of such std libs)
  6. Studying timer interrupt and running scheduler. By default scheduler is not running in atomthread.
  7. Writing multithreading app with all kernel features like timer, semaphore and mutex.

I am planning to write detail blog posts on each points above. So Keep reading. 😉


From → Arduino, Atomthread

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: