Author Topic: Multiple wireless temp sensors one serial port (different way ?)  (Read 1462 times)

wlbrycemt

  • Newbie
  • *
  • Posts: 11
I am wanting to monitor several temp sensors installed in freezers wirelessly.

It would look something like this.

Temp sensor #1 - Arduino -Xbee (TX)
Temp sensor #2 - Arduino -Xbee (TX)       Xbee (RX) – serial smart board –IoBridge       
Temp sensor #3 - Arduino -Xbee (TX)

 I am using the Arduino’s to process the temp signal and control the Xbee transmitting.
The main question is if the IoBridge (Widgets?) will be able to process the 3 different sets of data received by the Xbee attached to the serial smart board. Can the IoBridge server application be configured to display 3 different sets of data?

I hope to get away from having to use 3 serial ports and 3 more Xbees.

Ultimate goal is to Tweet the temps.

Thanks

Logan

http://twitter.com/PineRidgeMT

jason

  • Administrator
  • Hero Member
  • *****
  • Posts: 502
    • ioBridge.com
Re: Multiple wireless temp sensors one serial port (different way ?)
« Reply #1 on: August 05, 2009, 04:12:30 PM »
Assuming you don't overrun the buffer on the Serial Smart Board, any data that is received will get passed on to the ioBridge server and then logged or pushed out to a widget.

I'm not an Xbee Xpert (haha), so I don't know if you can set them up to receive from multiple sources like that.  Even if that isn't going to be a problem, you'll still need to identify the data somehow to know which sensor it came from. 
Jason Winters
ioBridge Developer

wlbrycemt

  • Newbie
  • *
  • Posts: 11
Re: Multiple wireless temp sensors one serial port (different way ?)
« Reply #2 on: August 05, 2009, 10:47:30 PM »
That sounds good!

 It is not a problem as I am doing the same thing right now with a Tweet-A-Watt system. One receiver receives the data transmitted from all transmitters. The data packets are identified by the transmitter  (MY) Id number, so each transmitter has a different ID.
Post processing is done in some software or a python script.

What is the max data the buffer can take before overrun?

My IoBridge gear is in shipping, so as soon as I get it I will probably need more help on the data configuration part.

Thanks!

Logan


http://twitter.com/PineRidgeMT

irkgreen

  • Newbie
  • *
  • Posts: 48
Re: Multiple wireless temp sensors one serial port (different way ?)
« Reply #3 on: May 15, 2010, 08:58:34 AM »
You guys have any luck with your projects?

I'm doing something very similar.

I have an X10 W800RF32 (receiver for X10 RF devices) hooked to an STK500 (Dev kit for AVRs.  Think of it as a very customizable Arduino).  The STK500 is hooked up to a serial smart board and a widget is set to monitor that channel.

I can trigger my X10 device and the W800 detects and sends identification data to the STK500.  I know the data is received consistently as I can flash the STK500's 8 LEDs in binary verifying that all the data was received. 

I leave my monitor serial widget web page open, and even though the STK500 flashes a confirmation that it received and sent the data, the ioBridge widget doesn't always show the data.  We are only talking 4 bytes of data that I am displaying as 2 char of hex each.  E.g. DDEEA050.  I get data one out of every 3 times.

Surely, I'm not filling the buffer.  All of my serial settings seem in order, baud rates, etc.

Any ideas?

irkgreen

  • Newbie
  • *
  • Posts: 48
Re: Multiple wireless temp sensors one serial port (different way ?)
« Reply #4 on: May 16, 2010, 01:59:04 PM »
I stripped the AVR of anything that was non-essential.  Works fine.

Magneto

  • Newbie
  • *
  • Posts: 1
Re: Multiple wireless temp sensors one serial port (different way ?)
« Reply #5 on: November 02, 2010, 12:19:42 PM »
You might give these serial wireless adapters from www.usconverters.com a try.
« Last Edit: November 02, 2010, 12:25:44 PM by Magneto »