Closed

Time Stamp and synchronization over Bluetooth via Nordic Timeslot API

This design will be all software, no hardware layout/ pcb manufacturing required.

Description: This system will be composed of 3 devices (Remote Bluetooth, Central Bluetooth, and the application board. The purpose of this system is to wirelessly observe remote events and provide accurate timestamps so that the application board knows at what time the event occurred according to its own internal time. While running the remote will also pass keep alive messages to the central, and the central will provide its own keep alive messages and remote status messages (based on remote keep alive) to the application board. When no longer necessary the central will also be able to put the remote into a standby mode to conserve battery life.

Event: GPIO pin raised high.

Event Clear: GPIO low

Remote/Central Communications: Event Timestamp, Event Clear Timestamp(Event and Event Clear message have a max latency of 20ms and preferably 10ms, the time stamps should provide time accurate to within 50 microseconds), I'm Alive message (error if no alive message for >100ms), Go to Active Observe message, Go to Standby message.

Central/Application Communications(Serial Based): Remote error message (no i'm alive for 100ms), go to active(send message to remote to go active), go to standby(message remote to go standby), Event occurred (Toggle GPIO and send time offset so accurate calculation for time of event occured),

Event Cleared (Same as previous), Remote ready (signifies to application remote has gone into active mode and is ready for observation)

Example walkthrough of system for an Event: The remote and central bluetooth's synchronize their clocks together using the Raw Radio API provided by Nordic (will link to example application). Let's say an even occur at time tick 620 of the remote (which should be syncronized to central), it produces and event message with a time stamp of 620. The central Receives the message somewhat later at its own time of time tick 830 (this time is not the one used) it goes to raise the GPIO tied to the application board high. It notes the time as 834 ticks and prepares an event occurred message sending the value 214 (830 - 620). On the application side it sees the gpio toggle, this generates an interrupt where the current time is noted and flag is generated waiting for the message.

After the message comes though the time for event is calculated as ( (time at interrupt) - (time ticks in event message)).

Central (Nrf52832 DK): Implements master/central bluetooth, serves as the master for time sync for raw radio as well. Communicates with the remote (as previously described) and controls connection. Communicates with application board as per described via UART and a generated message API.

Remote (NRF52832 DK): Implements slave/peripheral bluetooth, syncronizes clock with master by use of the Radio TimeSlot API. Generates I am alive messages, Event messages, and event clear messages based on a GPIO pin.

Application (probably arduino): Mostly used as a reference and for validation purposes that the time sync and event observation stacks work.

Verification: A common gpio pin will be tied to the input of both the application board and the input of the remote. The application board will output via UART (To pc console), a comparison of the time noted from its gpio and the one calculated from the remote. The times should be < 50 microseconds difference. The latency between the event occurring and the GPIO of the central toggling should be less than 15 milliseconds.

Link to time sync example: [login to view URL]

Sorry small mistake in description: In time example walkthrough calculated time should be (834 - 620). 834 being the time that the central toggled the gpio line to signify an event to the application board.

Skills: Arduino, Electrical Engineering, Electronics, Microcontroller, PCB Layout

See more: ble time synchronization, nordic infocenter, bluetooth keylogger time stamp, time stamp word transcribing, php redirect script time stamp, bluetooth gps javame api, real time gps tracker bluetooth, calculate time driving distance using google maps api, time stamp equals change background php, bluetooth signal strength api, upload files time stamp, flv player time stamp, list alarm time stamp, outlook time stamp appointment setup, design brochure using photoshop, date time stamp bluetooth, design interface using adobe photoshop vbnet, time delay database design, design calculator using macromedia script, design website using joomla need template pages

About the Employer:
( 0 reviews ) State College, United States

Project ID: #17062406

10 freelancers are bidding on average $668 for this job

mechatronicsengr

Hi, I hope you are doing well. I have expertise in nRF52 based Bluetooth Programming and also I have worked with RTC time profile of bluetooth. At the moment I do have Redbearlab Nano and Blend hardware availabl More

$789 USD in 10 days
(61 Reviews)
6.4
amelectronics

Hello I have experience in designing electronics circuits and can make your project. For your assurance, i can just say that, "I AM IN CHINA RIGHT NOW AND I CAN SHIP COMPLETE WORKING PROTOTYPE TO YOU AND WILL GET THE More

$1000 USD in 20 days
(29 Reviews)
6.3
SPARKtechBD

Worked on Arduino, Raspberry Pi to build IoT device and other devices. I like to work on your project to move it successful and longterm support. Before that please make a flow chart of your requirements. 15 years More

$750 USD in 30 days
(7 Reviews)
5.5
LeoTheFreelancer

******************************************************* my Team of, students/ Senior students freelancers and I ******************************************************* *Hiring student/ senior student or/and expe More

$555 USD in 10 days
(9 Reviews)
5.6
$555 USD in 10 days
(37 Reviews)
5.0
nishanthamahesh

Dear Sir, I have perfect experience in firmware programming for Bluetooth applications based on nRF51822. I can provide you full functioning codes for your project. Best Wishes

$666 USD in 10 days
(4 Reviews)
3.2
ankitpitroda

Hello Sir, I am a pro in Arduino, Embedded Linux, RaspberryPI, Shell Scripting, Python, Image Processing, OpenCV, MATLAB, node-MCU, IOT, ESP8266, QT & circuit designing. For more details see: [login to view URL] More

$555 USD in 10 days
(1 Review)
2.8
$550 USD in 10 days
(2 Reviews)
1.3
$700 USD in 20 days
(1 Review)
0.8
ahmednaser89

hello Dear I will be glad to work with you

$555 USD in 5 days
(0 Reviews)
0.0