Giter VIP home page Giter VIP logo

rileylink's Introduction

RileyLink

project chat

A custom designed Bluetooth Smart (BLE) to Sub-1 GHz module. It can be used to bridge any BLE capable smartphone to the world of Sub-1 GHz devices.

Setup

  • There is a FAQ covering some questions about installing the firmware.
  • @loudnate recorded a setup log of his experience.

Hardware

See the hardware directory for design files to build a RileyLink. The hardware design is released under Creative Commons Share-alike 3.0. This board has small parts and will need to be reflow soldered; using a solder-paste stencil is recommended.

RileyLink Hardware

Order a Pre-Assembed RileyLink

From time-to-time community members do a production run of pre-assembled RileyLink Boards. When they are available you can place an order here GetRileyLink

Firmware

The code in the firmware directory runs on the RileyLink hardware. There are two main chips on the RileyLink, and thus two firmware images.

LED Lights

There are blue and green leds near both chips. The ble113 is on the upper right of the board, and the cc1110 is in the lower middle.

Blue for the ble113 indicates there are packets received and ready for a phone to pick up. Green means the phone is connected to the ble113.

On the cc1110, I blue is a timer based on/off, letting you know the firmware code is running. Green is toggled when a packet comes in.

The other red LED indicates charging.

License

The MIT License (MIT)

Copyright (c) 2015 Pete Schwamb

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

rileylink's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rileylink's Issues

I have trouble with the rileylink

Thank you very much for such open-source project. I'm going to follow your steps to make my own rileylink, but the pump doesn't respond in time. I'd like to debug the link between the CC1110 and my pump, but it seems the protocol of Medtronic 722 is not available on the Internet. So I wonder if there are some basic commands I can send to the pump to test the wireless link ? Thanks a lot !!!

Power failure

Hi, I've using RileyLink and Loop since 1/20/2017. In the past few days Loop has not been connecting (indicated by red circle) and I realized that RileyLink is not holding a charge. Starting today it doesn't appear to be working at all, even when plugged in.

I saw there is an update coming. Question: Do I need to buy another one, or will a replacement be sent automatically? If I buy another, of course I'd like to have the new version.

Thanks!

The voltage converter design should follow recommendations from the datasheet

http://www.ti.com/lit/ds/symlink/tps63031.pdf #11.2

in particular the placement of the capacitors could be better.

Also I wonder how the induction coil was chosen? It seems to be 7x the internal resistance than the recommended types in the datasheet (0.7 Ohm vs. 0.1 Ohm or less).

(I have a problem with the tps chip getting really hot, but still keeping voltage - I'm theorizing there is some stray capacitance/inductance with some bad feedback. Everything else works.)

Provide battery voltage

It would be great to have a way to ask rileylink for the voltage of the internal battery to alert users when it needs to be charged. Not sure if that's possible with the current hardware or would need some changes?

bigger ble pads

bluetooth board part in eagle needs to be a bit bigger. Extend the pads out a little. Probably 1mm on the left and right side. This will allow hand soldering and better smt soldering with no bubbles

Mouser Project for UK/UE Rileylink

Hi

Attached is a Mouser project with enough components to make about 5 UK/EU Rilelylinks with a bunch of the cheap components spare (enough to lose / burn out / keep for later)

Note - it will not work in the USA as I've changed the Balun and Antenna as described at https://github.com/ps2/rileylink/tree/master/hardware#868mhz-eu-version

I'm not 100% sure the components are all correct yet - but if they are, it should ease ordering for other people, since they don't have to select from 27,000+ capacitor models.. Feedback on my selections is welcome. My one concern is it seems some of the capacitors in the diagram are electrolytic - but I couldn't find electrolytic capacitors in those ranges. I also had to switch the LEDs, as I couldn't find the model referenced.

http://www.mouser.com/ProjectManager/ProjectDetail.aspx?AccessID=2316caefe4

Once I know this works, I'll submit a PR and update the BOM

Oskar

Now I have found R9...

I see R4 is right above it but not listed in the parts list. I am building a 433Mhz board. Anything to be done here? Thank you

app: feature to configure pump as mysentry broadcast (pair)

MySentry has the user put the pump into a discovery mode, where it broadcasts packets including the pump id. The MySentry sends a response with its own id, which the pump then adds to its list of devices it accepts queries from. The pump also then starts broadcasting pump status messages every five minutes.

The screen should walk the user through this process, using a paired RileyLink, and display status updates as it receives packets from the pump and verifies it can talk to the pump.

ERROR WHEN ESTABLISHING THE PROFILE WITH ORANGELINK PRO

I am using Medtronic 754 with AAPS 3.1.0.3 dev F, and with Rileylink without problems, but I have bought a backup OrangeLink Pro c, updated with the latest available firmware and once linked with AAPS everything works except if I modify the profile and I try to activate NOT ESTABLISHED, constantly getting the error "Unable to establish the basal profile". I've tried creating new profiles, and it won't let me set them either, but if you change basal rates and send SMB,...

722 2.4A Set Clock fails

Tried setting clock with RileyLink on a Medtronic 722 Firmware Version 2.4A.
error result:

UnexpectedResponse(MinimedKit.PumpMessage(packetType: MinimedKit.PacketType.Carelink, address: <725960>, messageType: MinimedKit.MessageType.EmptyHistoryPage, messageBody: MinimedKit.UnknownMessageBody(rxData: <0c>)), MinimedKit.PumpMessage(packetType: MinimedKit.PacketType.Carelink, address: <725960>, messageType: MinimedKit.MessageType.ChangeTime, messageBody: MinimedKit.ChangeTimeCarelinkMessageBody))

Set clock also failed through mmeowlink / OpenAPS TI stick.
I haven't tried this directly with Carelink stick yet.

Split app from the firmware

Hi Guys,

I am getting a lot of messages from the repository. Would it be possible to split the GlucoseLink app from the firmware of the RileyLink. Would be great and it will be much clearer for me when the RileyLink needs to be updated.

Cheers,
Fokko

Packet decoding will need to account for pump model

There are a lot of folks now with hardware that plan to talk to X22 pumps, which have about a dozen encoding differences across major packets. The most common one is when decoding insulin amounts, since the X22 and X23+ have different stroke sizes. However, there are other cases where bytes are in different offsets.

One approach that should work would be to create a family of PumpModel classes with an index by model string, and a family of Message classes to handle the decoding. MinimedPacket should continue to be agnostic to the intricacies of the message data and focus on RF encoding/decoding and validation.

Thoughts?

Antenna 433MHz for omnipod rileylink in parts list

For the omnipod rileylink, it is a 433 MHz antenna but there is no branch omnipod where the antenna is replaced in the csv in the hardware folder. I am not sure which antenna is used to build the riley.

R9 - where is it?

I can find R9 on the PCB, silk screen or in Eagle but it is on the parts list. What am I missing? Thanks!

documentation

Can you highlight the specific register settings that make this work with the Medtronic pumps?

Parts list

Hi there

4 of the parts in bom.csv are obsolete on Digikey.com. I have been in touch with Digikey and they have provided part numbers for replacement products. Will you accept a pull request for an updated bom.csv and confirm the specs of the 4 new parts if I make the edit?

Thanks

Mike

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.