Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - waynek

Pages: [1]
1
Support / Using the Quadrature Encoder (QDEC)
« on: January 07, 2015, 01:14:15 AM »
Hi,

I'd like to use the quadrature encoder of the underlying NRF51822. 
I see from the ref manual (v3.0 page 158) that the pins used are configurable and that the RFduiono source has a default interrupt vector pointing to a empty handler.

Has anyone already tried todo this on the RFduino?
Has anyone got any pointers, examples or advice please?

All the best
Wayne

2
copy these files from the 'libRFduinoGZLL' folder:

libRFduinoGZLL.h libRFduinoGZLL.a

to: .../hardware/arduino/RFduino/variants/RFduino/

overwriting whats there already.

3
Getting Started / Re: Analog write on all pins
« on: September 23, 2014, 09:49:58 AM »
From what I've read the RFduino supports max 4 PWM outputs concurrently and some users have noticed they may not be clean waveforms when the radio is active.

4
Getting Started / Re: Crash on BLE restart
« on: September 23, 2014, 09:47:46 AM »
try this:

Code: [Select]
   
void RFduinoBLE_onDisconnect() {
    while (RFduinoBLE.radioActive);
    RFduinoBLE.end();
    delay(50);
    RFduinoBLE.begin();
}

Tinker with increasing the delay if it's not working for you.

5
Hi,

It's not related to BLE, it's for gazelle mode only.
They are just two 32bit numbers used as Gzll host/device logical addresses, think IP address

The values you see in my post are just the defaults Nordic define in the header, and so are what the any RFDuino sketches using the current in modified RFd SDK will use.

Being able to set just the hostBaseAddress on a 'host' and a 'device' to be the same allows you to have multiple rfduino hosts in the same room when you want multiple hosts/device groups.


6
BLE and Low Level Development / Re: Access to Gazelle Library Features
« on: August 19, 2014, 11:54:54 PM »
Hi,

I have been loving this thing! Great work RFDuino Team!!

I like that I can access functions and features of the Nordic SDK through your library.
Currently I'm using the Gazelle stack for a project, and want to have access to those functions. Is there an easy way to do this?

I have tried to rebuild the libRFduinoGZLL (successfully) but I get errors when I upload to the board. I am NOT using the SDK_v4.2.0 because I can't find it anywhere. This might be the issue....

I'm working on a project that requires fast data transmission rates, which appears to be working well.
One of the things that I'm very interested in is the ability to define more that 8 devices, and/or to be able to have a specific Host and Device only associate with each other.


I've posted a solution to this here: http://forum.rfduino.com/index.php?topic=329.0

7
If you have access to the Nordic SDK, you can use the RFduino GZLL library source code that is provided to rebuild the library. There is a file in the SDK called nrf_gzll_constants.h which contains some radio settings which you can change.

Hi,

In order to change the host or device base address a nordic API called is required.
I have created, and am currently testing, a modified libRFDuinoGZLL.[h|c] and RFduinoGZLL.[h|cpp] library where you can set the host and device addresses before starting GZLL, e.g.:

  RFduinoGZLL.hostBaseAddress=0x0D0A0704;
  RFduinoGZLL.deviceBaseAddress=0x0E0B0805;
  int status = RFduinoGZLL.begin(role);

Doing similar for the datarate would be a trivial task.   (He says, never having peeked this far into GZLL documentation before or written GZLL code...)
It would be good to see this in the official RFduino SDK.

PLease find the current modifications attached.
All the best
Wayne


8
 I have the SDK but until now I've never looked at GZLL or the source; for those that don't have access and just for ease of use wouldn't this be the way to go:

RFduinoGZLL.begin(role, hostAddress);

or if it has to be a compiule time constant the perhaps supply a number of precompiled libraries (say 8), each with different baked in addresses, that the user would simply have to rename by hand.

all the best
Wayne

Pages: [1]
anything