element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Cypress Kits
  • Products
  • Dev Tools
  • Cypress Kits
  • More
  • Cancel
Cypress Kits
Forum PSoC 4 Pioneer Kit Community Project#028 – “WiFi? Why Not!” Arduino WiFi Shield Example
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Cypress Kits to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 2 replies
  • Subscribers 26 subscribers
  • Views 747 views
  • Users 0 members are here
  • 100projects
Related

PSoC 4 Pioneer Kit Community Project#028 – “WiFi? Why Not!” Arduino WiFi Shield Example

cy.wbz
cy.wbz over 12 years ago

Hello!

 

We are upping the complexity of the examples with today’s example using the Arduino WiFi shield. The Pioneer kit uses the WiFi shield to create a webserver with AJAX-like capabilities. If you connect to the kit using a web browser (PC or Phone) you will be able to control the LED brightness. You will be able to do this without reloading the web page.

  • CY8CKit-042 BUY NOW!BUY NOW!
  • Arduino WiFi Shield  BUY NOW!BUY NOW!

 

image

 

Forum Post Attachments:

 

At the bottom of this post we are including the following items:

  • Example Project Zip File
  • Zip File of Images
    • Project Schematic
    • Component Configurations

 

Components Used:

 

The user can download the example project at the bottom of this post. The project uses the following list of Creator Components:

  • SPI
  • PWM
  • CyClock
  • CyPin

 

The components are configured by right clicking on the component in your Top Design schematic view and selecting Configure. Please enable the following selections in the Configuration windows for the listed components above.

 

Firmware Description:

 

The main.c firmware is included in the example project. Please review the commented sections for more details.

 

In this example our code uses example code from the following web site:

  • CooCox WiFi Shield

 

Also for your reference take a look at the following Arduino WiFi shield web pages:

  • Arduino WiFi Shield Main Page
  • Arduino WiFi Shield Guide Page

 

In our example the Pioneer kit controls the WiFi processor on the WiFi shield to connect to a wireless network. On the IP address we create a small web page that can send inputs to our Pioneer kit through the wireless shield. We then take those inputs to control LEDs on the Pioneer board.

 

In this example we have used a number of .c and .h files from the CooCox web page example. Please review those files and web page for more information on the communication process with the WiFi shield. These files are analogous to the RGB LED and tinyprintf modules we used in previous examples and should be used to give you easy access to predefined and developed APIs and routines for this specific shield.

 

Feel free to expand on this example to control more elements of your design. This gives you additional freedom over the XBee wireless examples described earlier in this series.

 

Hardware Connections:

 

For this example the user will need to populate the six pin J12 header. This header is located near the CapSense slider on the Pioneer board. The Arduino WiFi shield uses the 6 pin connector for the SPI communications with the WiFi processor. You will need to populate this header to use this shield board.

 

For more information on the 6 pin header and part number please reference the Pioneer Kit Bill of Materials (BOM) section of the User Guide.

 

Once the shield is connected power the board using the USB connector.

 

Test Your Project:

 

Once you have connected your hardware please power up your Pioneer kit. Then on a PC or wireless mobile device connect to the IP address of your device. The browser will display three sliders for the three LED colors. Either click and drag or use your finger on a touchscreen device to control the LEDs. For an example please see the youtube video below.

 

This video is unavailable.
You don't have permission to edit metadata of this video.

 

I hope this example can help you in your design.

 

Best,

Matt

Attachments:
6761.Project Images.zip
WiFi.cywrk.Archive01.zip
  • Sign in to reply
  • Cancel
Parents
  • Former Member
    Former Member over 9 years ago

    Hi Matt,

    Thank you for posting the project. I have experience with PSoC programming, but I am new to Arduino WIFI.  In your post, you do not mention anything about programming on the WIFI side. Does the firmware programmed with the board and  ready to go? If there is programming  required at the WIFI side, please point me to the website or documents to start.

    Thank you for your help,

    Biet

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Former Member
    Former Member over 9 years ago

    Hi Matt,

    Thank you for posting the project. I have experience with PSoC programming, but I am new to Arduino WIFI.  In your post, you do not mention anything about programming on the WIFI side. Does the firmware programmed with the board and  ready to go? If there is programming  required at the WIFI side, please point me to the website or documents to start.

    Thank you for your help,

    Biet

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube