Go to advanced search

by walte1fr
Fri Feb 03, 2017 3:44 pm
Forum: Other projects
Topic: Remote light switch
Replies: 9
Views: 2148

Re: Remote light switch

I was thinking of hooking up an XBee to transmit the signal to each location. We have a master electrician on staff so he will be hooking everything up. I see the XBee has an the ability to send and input signal over the distance we are looking ...
by parikh5555
Thu Feb 02, 2017 6:10 am
Forum: Python
Topic: Xbee package use with with Spidev
Replies: 0
Views: 619

Xbee package use with with Spidev

I am trying to connect Xbee S2C with Raspberry Pi on SPI. I am familier with coding on UART by writing below code. # Import and init an XBee device from xbee import XBee,ZigBee import serial ser = serial.Serial('/dev/ttyUSB0', 9600) ...
by walte1fr
Wed Feb 01, 2017 8:54 pm
Forum: Other projects
Topic: Remote light switch
Replies: 9
Views: 2148

Remote light switch

... a remote light switch. I was told to check out the Rasberry Pi and maybe I would be able to come up with something for that. I was looking at the xbee modules originally. We have a gate that is powered by an electric motor from a different electric panel. I would like to tap into the power of ...
by avz001
Sat Jan 28, 2017 5:39 pm
Forum: Troubleshooting
Topic: RaspberryPi 3 reading from Serial and Xbee
Replies: 3
Views: 6312

Re: RaspberryPi 3 reading from Serial and Xbee

A couple of questions: Which XBee radio type are you using, Series 1 or 2? Do you have any type of flow control enabled ? If I'm reading your code correctly, the delay in the arduino program is only 0.8 seconds. I'm wondering if setting ...
by klubmed
Mon Jan 23, 2017 10:52 pm
Forum: Beginners
Topic: 7 day timer to control rf relays
Replies: 1
Views: 393

7 day timer to control rf relays

... I want to build a timer for my pool equipment that I can control from the house. As the equipment is about 15 mtrs away from the house I feel rf (xbee, zigbee etc) would be the best option rather than wifi or blue tooth. Is it possible to to have a 7 day timer function with over ride control at ...
by avz001
Mon Jan 23, 2017 4:56 pm
Forum: Advanced users
Topic: Communication between raspberry and multiple xbee
Replies: 2
Views: 1124

Re: Communication between raspberry and multiple xbee

Are you still looking for information on this? I've successfully gotten arduino boards and Raspberry Pi to talk to each other? If that is what you are looking for feel free to ask questions. A great book to get you started is "Building Wireless Sensor Networks" by Robert Faludi. Lots of good example...
by wmsiddiqui
Fri Jan 20, 2017 9:13 pm
Forum: Troubleshooting
Topic: RaspberryPi 3 reading from Serial and Xbee
Replies: 3
Views: 6312

RaspberryPi 3 reading from Serial and Xbee

... overall. I recently started playing with Raspberry Pi 3, and am working on a project that sends data from an Arduino to Raspberry pi through an Xbee. Previously, I instead of the RPi3 I was using a different Arudino hooked up to an xbee to receive data. This data was constantly being sent (it ...
by MJHanagan
Wed Jan 18, 2017 1:24 am
Forum: Python
Topic: Python 3 and XBee library
Replies: 6
Views: 5707

Re: Python 3 and XBee library

Ah, good catch! But alas, I still get the same error message using ChimeAddr = b'\x00\x07', as well as ChimeAddr = 7. It seems like it must be choking on parameter=DIOon or command=Dcmd. I tried all the combinations of bytes, bytearray on the DIOon and Dcmd variables to no avail.
by MJHanagan
Tue Jan 17, 2017 12:20 am
Forum: Python
Topic: Python 3 and XBee library
Replies: 6
Views: 5707

Re: Python 3 and XBee library

... and bytes but each still returns the same error: self._write(self._build_command(cmd, **kwargs)) File "/usr/local/lib/python3.4/dist-packages/xbee/base.py", line 214, in _build_command packet += data TypeError: can't concat bytes to str If I am interpreting the error code the right way it ...
by parikh5555
Mon Jan 16, 2017 11:58 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Raspberry Pi ver 2.0 UART connection with PC and Xbee
Replies: 1
Views: 347

Re: Raspberry Pi ver 2.0 UART connection with PC and Xbee

[ 1791.170924] sysrq: SysRq : HELP : loglevel(0-9)

It gives me a long string containing this field :cry:
by parikh5555
Mon Jan 16, 2017 5:56 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Raspberry Pi ver 2.0 UART connection with PC and Xbee
Replies: 1
Views: 347

Raspberry Pi ver 2.0 UART connection with PC and Xbee

... -> GND PC Problem I am facing with this is while I send "+" using picocom on Raspi it gives me output "j" on teraterm Also I want to connect it to Xbee S2C module Connections are Raspi Tx -> Rx Xbee Raspi Rx -> Tx Xbee Raspi GND -> GND Xbee Raspi 3.3v -> Vcc Xbee With using it on Picocom giving ...
by MJHanagan
Sun Jan 15, 2017 10:16 pm
Forum: Python
Topic: Python 3 and XBee library
Replies: 6
Views: 5707

Re: Python 3 and XBee library

I tried using DIOon='\x05' with no success, same error as before. The code to receive data transmissions from the XBee seems to work just fine. But the "xbee.remote_at" command always chokes. The destination address is being passed OK because when I change it to ChimeAddr = '\x07' ...
by richrarobi
Sun Jan 15, 2017 4:50 pm
Forum: Python
Topic: Python 3 and XBee library
Replies: 6
Views: 5707

Re: Python 3 and XBee library

Bytes to ASCII seems to be one of the main differences between 2.7 and 3... I don't have xbee to test, but at a guess from the code and errors, I would suggest you try making those parameters into text strings (i.e. drop the b). DIOon = b'\x05' DIOoff = b'\x04' I have ...
by MJHanagan
Sat Jan 14, 2017 10:14 pm
Forum: Python
Topic: Python 3 and XBee library
Replies: 6
Views: 5707

Python 3 and XBee library

... right into 3. I didn't realise that on my system (Raspian/Jessie) the default Python version is 2.7. So without knowing any better I installed the XBee library ( https://pypi.python.org/pypi/XBee ) and wrote the initial test program all under 2.7 and it worked (me happy!). Once I discovered I was ...
by MJHanagan
Fri Jan 13, 2017 2:17 am
Forum: Python
Topic: Which USB port this time?
Replies: 6
Views: 2835

Which USB port this time?

I have two serial devices connected to the USB on my RPi 3. One is an Xbee RF device (ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port) and the other is an FTDI serial to USB adaptor (ID 0403:6015 Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)). ...
by JimboPI
Sat Jan 07, 2017 4:17 pm
Forum: HATs and other add-ons
Topic: Fairywren XBEE help
Replies: 2
Views: 1158

