• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Low Power RF & Wireless Connectivity » Low Power RF ZigBee® Software & IEEE 802.15.4 Forum » external hardware connected to the bb cc2530
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

external hardware connected to the bb cc2530

This question is not answered
Omar Aly
Posted by Omar Aly
on May 13 2011 09:02 AM
Prodigy80 points

I'm using cc2350 kit to build a WSN to monitor wind farms. I have 3 fans and I'm supposed to build the network on that small scale and control the fans. do stuff like calculating wind speed, direction, speed of the rotation of the fan etc. But the cc2350 kit only has temperature and battery level sensors which are not enough. I have successfully built the network and all, and I've built a circuit that sees whether a fan is working or not. All i want is to send the output of that circuit to the BB which will then send it through out the network to my pc so i can do the monitoring and controlling.. I have read alot about using the pins on the BB but still i cant get it straight. I mean, do i connect my circuit to the BB by some sort of small wires attaching them to the pins of the BB, or there is some sort of another piece of hardware that can do the connection for me.

CC2530DK cc2530zdk hardware cc2350 pins sensor external
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • GrantC
    Posted by GrantC
    on May 13 2011 16:05 PM
    Expert3920 points

    Omar,

    The CC2530 sensor demo (http://www.ti.com/litv/zip/swrc147b) application uses the CC2530's ADC to read its on-chip temperature sensor (see http://www.ti.com/litv/pdf/swru191b, section 12.2).  This is in the readTemp.c routine, and basically is set up through the ATEST, TR0, ADCIF, and ADCCON3 registers.

    You'll want to set up the ADC to instead use the AIN0..AIN7 input pins instead (these are the P0.0 through P0.7 pins).  These are accessible on the SmartRF05BB board connectors.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Omar Aly
    Posted by Omar Aly
    on May 14 2011 08:44 AM
    Prodigy80 points

    Thanks man for this, this really explains the software part which I needed to know. But the hardware part, I mean i have a circuit that gives output 1 if the fan is working and 0 if not, how am i supposed to make its output to be the input to the BB on any pin.  How to do the connection

     

    My submission date is a couple of weeks away and i still gotta build more circuits that calculate the speed of the rotation of the fan, and the direction of the air.

     

    I just want to ask 1 more question, can i do the same operation but in the opposite way, i mean i can send a certain value to the external circuits through the pins on BB. Like if i have a circuit that turns the fan on or off, i can do some sort of programming that when it has an input 0, it turns the fan off (for example), and I feed it that input through the pins

     

    Thanks alot i really appreciate it

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • GrantC
    Posted by GrantC
    on May 16 2011 11:19 AM
    Expert3920 points

    Omar,

    The connections are in http://www.ti.com/lit/pdf/swru209, appendix A.  For example, if you wanted to use P0.0 as a digital input, this goes to P1, pin 11 on the EM board.  On the SmartRF05BB, this is called EM_P1_11 on the P1 connector, which also goes to P5, pin 12 ("I/O header B").  That's where you'd attach the signal.  P0.0 would then have to be programmed as a digital input.  See http://www.ti.com/litv/pdf/swru191b for details on the programming (chapter 7).  Chapter 7 also describes how you can set the pins, such as P0.0, be digital outputs. 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use