Archive for April, 2012

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

 

UDP Switch iPhone

Friday, April 13th, 2012

Piece of cake to create a UDP-switch for the iPhone with the new W5100 library for Bascom-AVR.

UDP_switch iPhone

The hardware, Arduino Mega and W5100 Ethernetboard

A freeware UDP-remote APP…

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.

VHF Omnidirectional Range tester

Sunday, April 1st, 2012

VOR, short for VHF Omnidirectional Radio Range, is a type of short-range radio-navigation system for aircrafts, enabling aircrafts to determine their position and stay on course by receiving radio signals transmitted by a network of fixed ground radio beacons, with a receiver unit. it uses radio frequencies in the very high frequency (VHF) band from 108 tot 117.95 Mhz. There are about 3000 VOR stations around the world. When the signal is received in the aircraft, the two 30 Hz signals are detected and then compared to determine the phase angle between them. The phase angle by which the AM signal lags the FM subcarrier signal is equal to the direction from the station to the aircraft, in degrees from local magnetic north, and is called the “radial.” In the pictures: 180 and 90 degrees phase-shifting with two low budget Atmega88’s. The 9960 Khz subcarrier 30 Hertz FM-moduled. The prototype and the reading on a handheld VHF Air band transceiver. For details: http://members.home.nl/bzijlstra
 

Pictures:
Prototype with large characters on 16×2 LCD. Left the encoder to select the bearing. 9960 Khz subcarrier, 30 hertz FM modulated.
227 bearing testfreq.

On the handset

Bearing 227 in detail

9960 Khz subcarrier 30 Hertz fm-modulated

Master / Slave with low-pass filter and VCO
Master / Slave ( 2 x Atmega88 ), two low-pass filters, 4046 VCO. Ready to be connected to the transmitter 108 - 117.95 Mhz. All written in Bascom-AVR.