Oct 24, 2013

Minimal Arduino-compatible circuit with ATMega328

(Hack a Day) ... It’s a very, very minimal Arduino-compatible circuit meant to control all the pins on an ATMega328. The components only cost about £1.40 ($2.25 USD) when bought in volume, making it perfect for teaching a class or workshop on the Arduino and giving each student a circuit to take home.

The basic circuit is just an ATMega328 – the same microcontroller used in the Arduino Uno – with a few caps, resistors, and a 16 MHz crystal. It’s a very bare-bones system, but once built and programmed provides all the functionality of a $25 Arduino.

Like all microcontroller platforms, there’s the chicken-and-egg problem of actually programming the device. The Shrimp team is using a CP2102 USB to UART bridge to program each shrimp. Not an inexpensive part, but it is of course possible to only have one serial bridge for each workshop.

Read more:  




Oct 17, 2013

Raspbian, Yocto on Qemu-arm - Raspberry Pi emulation on Linux

Raspberry Pi emulation on Linux
X works fine, ioquake builds, even some applications built generally for ARM11 architecture may work, but don't expect 3D. No OpenGL support, also, although vchiq_test shows like if it's ok, there's no /dev/vchiq present, but if you insist, here's a Qemu fork with OpenGLES support:
or you can try MesaGL as a workaround solution.

So, the actual command line is*:
qemu-system-arm -kernel kernel-qemu -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial stdio -append "root=/dev/sda2" -hda 2013-09-25-wheezy-raspbian.img

You'll need a kernel and an os image, download:
kernel-qemu: http://xecdesign.com/downloads/linux-qemu/kernel-qemu
images: http://www.raspberrypi.org/downloads

Note, root is /dev/sda2 because there's actually 2 partitions in the image, one FAT32 and a Linux, the latter will be our root filesystem. It may work with other distributions, with the Yocto minimal image and the Minibian for sure, change image name accordingly;

Yocto Minimal 12Mb http://www.cnx-software.com/2013/07/05/12mb-minimal-image-for-raspberry-pi-using-the-yocto-project/

Minibian: http://sourceforge.net/projects/minibian/files/2013-10-13-wheezy-minibian.tar.gz/download

also Raspbian Minimal http://plugwash.raspbian.org/images/



Read more:

HOWTO: Virtual Raspbian on Qemu in Ubuntu Linux 12.10 
*with redirected ssh
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=29&t=37386


12MB Minimal Image for Raspberry Pi using the Yocto Project

QEMU – Emulating Raspberry Pi the easy way (Linux or Windows!)
http://xecdesign.com/qemu-emulating-raspberry-pi-the-easy-way/

MINIBIAN: MINImal raspBIAN image for Raspberry Pi
http://minibianpi.wordpress.com/