OpCUBE project.

Real world programming things.
Last modified August 11th, 2008
[ Announcement ]

Welcome to next phase of OpCUBE Project.

Point to next generation of Programmable material concept and applications..

named "Physical Computing".

Since the first times, 2003 Summer, I'd published MIDE-51 software package on web with ASEM-51 Assemmbler tools for MCS-51 beginner . and support SDCC - C language compiler on year later..

MCS-51 is the good MCU for getting start to learn and use. But now.. we have many microcontroller available on market. Modern chips had much more advantage features than old MCS-51 , e.g. Microchip's PIC / dsPIC, Atmel AVR / AVR32 thru high-end ARM base MCU.

That's developer should to compare on the advantage/disadvantage feature for select the most suitable chip.. may be plan on new design, or solve problem on currently project..

Amoung of them, AVR is most interesting chip now,, modern 8-bit RISC MCU come with I/O performance but in less $ price. Also tons of documents are available on web, since simple D.I.Y. hardware project and example codes.. and many software tools choice since commercial for best code optimization or open-source tools AVR-GCC work with no cost..

With open software tools and non-complex hardware circuit. AVR becomes the value choice for implement "Physical Computing" idea.
Proposal of "physical Computing " is made for interaction of hardware control "the real world" with easy softeware programming.

That's AVR development section added here.. and others MCU may be posted on next the proper time..

Have fun...

Worapoht K. , Bangkok - Thailand on 1st Aug 2008
OpCUBE Moderator
if any comment or suggestion, mail me:
wrp [at] opcube [dot] com

[ OpCUBE : The Action! ]


AVRIDE project group

Take AVR Microcontroller on real things.
Product development since 2006 , Q4

for project

POP! Project - POP-168 board
More simple, More creative.
Copyright 2006-2008, Innovative Experiement (INEX)

  • AVR Microcontroller ATMega168 in MatchBOX size, 24 pin wide DIP socket
  • Running speed 16MHz
  • Built-in RS-232 transceiver
  • On board 10 pin standard In-System Programming Connector
  • Operationg voltage from 3.3 to 5.5 V.
  • Download via Bootloader (STK500V1 Compatible and Arduino software ready)


  • POP-Loader
    Bootloader Utiltity for POP-168


    Support all standard AVR Tools e.g.
      [Open Source]
    • C Language - AVR Studio + WinAVR (Win32 only)
    • C/C++ Eclipse + AVR Plugins + AVR LibC (for Linux and MacOS X), (WINAVR for Win32)
    • Arduino software (Win32, MacOS X and Linux)


    • [Commercial]
    • BASIC / C / Pascal - MikroElektronika
    • ImageCraft C compiler
    • etc..
    more info. POP! Project page

    available on INEX global online shop



    Wiring Board Bootloader V.1 & V.2
      Base on Jason P. Kyle 's stk500boot.c bootloader
      I'd modified to Wiring board (AVR ATMega128)
      V1 support UISP and AVRDUDE
      V2 support AVRDUDE and also STK500 plugin on AVR Studio

    Relate link

    Arduino Project http://www.arduino.cc
    AVR and AVR Studio , Atmel Corporation
    AVR Plugin for Eclipse , on AVR Plugin for Eclipse project
    AVR LibC , C library addon GCC compileron Nongnu.org AVR LibC page
    Eclipse CDT (C/C++ Developement Tool) , Current version 3.4 (Ganymede)
    ImageCraft , C.W. & ImageCraft Creations Inc.
    MikroElektronika compiler , MikroElektronika
    WinAVR , on SourceForge project
    Wiring Project http://www.wiring.org.co
    [ Software development Section ]
    [ Software tools for MCS-51 ]

    For all WIN32 Platform
    Assembler and C Language (single file sytle)

    MIDE-51 Studio: IDE for MCS-51
    Release 0.2.5.11
    (see changed log here..)

    Only editor : Download MIDE51.EXE
    .ZIP file format size: 646KB.

    Self-Executable file setup. Packed with
  • New! ASEM-51 V1.3 MCU file Jul 25, 2008
  • SDCC 2.8.2 (snapshot and document 080729, rip non MCS-51 library)
  • Simulator : TS Control Emulator 8051 v1.0 (evaluation 2KB simulator limited)
  • another simulator: JSIM-51 v4.05


  • Download packed file size: 4,363 KB.

    Reference toolchain
    Assembler ASEM-51 by W.W.Heinz

    C compiler SDCC : Small Device C Compiler

    Simulator : TS Controls 8051 Emulator v1.0 evaluation (Owner : http://www.tscontrols.com was gone)

    Simulator : JSIM-51 Simulator v4.05 by Jens Altmann

    Feature on MIDE-51
  • Syntax highlighter on ASEM-51 reserved word & addition register on selected device (devices listed on ASEM51/MCU folder)

  • Syntax highlighter on SDCC reserved word & MCS-51 standard register

  • Support multi document workspace

  • Support standard editor feature and shortcut key such as Cut , Copy, Paste, Find, Replace and Windows tile & cascade

  • Editor font style and size selectable

  • Save recent file(s) opened in list

  • Shortcut to ASEM-51 html manual

  • Shortcut to SDCC html & PDF manual (search file on SDCC/DOC)

  • Report assembler & compiler message

  • Support drag and drop file from explorer.

  • Automatic save last windows position.

  • Support wheel mouse

  • Bookmark code position upto 10

  • Show/Hide line number on editor




  • For all Platform
    Eclipse with SDCC (Multiple sources project style solution)

    Need software in list

    Win32 Get all others software and unpack/install to your harddrive
  • Install Java runtime first
  • Unpack Eclipse to harddrive i.e. C:\Eclipse and made Shortcut on desktop
  • Unpack EclipseSDCC on Eclipse folder (both feature and plugin)
  • Finally, Setup SDCC Package with installer (for automatic PATH setting)


  • Linux Ubuntu : get Synaptic update first (root privilege need)
    search "sdcc" package match to your Ubuntu at http://packages.ubuntu.com/
  • sun-java6-jre
  • sdcc
  • sdcc-libraries
  • sdcc-doc
  • and others package may needed by sdcc binary


  • Online update on console
  • sudo apt-get install sun-java6-jre
  • sudo apt-get install sdcc
  • sudo apt-get install sdcc-libraries
  • sudo apt-get install sdcc-doc


  • after install, get most updated package (Snapshot) on http://sdcc.sourceforgt.net and overwrite previous install.

    Snapshot (click for larger size)



    Creative Commons License Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-ShareAlike 3.0 License.