dinsdag 22 mei 2012

Still some problems

Yesterday we found out that the I2C expanders (PCF8574) could not source the LEDs of the LED matrix. We did some measurements and apparently the output ports of the PCF8574 IC's gave only 70µA as output current which is to low of the LEDs to light up. The LEDs need 20mA. As a solution we drew another PCB to place on top of our original PCB. This new PCB has an LED driver circuit with a transistor for each LED. Below you can see the new PCB.

We also have a problem with our program for the arduino, it seems that using the NFC card reader with SPI and the I/O expanders with I2C work perfect separately but if we combine the 2 programs, only the SPI works and the I2C doesn't work anymore then. We are still trying to find what causes this problem, maybe the arduino is not able to use SPI and I2C at the same time or maybe it's something else, we don't know but we hope we'll find it soon.

maandag 14 mei 2012

finally some progress

Our PCB is made by the LPKF machine, this week we are going to solder all the components on the PCB. The I2C finally works, I found the error, I used B01000000 (8 bit) as address for the I2C but apparently arduino uses the 7 bit address so B0100000 and adds a '0' or '1' (for write or read) by itself. I also noticed that I made a little mistake in the last schematic of the test setup (the LED was reversed). I changed it in the schematic, below you can see the right one.

here you can see the program code I used for this schematic:

Today we are going to finish the pcb gerber files so that our print is made and we can finally start with soldering. Our program in arduino is still not 100% this is probably within the i²c part of the code. To test our program we are using a test setup with 1 i²c, 2 pullup resistors of 4K7 and a led. The schematics of the test setup you can see in a former blog.

donderdag 19 april 2012

test setup

Today we tried the test setup below to see if our I2C communication in collaboration with the NFC reader works. We didn't succeed yet but we are going to try this again the next time.
We are expecting our components and PCB somewhere next week. This week we did some tests of our project, they where somewhat succesfull. We are hoping to start building our PCB next week so we can start programming the arduino in combination with our PCB.

maandag 16 april 2012

Printed Ciruit Board design

Below you can see the result of the PCB design of our project:
Here you can see the basic code we are using for reading the NFC-card:

donderdag 1 maart 2012

Bi-color LED matrix

Because we could not find a RGB LED matrix as I mentioned in my previous message we're now going to use two 5x7 bi-color LED matrices. We chose the TBC20-11EGWA , this is a 5x7 LED matrix with the colors red and green (with yellow/orange as the third color, this is the color you get when both the red and green led are emitting light).
Here you can see the schematic of the 5x7 bi-color LED matrix:
Here you can see the complete schematic of the PCB we are going to make:
As you can see there are some other changes besides another LED matrix, we decided to use three 8-bit I/O expanders (PCF8574) instead of the shiftregisters. These are I/O expanders you can control with I2C. We already used I2C with the arduino uno so that makes it easier for us to write the program later.

Below you can see the schematic for driving one segment, the other one is almost the same except for the hardware addresses of the remote 8-bit I/O expander PCF8574.

donderdag 16 februari 2012

some changes

At first we decided to use a RGB LED strip as application but we changed our minds, now we're going to make an 8x8 RGB LED matrix instead. We found a site were a 8x8 RGB LED matrix was used with an arduino uno board and we are going to that design as a base for our project. This RGB LED matrix design is the one we are going to base our circuit on.

We are have problems for the moment with finding a supplier in Europe who has a RGB LED matrix. It's surprisingly hard to find. We prefer to use the COM-00683 RGB LED matrix.

We are hoping to find an 8x8 RGB LED matrix and otherwise we will have to make it by ourselves with 64 separate RGB LED's. I also drew a schematic of the circuit we are going to use, you can see this here:
A close up of the LED matrix:

woensdag 25 januari 2012

Block diagram

Today we completed our plan of approach, we made some very important decisions and we drew rough a block diagram of our project. I'm going to give a little bit of information below about the parts of this block diagram.


This is a general block diagram of our project. We are going to order different NFC-cards (or RFID-tags). We decided to use the NFC Shield [SLD80453P] as NFC-reader.
Because a NFC-reader circuit is High-Frequency it is difficult to make it yourself because with High-frequency circuits you must take parasitic capacitances into account and you have to have the right frequency and so on.. so we decided to order this PCB and make our own Microcontroller PCB probably with a ATMEGA328 microcontroller like in the arduino-board but that is still an issue.

We were not sure what we were going to do with the RBG LED's, eventually we decided to use a Digital Addressable RGB LED strip.

This Digital Addressable RGB LED strip has LED drivers build in on the strip, this is very useful because if we would make this by ourselves we would have an enormous PCB so we decided to order this as well. The LED drivers they use are the LPD8806 (in the newer versions of this product) and the HL1606 (in the older versions of this product). The color of the RGB LED's are controlled by using PWM.

donderdag 19 januari 2012

Welcome

On this blog we will frequently post updates about our project. We have been assigned to make a project with NFC or Near Field Communication. At first we didn't know what kind of application we would make with NFC but we decided to make something with RGB LED's. The purpose of our project is that the RGB LED's will change color with each different RFID-tag.

Now we are still gathering information by searching the web. More update about our project will be posted soon.