Sensors_Socket_Processing

by Vellamy



Overview

The project presented here it is a TCP/IP socket system between an Arduino Ethernet Shield and a program running in a laptop elaborated by Processing. To demonstrate a total communication between the client and the server of the TCP/IP socket, I’ve designed a program in which the data sensors are represented in the screen and when a button is pushed, the client or the server respond with a light.

The analog signals captured by Arduino are the signal of a potentiometer, a temperature sensor, a humidity air sensor and a soil moisture sensor. Furthermore, I’ve connected to Arduino three buttons in the digital inputs and three led in the digital outputs. On one hand, the information of the sensors is represented by Processing. When a button is pressed, the lamp of the Processing program changes his color. One button is for the red color, other for the yellow color and another for the green color. On the other hand, there are three buttons in the Processing Program. If you press one of them, you switch on a led for a second on the Sensor Shield.

Materials Component name(figures)

  • Arduino Uno and USB wire (1)
  • Arduino Ethernet Shield (1)
  • Ethernet Cat.5 Crosswire (1)
  • Humidity Sensor. 808H5V5 (1)
  • Potentiometer.10k Ohm (1)
  • Temperature Sensor. MCP9700A (1)
  • Soil Moisture Sensor (1)
  • Buttons (3)
  • Res.: 330 Ohm(3), 10k ohm(3)
  • leds: Red(1), Yellow(1), Green(1)

Learn More

Goto Original


TAG : Arduino, Ethernet, Sensor, W5100, Temperature, Humidity, Potentionmeter, Sensing&Gathering

저작자 표시 동일 조건 변경 허락
신고
블로그 이미지

밤소 MidnightCow

위즈네트 칩(W5300, W5200, W7100, W7500) 개발자

SparkFun Ethernet Shield Quickstart Guide

by Jimb0



Overview

In this tutorial, we’ll cover how to get up and running with the SparkFun Ethernet Shield. Requirements, hardware, assembly, and programming will all be covered. Follow along, and your Arduino should be skimming Twitter and hosting webpages in no time!

Requirements:

  • Headers (and soldering tools)
  • An Ethernet cable
  • µSD Card (optional)
  • Arduino Development Board
  • Arduino Software

Hardware

  • The SparkFun Ethernet Shield is comprised of two stand-out components - a Wiznet W5100 TCP/IP embedded Ethernet controller and a µSD socket.

    • The W5100 is a powerful little chip, which implements all sorts of complex network protocols - TCP, UDP, ICMP, IPv4, ARP, IGMP, PPPoE, and the physcial Ethernet layer. This alleviates a lot of programming stress on us and memory stress on the Arduino. All of the communication between the W5100 and the Arduino is SPI-based and handled using the Ethernet library, which we’ll discuss in the firmware section below.

    • The W5100 is supported by a number of components - capacitors, a crystal, reset monitors - but most especially an Ethernet jack, actually a MagJack. Inside that little RJ-45 jack are a number of transformers and magnetics required for isolating Ethernet signals (you could say this jack is…more than meets the eye). There are even some LEDs poking out the end.

  • The µSD socket extends near the edge of the shield, where the card should be inserted. The socket sits next to a 74HC4050 (high-to-low level shifter), which handles all of the 5V-to-3.3V voltage shifting (those delicate µSD cards shouldn’t be subjected to 5V signals).

  • Some of the less spectacular components (don’t tell them I said that) on the Ethernet Shield include a reset button, 3.3V regulator, and a number of blinky LEDs. The reset button works just like the one the Arduino itself, though it’ll also reset the W5100. The LEDs include a power indicator LED, as well as a number of status LEDs (Ethernet receive/transmit, collision, and speed) tied to the W5100, which will appear to have a mind of their own.

Learn More

Goto Original


 

 

저작자 표시 동일 조건 변경 허락
신고
블로그 이미지

밤소 MidnightCow

위즈네트 칩(W5300, W5200, W7100, W7500) 개발자

Teleduino

by Teleduino



Overview

Teleduino converts your ethernet enabled Arduino into a powerful and versatile tool for interacting with devices over the internet. Not only that, but it makes it quick and easy.

Teleduino is now available for the Arduino Mega range of boards!

Once your Teleduino is configured, it automatically connects itself to the Teleduino server when powered on. The Teleduino server translates instructions received from the internet into actions on the Teleduino device.

Using the Teleduino platform, you can perform the following tasks with your Arduino via the simple web service:

  • Reset, ping, get uptime, get free memory.
  • Define pin modes, set digital outputs, set analog outputs, read digital inputs, read analog inputs, or read all inputs with a single API call.
  • Define up to 2 ‘banks’ (4 for the Mega) of shift registers. Each ‘bank’ can contain up to 32 cascaded shift registers, giving a total of 512 digital outputs (1024 for the Mega).
  • Shift register outputs can be set, or merged, and expire times can be set on merges (you could set an output(s) high for X number of milliseconds).
  • Define, and read and write from serial port (4 for the Mega).
  • Read and write from EEPROM.
  • Define and position up to 6 servos (48 for the Mega).
  • Interface with I2C (TWI) sensors and devices.
  • Set preset values for the above functions, which get set during boot. Preset values are stored in the first 178 bytes of the EEPROM (413 for the Mega).

Documentation

Learn More

Goto Original


 

저작자 표시 동일 조건 변경 허락
신고
블로그 이미지

밤소 MidnightCow

위즈네트 칩(W5300, W5200, W7100, W7500) 개발자