Re: Fairywren XBEE help

Thanks Dougie, As far as I could tell the Geekroo site has been down for about 2 weeks and they removed all references to the Fairywren not long before that. After my post I tried Facebook as much as I hate it and posted a message to them. I'll report anything back as Im sure there are possibly abou...
by DougieLawson
Fri Jan 06, 2017 8:07 pm
Forum: HATs and other add-ons
Topic: Fairywren XBEE help
Replies: 2
Views: 1158

Re: Fairywren XBEE help

You may be out of luck, there's not even any stuff on the maker's KB website at: http://kb.geekroo.com.au/product

So you're probably going to have to fire off an email to: info [AT] geekroo [DOT] com [DOT] au
by JimboPI
Thu Jan 05, 2017 9:54 pm
Forum: HATs and other add-ons
Topic: Fairywren XBEE help
Replies: 2
Views: 1158

Fairywren XBEE help

Hello, Im looking for some information on using the XBEE interface on the fairywren board ? Has anyone had success in using this interface on this board ? I understand that many people don't see the usefulness of the fairywren in today's PI environment ...
by waynetom
Thu Jan 05, 2017 12:53 am
Forum: Troubleshooting
Topic: /dev/ttyUSB0 Serial Port Not working
Replies: 7
Views: 28561

/dev/ttyUSB0 Serial Port Not working

... in node and one serial out node. The ports are configured correctly to use /dev/ttyUSB0 and have the green "connected" indicator on. I have an xbee connected to the USB Adaptor and the serial out node can send messages successfully to my remote xbee. However I can't get my serial in node to ...
by roberto.santini89
Wed Jan 04, 2017 8:36 am
Forum: Advanced users
Topic: Communication between raspberry and multiple xbee
Replies: 2
Views: 1124

Communication between raspberry and multiple xbee

Hi, I bought some xbee series 2 to enable communication between raspberrypi2 and some sensors. The scheme that would like to accomplish is the following: a xbee connected to raspberry that reads data from other xbee (to which are connected ...
by akosin
Tue Dec 06, 2016 10:49 pm
Forum: Networking and servers
Topic: How-To: Ethernet Bridge over serial(or xbee)
Replies: 1
Views: 5484

Re: How-To: Ethernet Bridge over serial(or xbee)

I'm having some trouble with the DHCP part of it. Every time I plug my laptop into the Pi2, Windows auto-sets the IP and I can ping Pi2 but not Pi1(over XBee). Even manually setting the IP's doesn't seem to work. Any ideas?

Thanks!
by Auron6
Mon Nov 28, 2016 7:07 pm
Forum: Networking and servers
Topic: Raspberry and Xbee Series 2
Replies: 0
Views: 323

Raspberry and Xbee Series 2

Hi all, i am new on raspberry world, i am creating a sensor network using Raspberry and Xbee series2 (xb24-z7wit-004) using python language because it offers a library to program this device. For different reasons i dont want use Link Key, but i want encrypt my data. ...
by VedantFNU
Thu Nov 24, 2016 11:47 pm
Forum: Networking and servers
Topic: XBee and raspberry pi
Replies: 6
Views: 27139

Re: XBee and raspberry pi

Hello Again, I got it working, I was hooking the Xbee TX to the RPi TX, reversed the connections and it works like a charm. I would like to know if I can use the serial port for the remote terminal access and use the USB data port in a python script ...
by danjperron
Thu Nov 24, 2016 12:00 pm
Forum: Networking and servers
Topic: XBee and raspberry pi
Replies: 6
Views: 27139

Re: XBee and raspberry pi

You know that XBee communication is on serial physical layer and ssh is an internet protocol . If you want ssh running on a serial communication you need to adapt the serial to communicate on internet protocol. Then you have to create ...
by VedantFNU
Thu Nov 24, 2016 4:37 am
Forum: Networking and servers
Topic: XBee and raspberry pi
Replies: 6
Views: 27139

Re: XBee and raspberry pi

... I want to do it is as follows: Connect the sensors using USB or I2C or SPI. Once the data is communicated to the Pi, it transmits the data over Xbee to a PC. To add more functionality I want to have a SSH running over the Xbee connections, so that I can start and stop, and possible change some ...

Go to advanced search