ZigBee Development Board

project_misc

(Jerry Hatchett) #30

Thanks, Florianz. Trying to learn this stuff and the only way to do it is to ask what may be a bunch of dumb questions. So, that board I linked above, plus one of these, and some software, provide the components necessary to develop the backbone of smart devices?

Once you’ve developed and perfected a device, would all these parts be required for each such device you wanted to build? Or might there be cheaper groupings of components required, depending on the device you’re developing?


(Florian Z) #31

Yep!

If you want to build a specific device - say a temperature sensor - you can start development with the components you listed. Once it becomes times to mass produce, you can cull all the unnecessary stuff (LEDs, headers, power plug, 5V DC converter, etc.) and create a very specific circuit board, for that very specific temperature sensor, using only the necessary components. Does that make sense?


(Jerry Hatchett) #32

Yes, makes good sense.

So while I’m learning, if you have a chance, please take a look at this device.

I have a high-end Parasound preamp that offers RS-232 bidirectional control. Would something like this enable me to develop a SmartApp capable of sending/receiving RS-232 commands to/from the preamp?

This really is just an edification exercise. Now that I have Indigo working like a champ, and since it interfaces nicely with Global Cache devices, I’ll probably just grab a Global Cache WiFi-to-RS232 bridge and handle it that way.

Again, thx!


(Florian Z) #33

Maybe… The product page you linked to doesn’t yield any information about interfacing with the device on the Zigbee side of things. There is no mention of the profile it uses or where to get more detailed information about any how to control it (attributes, commands, etc.) You may be able to interface with it with the SmartThings hub as the coordinator, but I doubt things will just work out-of-the-box.


(Florian Z) #34

Even though I have not given any updates in a while, I am still working on this project.

I am really bummed about the FCC certification costs, and the Atmel ZigBit module turns out to be simply too expensive to build this development board within the constraints that I have set myself. I am now evaluating other Zigbee transceiver module options, outside of what Atmel has to offer.


(Smart Rf) #35

Hi florianz Certainly understandable … Do you happen to be planning on posting the firmware you had developed for the RFR2 any place, or is that project now considered dead, and time to move on?

Just out of curiosity what costs were you looking to obtain for a 15.4 certified module, and at what annual volumes ?
Looking forward to hear about what you finally select as a viable solution.


(Florian Z) #36

Absolutely. I have it in a private BitBucket repository, which I am happy to give you access to: Just PM me your BitBucket handle. It’s not so much a “firmware” as it is the BitCloud framework with some bugs fixed and one of the examples modified to work with SmartThings. Nonetheless, it should definitely help you hit the ground running if you want to play around with the Atmega.

Well, frankly I have no manufacturing experience. Everything I know about it is from reading other project stories. Also, I think there isn’t really a high demand for a product like this. The target group is sort of niche, because beginner makers would probably want to stick to the ThingShield, and advanced makers can go straight to designing their own PCBs using whatever components they want. So this is for the “in-between skill level” makers, or for prototyping of a production device.
Having said that, I may want to build 100 - 200 as a first batch - so we are not really talking numbers where quantities make a significant dink in costs.

I am currently exploring the option of using a non-programmable Digi Xbee surface mount module as a network processor, and an external MCU (like an Atmega328P or low-power STM32) for application code. This has the added benefit of making Arduino IDE integration much easier, because the network stack of the firmware doesn’t have to be compiled and flashed together with the application code.

What are your thoughts?


(Geko) #37

Have you looked at available ZigBee modules, like this one for example:

Making your own hardware can be fun and educational, no doubt about it, but considering time and cost, I don’t think you can beat $26 shipped.


(Florian Z) #38

My first prototypes are around that cost (not including assembly, granted) and have a richer feature set, as well as a smaller form factor that doesn’t require the annoying rubber ducky antenna.

