PushTheWorld / OpenBCI_NodeJS_Cyton_BLE

NodeJS Driver for Running 2-Channel Cyton Over BLE
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

How to enable BLE for Cytone? #2

Closed bitabs closed 6 years ago

bitabs commented 6 years ago

I've managed to get my hands on BLE and everything is ready. One thing remains is that the Cyton is not publicly visible, even though its switched to BLE mode instead of PC.

Is there any modification that we must do?

In the post, we are told that the RFDuino must import the RFDuino.h. How do we do this in order to allow BLE?

capture
andrewjaykeller commented 6 years ago

You need to hardware upload the ble code on the cyton’s RFDuino AFTER over the air uploading the BoardWithBLE.ino to the Cyton’s Pic32

bitabs commented 6 years ago

Sorry to be a pain, I have absolutely no idea how to do this (extremely new to arduino programming)?

So do you want me to upload the whole directory? If so then specifically where? or what chunk of code must I copy?

And could you please clarify "over the air uploading the BoardWithBLE.ino to the Cyton’s Pic32"?

Thanks a bunch!

@aj-ptw

bitabs commented 6 years ago

Could you perhaps provide READme, this way you won't have to repeat the same instruction to those who might be looking for the same content?

andrewjaykeller commented 6 years ago

@NaseebullahSafi

Thank so much for your interest in the project! I have just added a section in readme that i hope provides a little more clarity. Helping you achieve your goals is my number one goal so please do not stress about annoying me, I love when people ask lots of questions, because there are even more people not asking these questions.

On another note, and please understand, I had to edit your comment above, (pain in the ...) to align with the code of conduct. There are people of all ages and creeds combing through these pages and we want to create a welcoming and profanity free atmosphere! I'm really excited to have you as a part of the community and I'm ready for the opportunity to help your professional development!

bitabs commented 6 years ago

Apologies, you had every right to do so what you wished. I shall bear that in mind. Thanks a ton!

andrewjaykeller commented 6 years ago

Absolutely no problem! I didn't answer your questions 100% so please let me know if you have any troubles!

bitabs commented 6 years ago

@aj-ptw I'm currently following every step at the moment. Was wondering, I bought the cyton board last week or so, and in the tutorial, it says "If you have blue buttons on your board you do not need the 0.1uF capacitor because it is already on the board.".

Where are these buttons usually located on the board? I think I have the latest cyton board.

Thanks

andrewjaykeller commented 6 years ago

I would assume your board already has it and try with out the capacitor.

Thanks,

AJ Keller

Push The World LLC http://www.pushtheworldllc.com/ Unleash The Power of Thought

Warning: The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and destroy this material.

On Jan 26, 2018, at 10:14 AM, Naseebullah Safi <notifications@github.com mailto:notifications@github.com> wrote:

@aj-ptw https://github.com/aj-ptw I'm currently following every step at the moment. Was wondering, I bought the cyton board last week or so, and in the tutorial, it says "If you have blue buttons on your board you do not need the 0.1uF capacitor because it is already on the board.".

Where are these buttons usually located on the board? I think I have the latest cyton board.

Thanks

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/PushTheWorld/OpenBCI_NodeJS_Cyton_BLE/issues/2#issuecomment-360811254, or mute the thread https://github.com/notifications/unsubscribe-auth/AK6FnVjA_l1MDBcbu27NVcQDJou_cmZDks5tOevLgaJpZM4RtOSm.

bitabs commented 6 years ago

I see, ok, so when I press the pins to cyton board, what do I do then? In the tutorial, it says: "press them tightly against the sides of the holes to make a strong connection. Now, you can upload Device code to the RFduino on the OpenBCI 8-bit Board!"

But which which device code? @aj-ptw

andrewjaykeller commented 6 years ago

You have a Cyton board, not an 8-bit board.

So your instructions are:

On the Cyton Board the pins you need to connect to are accessed from the BOTTOM of the board. Connect the jumper wires to the center of the pads as shown and press tightly while uploading to the Device. Helpful tips: Use a 4pin female header to keep the wires in place Don’t move your hand at all Place the board on a table or hard surface Keep the pins straight up and centered on the pads. (perpendicular to the surface of the pads)

Your question:

But which which device code?

Upload OpenBCI_RFDuino_BLE

This should have be answered by the readme section

Upload DefaultRadio.ino to the Cyton's RFDuino through hardwire following this tutorial where you use the DefaultRadio.ino from OpenBCI_RFDuino_BLE. If you don't have an FTDI programmer and need to use the Dongle that shipped with your Cyton, then be sure to follow the part in the tutorial about uploading the pass through code to the Dongle.

Do you have any suggestions on how I can improve the README? I would love it if you could edit the readme and suggest a change through a pull request, or I'm happy to update as well!

bitabs commented 6 years ago

Yes thank you, as soon as I get this working, I'll upload the readme with pictures to clarify much confusion. Thanks.

andrewjaykeller commented 6 years ago

@NaseebullahSafi AWESOME!! Thank you so much!!!!!

andrewjaykeller commented 6 years ago

Keep the questions coming! Thanks so much for your help

bitabs commented 6 years ago

@aj-ptw Thank you. So I'm trying to upload RadioPassThrough32bit in Upload Pass Thru Radio Firmware Version 2.x.x (Fall 2016)

capture

And I get the following error. Could you please explain how to fix that?

andrewjaykeller commented 6 years ago

Please refer to these instructions to setup your system for uploading.

You must use 1.5.8 Beta

bitabs commented 6 years ago

@aj-ptw I manage to make it work. I will definitely update the README. Thanks for all the help and patience! 👍

andrewjaykeller commented 6 years ago

@NaseebullahSafi you just made my day!

bitabs commented 6 years ago

@aj-ptw Just One question, where do we specify which channel would we want to receive? In the GUI I had only cared about channel 4.

andrewjaykeller commented 6 years ago

You automatically get channel 1 and 2. Can you adapt to using just those?

bitabs commented 6 years ago

@aj-ptw ah right, ok thanks. Yh should be able to adapt to those 2. I'm gonna close this issue as it has been resolved.