CuHead Pro WiFi/Ethernet Shield with AirPlay/DLNA Audio for Arduino

From LinkSprite Playgound
Revision as of 08:55, 30 July 2013 by Jingfeng (talk | contribs) (Audio Push)
Jump to: navigation, search

Description

What is CuHead Pro WiFi/Ethernet Shield with AirPlay/DLNA Audino for Arduino? It is a WiFi Shield, it is an Ethernet Shield, it accepts audio pushed from iphone, iPad, Andrid phone or pad Wirelessly.


Cuhead pro 0.jpg

Cuhead pro 1.jpg

Cuhead pro 2.jpg


Interface

Lets explain the interfaces:

  • USB host is reserved. It is for firmware updated in the future so that USB webcam can be used.
  • Ethernet RJ45 port. It is used for Ethernet communication where there is no WiFi signal, or where the WiFi Signal is bad.
  • Audio jack. It accepts any three segments audio jack.
  • J7 is the header used to choose which pins of Arduino are used to communicate with CuHead Pro. CuHead Pro can communicate with Arduino transparently through the UART interface. Please don't use D0 and D1. This is because that the hardware UART on Arduino TX/RD are pulled low during power up, and unfortunately CuHead pro will check its UART too during power up. If its pulled low, it will not start. So we can only use software serial port of Arduino to communicate with CuHead Pro.

Audio Push

First, lets look at interesting application. We are going to push music from iPhone to CuHead pro.

Lets make sure that J7 is configured so that pins 6 and pins 7 are installed as following:


Cuhead pro iphone 1.jpg

Install CuHead Pro on Arduino, and Arduino is connected to PC through USB connection. Yes. PC's USB can supply current for CuHead Pro.

When powered up, we can see four green LEDs of WiFi module turned on.

Cuhead pro iphone 2.JPG

After several seconds, there are only two LEDs still on, and they are steady on.