Archive for the ‘Guides’ Category

FEZ Panda & PS3 Controller

NB: The newest source code can now be found at github.

As Thomas origanally posted, the FEZ Panda can actually be used as a USB-Host: Fez Panda And USB Host. I have for long time wanted to use my PS3 DualShock 3 controllers for something useful (besides playing Playstation of course), therefore I thought it would be interesting to connect it to the FEZ Panda.

PS3 DualShock 3 Controller

Read more…

Categories: ARM, Guides, USB Tags:

Guide: How to use an Arduino as an In System Programmer (ISP)

I recently bought the “Graphic LCD Serial Backpack” from Sparkfun. When reading the comments for the product. I discovered that a user named “SummoningDark”, had made a new improved firmware. A lot of people asked Sparkfun to change the official firmware with the new one, so i decided to check it out. The problem were that I do not own a programmer, so at first I thought that I had to buy one. But after some googling I found out that the Arduino could actually be used as an In System Programmer (ISP).
After a lot of work I finally got it working and it has really improved the perfomance of the screen. The speed is much higher (SummoningDark says 10 times) and there are no more bugs (with the old firmware the screen would suddenly write the text or a line a odd place).

I will now try to explain as best as I can, how to upload the new firmware.

NB: You can also use this guide if you need a different bootloader or another hex file on any AVR. This is just meant as an example.
Read more…

Categories: Arduino, Guides Tags:

NXT Motor Shield

The NXT Shield is for sale in our shop: A easy to use library is also provided:
Three examples that demonstrates reading the encoders, turning the motors and using the ultrasonic sensor is found in the library as well:

More pictures of the NXT Shield can be found at the following blog post:

The shield mounted on a Arduino

Hallo everybody

I recently made a NXT motor shield for my arduino. It can control two NXT motors and also read the onboard encoders. In true Arduino spirit I decided to share it with the rest of the community. But first i will talk about how everything works, and then show the finished shield including a short video demonstration.
Read more…

Categories: Arduino, Development boards, Guides Tags:

Video Guide: How to get started with Xilinx ISE and VHDL

I posted this video guide on Youtube a couple of days ago, though I wanted to announce it in here too.

In this video tutorial I guide you thru how to make a counter application for the Basys2 board, which is an FPGA board from Digilent to those who are unfamiliar with it.
I will show you the required steps of setting up a project in Xilinx ISE, writing the VHDL code for the counter application, writing the pin constraints file (.UCF) and finally generating the bit-file for the Basys2 board.

This video tutorial was actually requested by a reader of the blog, so with this being my first video tutorial, I would like to show you that comments and requests ARE HEARD! :-)

The Xilinx ISE project files for the tutorial can be downloaded here:

Categories: FPGA, Guides Tags:

Guide: Gyro and Accelerometer Kalman filtering, with the Arduino

Hello again everybody.
Today I agreed with my fellow classmate and team member, Kristian Lauszus, to post his guide to Kalman filtering, using the Arduino with a Gyro and Accelerometer, on my blog. So here it is, and I think it will be usefull for your guys.
Questions can be asked in the Arduino forum where the Guide was originally posted:

I recently bought this analog 6DOF (six degrees of freedom) IMU board ( from It uses three gyros and three accelerometers to calculate angles in three dimensions.

6DOF Sparkfun Board

Read more…

Categories: Arduino, Guides Tags:

Porting the LatticeMico32 to a Xilinx FPGA

I finally finished my work getting the LatticeMico32 ported to a Xilinx FPGA, namely the Spartan 6. I’ve used the ZTEX FPGA Module for development, as it contains a Spartan 6 XC6SLX25 – I wrote a short review about it here:

I wrote a guide about how to port the LatticeMico32 to a Xilinx FPGA, including the C-code programming stage in the Lattice system. You can download the guide here:

The LatticeMico32 is an open source soft core processor provided by Lattice. The Lattice system makes a complete set of Verilog files, which can be ported to any FPGA. I decided to port it to the Xilinx series.

The example in the guide just blinks some LEDs, but it is not just LED blinking made with Verilog or VHDL coding, it’s made with C-coding inside an Eclipse enviroment, then compiled to the LatticeMico32. In the video above I show my first example and experience with the LM32 on the Spartan 6 FPGA.

The project files used in the video above can be downloaded here:
But please note that I recommend following the guide first, instead of just downloading the project files. The project files can then be used as a reference, to check if you did it correctly!

Review/Guide: ZTEX Spartan 6 module

A couple of weeks ago I recieved a Spartan 6 module from ZTEX. In this blog post I will be reviewing this excellent FPGA board.

ZTEX Spartan 6 module

The ZTEX USB FPGA Module 1.11 contains not only the Spartan 6 FPGA. It contains:

  • Cypress CY7C68013A EZ-USB-Microcontroller
  • Xilinx Spartan 6 XC6SLX9 to XC6SLX25 FPGA (I’ve got the XC6SLX25)
  • 64 MByte DDR SDRAM
  • MicroSD socket
  • 128 Kbit EEPROM memory
  • 48MHz Clock for the FPGA (going out from the Cypress)

Read more…

Categories: FPGA, Guides, Reviews Tags: