gregtomasch
New member
Hello Everyone!
I am a newcomer to the PJRC Forum but have been using Teensy 3.X products for a number of years now... The Teensy 3.2 was transformative; excellent form factor, lots of I/O, plenty of numerical processing power and all at a economical price. And perhaps most important, Teensy 3.X products are fully supported (through Teensyduino) by the Arduino IDE. So spend your time writing application code, not figuring out how to configure the IDE.
One problem area for small, powerful MCU development boards is the lack of wireless connectivity. The Nordic nRF52 is in principle combines BLE connectivity with a Cortex M4 MCU... However, I find using the Nordic SDK about as much fun as a trip to the dentist's office Having said that, the nRF52 does have very good capability as a Bluetooth enabled device... In either Peripheral or Central role. So why not let the Teensy and the nRF52 both do what they are good at?
So now there is an nRF52 add-on board for Teensy 3.X products. Here's a GitHub repository for the project: https://github.com/gregtomasch/Tlera_nRF52_MCU_Add_On_Board
The concept is simple. The nRF52 is programmed as a BLE/UART bridge in either Central or Peripheral role and is connected to a UART port (Serial1) on the Teensy. Data transfer between the two BLE devices is done using the Nordic UART Service (NUS). Data coming in from the paired BLE device is written to the Teeny's UART port. Data generated by the Teensy can be streamed to the paired device by writing it to the UART port connected to the add-on board.
If you have a smart phone/tablet with a BLE/NUS capable terminal application (such as the Bluefruit LE Connect App) The Teensy can stream data directly to your smart device. You can also use a second Teensy with a Central role add-on board to act as a gateway to a PC. Again, data transfer with the add-on is done over a Serial1. In the gateway MCU's programming, you can read data coming in over the BLE/NUS link and immediately write it to the Teensy's USB serial port... So simply open up a serial monitor on the gateway Teensy's USB port and you can see data streaming in from your remote Teensy board!
The nRF52 add-on board has been successfully tested on Teensy 3.2 and 3.6 in both Central and Peripheral roles. I hope others will find this capability useful... If I can help anyone make use of it, that would be my pleasure.
Best Wishes,
Greg Tomasch
I am a newcomer to the PJRC Forum but have been using Teensy 3.X products for a number of years now... The Teensy 3.2 was transformative; excellent form factor, lots of I/O, plenty of numerical processing power and all at a economical price. And perhaps most important, Teensy 3.X products are fully supported (through Teensyduino) by the Arduino IDE. So spend your time writing application code, not figuring out how to configure the IDE.
One problem area for small, powerful MCU development boards is the lack of wireless connectivity. The Nordic nRF52 is in principle combines BLE connectivity with a Cortex M4 MCU... However, I find using the Nordic SDK about as much fun as a trip to the dentist's office Having said that, the nRF52 does have very good capability as a Bluetooth enabled device... In either Peripheral or Central role. So why not let the Teensy and the nRF52 both do what they are good at?
So now there is an nRF52 add-on board for Teensy 3.X products. Here's a GitHub repository for the project: https://github.com/gregtomasch/Tlera_nRF52_MCU_Add_On_Board
The concept is simple. The nRF52 is programmed as a BLE/UART bridge in either Central or Peripheral role and is connected to a UART port (Serial1) on the Teensy. Data transfer between the two BLE devices is done using the Nordic UART Service (NUS). Data coming in from the paired BLE device is written to the Teeny's UART port. Data generated by the Teensy can be streamed to the paired device by writing it to the UART port connected to the add-on board.
If you have a smart phone/tablet with a BLE/NUS capable terminal application (such as the Bluefruit LE Connect App) The Teensy can stream data directly to your smart device. You can also use a second Teensy with a Central role add-on board to act as a gateway to a PC. Again, data transfer with the add-on is done over a Serial1. In the gateway MCU's programming, you can read data coming in over the BLE/NUS link and immediately write it to the Teensy's USB serial port... So simply open up a serial monitor on the gateway Teensy's USB port and you can see data streaming in from your remote Teensy board!
The nRF52 add-on board has been successfully tested on Teensy 3.2 and 3.6 in both Central and Peripheral roles. I hope others will find this capability useful... If I can help anyone make use of it, that would be my pleasure.
Best Wishes,
Greg Tomasch