|
Post by stefankrupop on Jul 9, 2018 22:44:25 GMT
As promised elsewhere in these forums, I have now uploaded a design for an Arduino shield and a matching Arduino library that together allow to easily send commands to Xylobands in order to further reverse engineer the protocol used.
To get your transmitter working, do the following: - Build yourself a XyloShield (the RF part is enough, DMX is optional and currently not used)
- Attach it to an Arduino, I am using an Arduino Uno
- Download and install the library (see Readme)
- Open the "XyloSender" example sketch (contained in the library) and upload it to the Arduino.
You can now send Packets by sending them to the serial port of the Arduino (115200 baud). The sketch expects a length byte first and then the respective amount of bytes to be sent.
Have fun!
Kind regards, Stefan
|
|
|
Post by richruss on Sept 8, 2019 20:33:23 GMT
Hello Stefan, It looks like you've done some great work here! I'm thinking about building one of these but i have a couple of questions. First, I am thinking of using an Arduino Nano instead of an Uno, will i need to change the code in the library at all or should it be compatible? second, when I look for the RFM26W on ebay i see two models availible, one is 433Mhz and the other is 868Mhz. does it matter which one I get?
Thank you for your work and any additional help you can provide.
|
|
|
Post by richruss on Sept 8, 2019 20:38:46 GMT
upon closer examination, I think the two RFM26W listings are the same circuit just with different headlines. the descriptions appear to be exactly the same. i would still like to know about the nano though
|
|
|
Post by stefankrupop on Sept 10, 2019 6:17:04 GMT
Dear richruss,
for use with the Xylobands you probably should use the 868 MHz variant of the RFM26W, as this is the frequency my bands work with. However, it might be that in different regions of the world other frequency ranges were used. The XyloLibrary uses 868 MHz. While the shield will obviously not fit mechanically, the electrical interface and the library should be fine as far as I can see. If you try, please report back if it actually works.
Kind regards, Stefan Krupop
|
|
|
Post by richruss on Sept 11, 2019 5:34:36 GMT
thank you for the info. i plan to build the shield on a perfboard. i will let you know how it goes. i ordered parts from china so it will be a while.
|
|
|
Post by richruss on Oct 7, 2019 2:46:45 GMT
Stefan,
I have received most of my parts so i started building my circuit today but i have a couple of questions. I am building on perfboard so i have to try to follow your circuit diagram and i'm not sure i'm reading it right. It looks like C1 and C3 connect electrically to the same points putting them in parallel across the rf module pins gnd and vcc which then connects to 3.3V on the arduino. is this correct? second question, I am only building the rf module side and leaving off the dmx stuff, is J7 needed or can i make it permanently closed?
|
|
|
Post by stefankrupop on Oct 8, 2019 9:25:04 GMT
C1 and C3 (as well as C2) are bypass capacitors for U1, U3 and U2 and thus should be placed as near as possible to the power pins of these chips, especially for the radio module. This is why C1 and C3 are connected to the same points, but have different locations on the PCB. J7 can be shorted, no problem.
Kind regards, Stefan
|
|
|
Post by richruss on Oct 8, 2019 12:25:35 GMT
excellent, thank you!
|
|
|
Post by djxmax on Aug 23, 2021 8:32:34 GMT
Hello, thanks for your great job of reverse engineering. I have two Xylobands, I plan to build this shield, but first I want to be sure that it works with xylo5-c.
|
|