Archive for the 'Uncategorized' Category

Beta-test W5100 Bascom-AVR library

Sunday, April 8th, 2012

Beta-testing Bascom-AVR W5100 library

Beta-testing W5100 lib

The W5100 is the successor of the W3100A. It is an improved chip without shadow registers. This means that less code is required to use the chip. Because the W5100 has different constants than the W3100A, the constants are removed from the Bascom-AVR samples. The constants are automatically created with a value depending on the chip you use.The W5100 library is almost the same as the W3100 library. But there are some differences.- The peersize, peerport and peeraddress have a different order then the W5100. To avoid mistakes, the compiler will create these variables automatic in the proper order.

- When reading UDP, you need to use the UDPREADHEADER statement to read the UDP header. After reading the header, the peersize, peerport and peeraddress variables are set. You then should use the peersize variable to determine the number of bytes to retrieve.

- The W5100 has a command to disconnect the socket in TCP/IP mode. It is named SOCKETDISCONNECT.

- The closesocket statement has been renamed into SOCKETCLOSE. You can use both names.

ARM DSO Nano

Friday, August 19th, 2011

This is great. An Arm DSO Nano. Received it, played with it for a few days and upgraded it to the BenF 3.62 software. Saved an image of a Arduino Nano PWM signal to the on-board micro-SD card.

15df37.JPG

15df46.PNG

ARM_DSO_Nano_2.jpg

IMAGE002.jpg

WIZSmartScript

Wednesday, August 17th, 2011

First steps connecting the wireless module WIZFI210 from Wiznet to my network. Same trick as with the WIZ610wi, creating scripts in TeraTerm. Works very well. Some small questions still so I am going to contact Wiznet support.. My Sitecom Access Point expects a WEP key of 13 ASCII characters, but I can only send 10 ASCII characters, must go over the datasheet again.
Surfing the Internet showed me a WizSmartScript program and got a link from Wiznet to download program, scripts and tools. Will put a link on my homepage, because I am allowed to distribute it. Here a picture of the WizSmartScript program. Very handy.

wizsmartscript.jpg

Happy 2011

Friday, December 31st, 2010

happy_2011.jpg

Merry Xmas

Saturday, December 18th, 2010

xmas.jpg

LPCXpresso LPC1114

Saturday, November 20th, 2010

Won on ElektorLive, a LPCXpresso with LPC1114.

pg_10a1.jpg

mBeduino + servo

Sunday, November 14th, 2010

With the www.ge-th.com version 4 I/O board.

mbed_servo.jpg

mBeduino, LCD, Ethernet, SD-card running…

Saturday, November 13th, 2010

//works on the mbeduino…

#include “mbed.h”
#include “TextLCD.h”
#include “SDFileSystem.h”

TextLCD lcd(p12, p26, p24, p30, p22, p23, p11);
//           rs, rw,  e,   d0,  d1,  d2,  d3
SDFileSystem sd(p5, p6, p7, p8, “sd”); //p8 is the SD-card select

DigitalOut lcd_blanc(p25); //LCD_Blanc

int main() {

    lcd_blanc = 1;
    lcd.printf(”Bens HobbyCorner”);
    lcd.locate(0, 1);

    FILE *fp = fopen(”/sd/foo.txt”, “w”);
    if(fp == NULL) {
        error(”Could not open file for write\n”);
    }
    fprintf(fp, “Hello SD Card World!!”);
    fclose(fp);

    lcd.printf(”Sayonara World!!”);
}

On to the next contest…

Monday, October 4th, 2010

Got my NXP box with the LPC1768. Looks like the big brother of the Arduino Nano 3.0.

NXP1.jpg

NXP2.jpg

Windows Phone 7 test

Saturday, June 12th, 2010

Been to a seminar on the new Windows Phone 7. Looks very nice. Downloaded Microsoft Windows Phone Developer Tools to get Silverlight, XNA Games Studio, Visual Studio 2010 Express, Windows Phone Developer resources etc. etc. And started developing. Have to download Blend yet. A real phone will be out around Xmas… Can’t wait…

Phone72.jpg