🎁📬❄️📦 Holiday Shipping Deadlines are approaching! International customers and domestic ground - get your orders in 12/9/2020 📦❄️📬🎁
0

ItsyBitsy nRF52840 BLE as central and peripheral?
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

ItsyBitsy nRF52840 BLE as central and peripheral?

by ElJeffe on Mon Oct 12, 2020 5:48 pm

Hello, would you mind helping me choose the best wireless chip for my project? I am a relative beginner with some prior experience with the Trinket M0, but I am new to wireless. My project involves making a mechanical switch turn on/off an LED wirelessly without interacting through a computer, phone, or Arduino/Raspberry PI. I would like the chip to be as small as possible. Is the ItsyBitsy nRF52840 Express - Bluetooth LE the best choice for this? Additionally, can the ItsyBitsy nRF52840 act as both a central and peripheral, i.e. can I buy two ItsyBitsys and have them communicate without the need for additional computing power (Smart phone, computer, Arduino/Raspberry PI, etc.)? Reading through the ItsyBitsy tutorials, most projects connect and control the chip via the Bluefruit app, computer, or arduino/Raspberry PI.

Any expertise you can share would be greatly appreciated. Thank you for your time.

ElJeffe
 
Posts: 4
Joined: Mon Oct 12, 2020 5:25 pm

Re: ItsyBitsy nRF52840 BLE as central and peripheral?

by hathach on Tue Oct 13, 2020 7:52 am

Yeah nRF52840 can act as either peripheral or central therefore can talk to each others directly. Even better, it can simultaneously acts as dual role e.g: central to other 840 and peripheral to mobile. Following are guides/ stock example that you could get started with. The API may need a bit of time for learning, but nothing too complicated.

Peripheral: https://learn.adafruit.com/introducing- ... er/bleuart
CentraL https://learn.adafruit.com/introducing- ... al-bleuart
https://learn.adafruit.com/introducing- ... es-bleuart

hathach
 
Posts: 1137
Joined: Tue Apr 23, 2013 1:02 am

Re: ItsyBitsy nRF52840 BLE as central and peripheral?

by ElJeffe on Tue Oct 13, 2020 6:22 pm

Thank you very much hathach. I greatly appreciate the guidance.

ElJeffe
 
Posts: 4
Joined: Mon Oct 12, 2020 5:25 pm

Please be positive and constructive with your questions and comments.