SMTPClient updating this weblog at Sun Nov 28 21:10:49 2010
Sunday, November 28th, 2010This weblog entry has been updated by the SMTPClient of the mBed
This weblog entry has been updated by the SMTPClient of the mBed
Well, got it working. An Arduino Ethernet Shield with a W5100. Without any modification to the hardware (also the INT not connected). Got to get used to that .NET Framework. Some strange things are happening. When a compile fails, the last good compile is put in the Netduino. So I made a blink-example, and after that a Ethernet example, but that didn’t compile well, so the blink-example kept beeing uploaded to the board. Will have to do a very good study of the C language that is used. Now several shields are working. LCD-keypad shield, Servo-shield and now the Wiznet ethernet shield.
Nice combination if you get started with the mBed.


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

mBeduino Tweeting. And using the LCD Keypad Shield. I see different TextLCD.h files, there are .h-files with the R/W for the LCD used, and there are .h- files where no R/W is used, so you must skip that entry in the configuration of the LCD.


//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!!”);
}
mBeduino with Arduino LCD Keypad Shield…


This is the mBeduino. A baseboard for the mBed with RJ45, USB, power, SD-card, CAN-driver, EEPROM (I2c) and Goldcap. Bought one in Japan, it arrived as a DIY-packet. Took me half an hour to put all parts on it. It has also sockets for Arduino Shields. Got a working HTTPserver running at the moment. On one of the pictures the mBeduino with a LCD Keypad Shield from DFRobot.



