This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2530 sensors

Other Parts Discussed in Thread: CC2530, Z-STACK

Hello everyone!
I have some questions for you, can anyone help me?

I am working for school on a research activity, which is based on the CC2530 development kit. I know that is working on a distance of 100 m, but on what speed is it working?
The sensors in this application are temperature sensors. And now I'm asking you, can i add other types of sensors? Like humidity sensors? And where? And do i have to write a code for that? In what program, IAR?

I'm looking forward for your answers!

  • Hi,

     

    Mic Ioana said:
    I know that is working on a distance of 100 m, but on what speed is it working

    Do you mean the speed of communication or the speed of microcontroller?

    The speed of communication for Z-stack is theoretically 250Kbps (practically less, but still enogh

    for having several sensors to transmit their data in some periodic way)

    If your concern for the uControoler speed, well it's 32MHz, and it's quite enough for interfacing different sensors.

     

    Mic Ioana said:
    can i add other types of sensors

    The answer is yes, but you have to add it in a "smart" way, be sure your sensors can interface with uC and

    works on the same range of supply voltages (for simplified solutions) as the cc2530.

     

    Mic Ioana said:
    And where?

    Well, it depends, what is the interface of the specific sensor. To know where and how it can be connected

    you should refer to cc2530 web page.

    If you have additional evaluation boards, you probably have to look in evaluation board user's guide.

     

    Mic Ioana said:
    And do i have to write a code for that? In what program, IAR?

    In most cases the answer is "yes", you'll have to perform changes in code.

    The program is IAR for Z-stack solutions

  • Thank you very much for your answer. The truth is that i am a beginner in this field. I've read the Em and EB user's guides but i didn't find any information about where and how to connect other  types of sensors. If you can be more specific, i would be really grateful.

    Have a nice day!

  • Hi,

     

    On the EB (smartRF05EB?) there are several headers with pins, some of them connected

    directly to ports of cc2530 SoC, information about the interconnection can be retrieved from

    cc2530ZDK User's guide, tables 1, 5, 6 and page 36  (pdf page)

  • Ok, i will try to do it like that. Thank you a lot!

  •  

    Hello,

    I'm searching again for you help.

    I decided to put the pressure sensor on the I/O pins of the SmartRF05 Battery Board.

    Then i will have something like this. The PAN coordinator will be the SmartRF05 Evaluation Board. There will be one sensor of temperature connected on the SmartRF05 Battery Board and one sensor of pressure on the other SmartRF05 BB (there are 5 SmartRF05 BB in total).

    My question now is, on which pins i have to connect the pressure sensor? There are a lot of pins :) (sorry that my knowledge is so poor )

    And what interface do i use? Or something like this?

    Thanks a lot!

  • Hi,

     

    Mic Ioana said:

    My question now is, on which pins i have to connect the pressure sensor? There are a lot of pins :) (sorry that my knowledge is so poor )

    And what interface do i use? Or something like this?

    That depends, what are the interfaces suggested by pressure and  temperature sensors?

  • This i really don't know. Where must i look or search?

    The temperature sensors are the ones which are included in the CC2530 kit, so they have their place on the SmartRF05BB. I know where to put them and is working.

    The biggest problem is with the pressure sensors. I'm not good in electronics and these things, so for me is a mystery, but i have to solve it.

    Please help me out.

    Thanks!

     

  • Hi,

     

    Mic Ioana said:
    The temperature sensors are the ones which are included in the CC2530 kit, so they have their place on the SmartRF05BB. I know where to put them and is working.

    I'm not aware of such sensors.

    CC2530 devices are equipped with an integrated temperature sensors.

    May be you are talking about these sensors? If so, this sensor is connected

    internally to the ADC, and can be configure only in the FW.

     

    Mic Ioana said:
    The biggest problem is with the pressure sensors. I'm not good in electronics and these things, so for me is a mystery, but i have to solve it.

    Do you have any requirements for this sensor, besides the fact it can measure pressure?

  • You were right with the CC2530 devices that are equipped with an integrated temperature  sensor. So with that problem solved!

     

    About the pressure sensor  this is my requirement, to measure pressure.

     

    My application is based on a weather application. So that's why i was thinking what other sensors to add in my scenario. And i was thinking about pressure. With other types of sensors is the same difficult?

  • Hi,

     

    Mic Ioana said:
    You were right with the CC2530 devices that are equipped with an integrated temperature  sensor. So with that problem solved!

    This sensor is not accurate enough, the error after one point calibration can be of +-5 Celsius degrees,

    thus I strongly recommend you to choose an external, more precise, sensor.

    Here's a link to temperature sensors forum (one of the many forums in E2E community).

    Post a question there.

    Minimal specifications for this type of sensor:

    Operating voltage levels: from 2V to 3.6V

    Current consumption: as low as possible (few miliamps when measuring is the highest limit).

    Resolution: This you should know better than me, however for weather application/s
    at least -+0.5 Celsius degrees. 

    Interface/s: SPI and/or I2C, RS232 (serial), or temperature to voltage (where the output
    voltage levels must be from 0V to the operating voltage level and linearly
    correspond to the value of measured temperature).

    Mic Ioana said:
    About the pressure sensor  this is my requirement, to measure pressure.

    So basically you are looking for some sort of barometric pressure sensor?

    This is tough one, I'm not familiar with such sensors for low power applications.

    May be you'll ask the guys from temperature sensors forum too, if you are lucky, someone will point

    you to a solution. By the way, the minimal  specifications for this sensor are the same as suggested

    for the external temperature sensors.

    Meanwhile I'll try to think of some sort of solution.

     

    Once you have gathered needed information we will proceed with further suggestions and discussions

    in this thread. 

  • Thank you very much for your help.

    I will try to advance with this application and in case i have other dilemmas, i will contact you.

     

  • Hi,

    I carry out a research on CC2530ZDK, and I have a problem just like Mic's one.

    Please let me know your solution about her problem.

    Thank you in advance.

  • Hi,

    Do you mind explain your requirements in a more detailed way?

    From what I know, she didn't get any reply from anyone on this forum

    regarding barometric sensors.

    Edit: part of the discussion took place at this thread, so you might check for a solution there too.

  • Hi,

    First of all, thank you for reply.

    I want to add an ECG sensor to cc2530ZDK, I search for that but I didn't find any result.

    And now my problem is where I must add it.(smartRF05BB or smartRF05EB?)

    The other point is I know I had to add some program in IAR for Z-stack, but can you enlighten me about how to write the interface.

    Thank you,

    P~N

  • Hi
     


    1. pari Naseri said:
      I want to add an ECG sensor to cc2530ZDK

      From what I know, there are no such thing as stand alone ECG sensor, usually those made as
      combination of several Instrumental amplifiers and ADCs (and other discrete parts may be involved)
      which are and connected to some sort of uController for data collecting/processing.
      Refer to this link and take a look to get a first impression of what I'm talking about.

      You can/may connect it to BB or to EB, however you must know how much pins you'll have to appoint
      to such connection and what are the signals? CC253x devices are somewhat limited in horse power.
      Moreover, CC2530 with Z-stack on it can be very hard to tune for getting a real time system/responses.
      Refer to CC2530 datasheet to see what this uController can offer for your needs (like timers, ADC, DMA,
      interfaces, etc...) besides the Radio part.
      An important thing to know about Z-stack, it's built around a tiny sort of Operating System, which is not
      preemptive.


    2. pari Naseri said:
      The other point is I know I had to add some program in IAR for Z-stack, but can you enlighten me about how to write the interface.

      It is very dependable on how you are going to interface your ECG system to CC2530 and what is the
      needed responsivity, in other words, what should be involved in coding process, interrupts or software
      timers. Besides, what about power consumption, is it crucial in your application for the entire sensor
      (ECG+CC2530) to be able to switch to lower power modes when it's possible?