Xyloband – part 4 – Basic Build

As mentioned in part 3, I bought a ready-made RF module off Ebay – the MRF89XAM8A-I/RM which arrived yesterday. It is the 868MHz version so should be ideal for driving the Xyloband. I’ve coupled it to a PIC16F1789 8-bit microcontroller from Microchip. I’ve written some C code (using the XC8 compiler) that configures the SPI interface between the two units. Various bytes are sent to the RF module to initialise it before moving into the transmit phase where I’ve programmed a random pulse pattern to be transmitted. The SPI interface appears to be working fine (based on oscilloscope traces).

Xyloband Update 4

I’ve taken the first back off the Xyloband and powered it from the 3.3v supply – the batteries in the Xyloband are AAAA so I’ll have to track down a supplier of those later. They are a few mm shorter than AAA and about 2/3 of the diameter.

Currently the Xyloband doesn’t light (apart from briefly when power is connected). The current consumption from my PSU also doesn’t imply any significant RF transmit. The only other piece of ‘test kit’ I have is an old radio scanner – tuning this to 869.5MHz doesn’t show any power on the VU meter.

I’ll have to re-read the datasheet on the MRF89XAM devices – I’m sure I’ve forgotten to set one of the registers correctly. My aims are to:

(1) Get the module to Tx at the required frequency

(2) Play with the output pattern until the Xyloband lights up….and replicate some of the Coldplay magic !

Advertisements

4 thoughts on “Xyloband – part 4 – Basic Build

  1. Sounds like we have different hardware – mine is white plastic and has 3 coin cell batteries. Like this one (it’s in Spanish but the best video I could find!): https://www.youtube.com/watch?v=KUH8YdNPjro

    Also, I bet ours operate on different bands since you’re in the UK and I’m in the US. I bet mine’s around the 400MHz band.

    I’m hoping to scope out the SPI communications between the micro and radio on mine this weekend. Even if we have different versions, that might reveal some clues to guide your tests. Who knows!

    Liked by 1 person

  2. hi Rodders,

    in europe the frequency is 434 Mhz maybe, do you have the picture for pcb xyloband inside ?
    i see on my xyloband pcb the crystal frequency 30Mhz, si4362 RF and the ATSAMD20 controller.

    if you want, it’s possible the sharing information ? not open all world 🙂

    best regard

    Liked by 1 person

    • Hi prog man,

      Thank you for your really useful information. I just looked that IC up and it’s the same as mine. Apparently does 142-1050MHz so could cover either band depending upon the firmware. I’ve added a new blog post with a couple of photos of my PCB; I wondered what the RF chip was.

      regards, Rodders

      Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s