The module you linked to doesn’t come with software of any kind, so chances are you still need an expensive compiler toolchain (Texas Instruments requires IAR) and potentially a programmer / debugger. There is an open-source compiler for 8051 based MCUs (like the CC2430) called SDCC, but I am not sure if it’s mature enough to compile Z-Stack, which is TI’s own ZigBee library. Up until recently it wasn’t able to produce good enough binaries, but SDCC is under active development, so chances are the situation is better now.

Also, the module you linked to doesn’t come with FCC certification or MAC address allocation, so I am left with the same problems as with my own prototype.

The head-start I would get from using a module such as the one you linked to is marginal.

The only off-the-shelve module that comes close to my requirement is Pinoccio. It just needs different firmware, but it also comes with a whole bunch of unnecessary (for this application) features, which significantly drive up the price.


(Geko) #39

Yeah, the more I think about it, the more I wonder why bother with Zigbee if you can buy a WiFi module for $15 these days and connect directly to ST cloud. :smile:
http://www.ebay.com/itm/111420598112

Apparently, there’s OpenWRT port for this puppy.

http://wiki.openwrt.org/toh/hilink/hlk-rm04


(Florian Z) #40

@geko: Wifi is an option. I have a few SparkCores and they are a dream to integrate with SmartThings. Super easy.

The problem with wifi is that it’s not a great choice for low-powered sensor networks. There aren’t any wifi chips that come anywhere close to the low power consumption of a Zigbee radio. Even the new CC3100/CC3200 is still ways off. Wifi is also not a mesh network.


(Ash (www.smart-dots.com) / Ashutosh Jaiswal) #41

Hello

Have you guys ventured into looking at the Zigbee Module from MicroChip? Its called the mrf24j40. It becomes easy to program it with PIC micros.

Thanks

Ash


(Wojtek) #42

Florian,
I am also interested in looking at your code, if you dont mind. I have been playimg with Cc2530 for some time but i am New to Smarthings…
Wojtek


(Florian Z) #43

@ashutosh1982 the MRF24J40 looks great! Thanks for sharing. Unfortunately, it looks like Microchip’s Zigbee stack is an additional $1000 :frowning:

@VirTERM do you have a bitbucket handle I can add to the repository to share with you?


(Wojtek) #44

VirTERM .:wink:
I really appreciate it.


(Ash (www.smart-dots.com) / Ashutosh Jaiswal) #45

Yup its $995 , but if anyone is planning to build a product then its a one time investment. As long as we can make it work in a mesh environment and make it compatible with a platform like Smart Things.


(Justin Eltoft) #46

Thanks for the post. This seems like what I’m hoping to do with the NXP module I’ve been playing with. I’m hoping to make a PCB based on what DIO’s or ADC’s I want to use, Relays, buttons, other sensors like temp/accel/piezo.

Quick question, have you figured out a good way to figure out what your Zigbee fingerprint looks like? I’ve been playing around with the NXP zigbee HA stack (free by the way!) and examples and I thought I knew what in and out clusters were being used but can never seem to get it to be auto recognized when I pair it. See my questions here.

Note that I was able to find these NXP modules for about $10 so even with a PCB and battery I was hoping to beat the $25 cost of the monoprice.com door sensor here.

The NXP module is the JN5168-001-M00.

I also started a thread here.


(Florian Z) #47

Thanks for sharing, that’s really cool. I have not dabbled in the whole fingerprint configuration, but noticed that it appears to match the in- out clusters I have set up on the firmware side.

I haven’t worked on this project in a while, because I am waiting for the Spark Photon to come out. It will be very difficult to beat the price, but all bets are still out on power consumption.


(Shan Zhang) #48

Hi Florian,
I also try to connect atmel bitcloud device to smartthings, The atmel HA device was able to join the smartthings network, but it didn’t show up on my phone. Can you please provide an example on how to connect to Smartthings and have it show up on my device list? Thanks!


(Paolo) #49

Hi Florianz!
Any progress about your zboard?