element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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
Vertical Farming
  • Challenges & Projects
  • Design Challenges
  • Vertical Farming
  • More
  • Cancel
Vertical Farming
Blog Vertical Hydroponics: Blog 6 - EZR32WG Wireless Starter Kit: Part 1
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: jamesod
  • Date Created: 28 Sep 2015 11:34 PM Date Created
  • Views 1539 views
  • Likes 2 likes
  • Comments 10 comments
  • vertical_hydroponics
  • vertical_farming
  • ezr32wg
  • wireless
Related
Recommended

Vertical Hydroponics: Blog 6 - EZR32WG Wireless Starter Kit: Part 1

jamesod
jamesod
28 Sep 2015

I have gotten a lot done since my last post, but I don't have time to write a detailed blog at the moment. I did want to give an update on my first chance to get started with what will be the controller for this project. More to come shortly.

 

This Friday I received the EZR32WG 915 MHz Wireless Starter Kit. Most of my time this weekend has revolved around getting to know the hardware and software that comes with this dev kit, and so far I am pretty impressed.

 

I began by installing Simplicity Studio. This was a fairly painless process. Then I started up the studio and connected one of the boards to my computer. After a few minor bumps, the board showed up in the Detected Hardware section. I moved the switch on the board to the AEM position, and went to the Kit Manager. There I updated the board firmware to the latest version. This gave me the “EZR32WG 915MHz Wireless Starter Kit (###)” as the detected Hardware instead of just “J-link Debugger.”


Next, I went to the software examples section. The appropriate Kit, Part, and SDK was automatically selected for me. I wanted to try out a program that would let me use the on-board display and push buttons first so I chose the SLWSTK6222A_clock program. I loaded this program into the IDE, and used the debug command to load it onto the board. It worked! I played with this to see how the buttons worked, and observed which libraries were used.

 

After this I tried out the ezradio_simple_trx example program. I loaded this onto both boards. When I pushed an button on one, the other received a number. This is a very simple example, but it shows how to implement bidirectional communication on these boards.

 

The last example program I looked at was SLWSTK6222A_humitemp. This program reads from the on board i2c temperature and humidity sensor and displays the data on the on board screen.

 

After looking through these examples I decided I had enough to hack together my first program on the board. I began with the ezradio_simple_trx program and added code from the humitemp program so that one board “Node1” sent the temperature to the other board “Gateway.” With this working successfully I now have a method for sending whatever data I want from the node to the Gateway.

 

With this working I can move on to getting data from the Gateway to the Beagle Bone Black Webserver. The I will write code to interface with all of the sensors and relays I am using, wire up the system in an enclosure, and start to write the main control code.

  • Sign in to reply

Top Comments

  • RWReynolds
    RWReynolds over 10 years ago +1
    Cool stuff James. Sounds like you've been busy. I also received the EZR32WG on Friday. Thanks element14Dave ! I've run the ezradio_simple_trx and a couple of other example applications. Works great. Busy…
  • jamesod
    jamesod over 10 years ago in reply to RWReynolds +1
    Are you having your system communicate with an external network? If so have you decided on a method yet? I've got communications between the radios working just fine, but I'm not sure how I'm going to…
  • RWReynolds
    RWReynolds over 10 years ago in reply to jamesod +1
    I'm doing the same on a Raspberry Pi James. Could have used a BBB, I have both available, but I've been playing with the RPi lately. lol... I actually have an RPi on both ends. On the cultivator end simply…
  • RWReynolds
    RWReynolds over 10 years ago in reply to jamesod

    My intention at some point is to explore Ethernet on the ZR32WG. But first I just want to create a working system. So, I'm working in some pieces I'm already familiar with to make the development go more quickly.

     

    I'm curious as to whether I could use the RPi as a sort of TCP/IP hub and gain access to the EZR32WG via WiFi. WiFi to the RPi and Ethernet to the MCU.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • jamesod
    jamesod over 10 years ago in reply to RWReynolds

    Nice. I am debating between simply using the UART like you have done or trying to use the VCOM port over Ethernet. I'll probably just use UART to get things started.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • RWReynolds
    RWReynolds over 10 years ago in reply to jamesod

    I'm doing the same on a Raspberry Pi James. Could have used a BBB, I have both available, but I've been playing with the RPi lately. lol...

    I actually have an RPi on both ends. On the cultivator end simply because it's the only way I've found to easily read the sensor-puck over BLE. They gave me a sensor-puck and I wanted to use it. lol... The RPi on the central control end will be my gateway to a cloud-based data logger and visualizer. I'm using initialstate.com for logging. So it's EZR32WG to EZR32WG for local control, remote control and data capture/transfer, and an RPi for logging to the cloud, and possibly for additional remote control.

     

    image

     

    I've spent my time with the EZR32WG getting the code I wrote for the EFM32ZG ported over and getting everything wired up in an enclosure. I'm using the EZR32WG to control a stepper motor, a pump and read all the cultivation and system sensors. I have the radios talking to each other but no sensor data transfer yet. Seems pretty simple, just bring the radio code from the simple trx example into my code.

     

    Here's an example of the data I'm capturing right now...

     

    https://www.initialstate.com/app#/tiles/a9144f1f-a3b3-498e-9951-a523000c4154

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • jamesod
    jamesod over 10 years ago in reply to RWReynolds

    Are you having your system communicate with an external network? If so have you decided on a method yet? I've got communications between the radios working just fine, but I'm not sure how I'm going to connect the gateway to the webserver on my BBB.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • RWReynolds
    RWReynolds over 10 years ago

    Cool stuff James. Sounds like you've been busy. image

     

    I also received the EZR32WG on Friday. Thanks element14Dave!

     

    I've run the ezradio_simple_trx and a couple of other example applications. Works great. Busy porting the EFM32WG code over now.

     

    Cheers,

    Rick

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
<
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 © 2026 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