Archive for the 'Embedded Ethernet' Category

POP3 checker - W5200

Sunday, May 6th, 2012

With the new Bascom-AVR library for the W5200, I rewrote my POP3 email checker. Works great. Easy to get a TCP or UDP program running with these new libraries.

 

Hardware is an Arduino Mega, a W5200 ethernetshield and my own LCD-board.

W5200 Bascom-AVR SNTP

Sunday, May 6th, 2012

Arduino Mega, W5200 shield and my own LCD board. Another example that the Wiznet routines of the new Bascom-AVR are working. A SNTP-network clock. And further some nice display routines to get large characters.

Arduino Nano with ethernet…

Saturday, April 28th, 2012

Today with the post, an Arduino Nano with W5100 ethernetchip and micro-sd-card. Compatible with the big Arduino and W5100 ethernetshield, so the Ethernet examples for the Arduino are working right out of the box.

From www.gravitech.us

 

SD-Card on WIZ200WEB-EVB

Sunday, September 12th, 2010

512 Mbyte SD-card connected to the WIZ200WEB. Works great. On it 2 FLV-films of 5 Mbyte and a Flash SWF-file of 183 Kbyte. Works perfectly. A subdirectory with a htaccess-file and it is prompting for a username:password when you want to access it through the Internet.

P8230107.JPG

SNMP hardware

Monday, July 5th, 2010

Here a picture of the SNMP hardware. The Red Bokito with Atmega168 and Wiz810MJ. As shown on ElektorLive november 2009. On the left the small PCB (size of an Euro) with I2c-temperature-sensor LM75. The Wiz810MJ is receiving an UDP-string on port 161 from Cacti. Waits for the OID 1.3.6.1.4.1.318.1.1.2.1.1.0 that is the (APC) MIB for degrees Celcius. And sends a UDP string with all information back. Still have to find a nice humidity sensor (I2c) on 3.3 volts.
And here the big trick… My receive buffer starts at &H6000. My transmit buffer starts at &H4000. Everytime I issue a Call Wiz5100_writevalue(W5100_s0_mr, Sn_mr_udp) the read and write pointers are put back on their begin so the SNMP string I receive can every time be found on exact the same location in the receive-buffer and I can reply with an UDP-string at exact the same spot in the transmit buffer. Will show that later on in the Wiz810MJ-tutorial. A feature I stumbled on while writing software for a TCP/IP-based security system. Great stuff those Wiznet modules….

TEMP_UFOx.jpg

RED_SNMP.JPG

Cacti, SNMP, Bascom-AVR and Wiznet

Saturday, July 3rd, 2010

Got SNMP running on the Red Bokito. Have a PC running with Cacti and made a template for a temperaturesensor on the Red Bokito. And the Red Bokito is responding to the SNMP GETs from Cacti. SNMP version 1.0, port 161, communitystring public. See picture. Just a single MIB is collected, but planning to add a humidity sensor and incorporate this in the same graphics.

SNMP_W5100.JPG

Writing W7100-dataflash

Wednesday, April 7th, 2010

Took me some time, but now I got it. Writing an array of 256 bytes to the W7100 dataflash. The bootrom of the W7100 is used, but now I am checking if I can put this code into a 8051-library. Now I have fully ‘cracked’ the W7100. Can do all with Bascom-8051. The only thing that is not working are strings in XRAM.

dataflash.jpg

Bootrom W7100

Sunday, April 4th, 2010

Reading and writing the Data Flash of the W7100 is still a complete mistery to me. Jumps to routines in a Bootrom-section, well I want to know what is going on. Bascom-8051 has the option to have the ROM start at &H0800. So a $ROMSTART = &H0800 in my program did the trick, when in the WCONF-register, bit 6 is put to a 0, the bootrom is put from &H0000-&07FF and with a CPEEK from the Bascom-8051-program I can have a look in this bootloader. You also can put WCONF.7 to 0 and your board wouldn’t reboot after this operation.
Used some shareware utilties to get some readable assembly-code.
First of all XVI32 to load the info from the W7100-output to get a real BIN-file. Second used BIN2HEX to convert the BIN-file to a HEX-file. And at last load this HEX-file in Edsim51, a 8051 simulator. In the pictures the output from Bascom-8051 to a Hyperterminal screen. And the other picture is the output from EDSIM51, a 8051 simulator.

bootrom.JPG

edsim51.jpg

Add-on iMCU7100EVB

Friday, February 12th, 2010

This is the design of an add-on board for the iMCU7100EVB-board. It puts the LCD on a proper spot above the board and adds a RFM12BP module and a few switches. There is also an extra powerplug for the Power Amplifier of the RFM12BP. Working on the Bascom-8051 code for the W7100 to create a wireless connection. The RFM12BP is capable of generating 500 mW. FSK.
BTW, have seen it with my own eyes…. Mark Alberts is working with the W7100 as well!!!

w7100_opzet.jpg

First series of W7100 arrived…

Monday, February 8th, 2010

The first series of single W7100 have arrived. Building a spectacular application with it. Just wait and see…. It is a pity that we have to pay so much for just shipping and handling.

P1190135.jpg