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
      •  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
Ultimate RoadTest
  • Challenges & Projects
  • Design Challenges
  • Ultimate RoadTest
  • More
  • Cancel
Ultimate RoadTest
Blog The Nice Asgard Project Part 8 - Inter IC Communications and Hacks
  • Blog
  • Forum
  • Documents
  • Files
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: cookieglitch
  • Date Created: 3 Jun 2012 3:10 PM Date Created
  • Views 730 views
  • Likes 2 likes
  • Comments 4 comments
  • ultimate_roadtest
Related
Recommended

The Nice Asgard Project Part 8 - Inter IC Communications and Hacks

cookieglitch
cookieglitch
3 Jun 2012

Progress this week, in order to get the ZigBee devices talking to the WiFi device, a link was needed. This comes with a few options, I2C, SPI or UART. The chosen method? UART, specifically the debugging UART line. It is already setup for use, just need a little bit of code to get the receiving part working on the ZNP devices. WIth that working, the commands can be dumped to the connection and eaasily monitored. Any irrelevant debugging messages can easily be ignored by the software, with any luck any debugging messages that replicate actual commands will be rare.

 

While I try to track down an oscilloscope (The friend with the scope is always at the other end of the country when you need them...), its time to finish off the drivers for the blind control and the light control. This is a simple matter of generting a PWM signal on two pins, I say simple, what I actually mean is I'm not familiar with setting up PWM at this level. There are however some reasonable tutorials online to help. Should be interesting!

 

Once this is done, the last steps are to get the GUI working and finish the PCB layout. Unfortunately, IAR, CCS and mspgcc continue to take a disliking to me. While mspgcc will compile the software, it is error central thanks to the different headers being used. This sadly means some parts will not compile any time soon, including the WiFi drivers. I do however have faith that the code I have written should work, assuming a tweak here or there. Highly frustrating for this to occur, but the demos included with each device do well to demonstrate how useful the products are and how easy they are to use in a device.

 

In terms of the PCBs, the ZigBee devices should be simple, there is very little that actually needs to change on these. The changes include adding on the new ICs, and changing the headers that go to the power supply.

 

Links
  • Repo - Main Device (WiFi)
  • Repo - ZigBee Devices
  • Sign in to reply
  • cookieglitch
    cookieglitch over 13 years ago in reply to DAB

    That is part of the plan. I've always been fond of systems that have some sort of obvious debug interface (Like the CAN port on your car), sending the data over an interface that can easily be monitored without the need for something like a logic sniffer makes this kind of debug option so much easier.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 13 years ago

    You can also use the UART to collect a log as the device is running.  Could be real useful when you try to test each of the different functions out.

     

    Just a thought,

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • cookieglitch
    cookieglitch over 13 years ago in reply to ssilberhorn

    That actually looks great for what I use it for. Couldn't be too hard to add some extra channels to the GUI. Shall see if they are planning on releasing the code any time soon.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ssilberhorn
    ssilberhorn over 13 years ago

    Build your own oscilloscope ...  http://www.element14.com/community/videos/4292/l/$14-Embedded-Oscilloscope-Booster-Pack-for-the-MSP430-Launchpad

    • Cancel
    • Vote Up 0 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 © 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