Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Arduino Nano 33 BLE Sense Rev 2 #7991

Closed
applecuckoo opened this issue May 17, 2023 · 4 comments
Closed

Add Arduino Nano 33 BLE Sense Rev 2 #7991

applecuckoo opened this issue May 17, 2023 · 4 comments
Labels
board New board or update to a single board enhancement nordic
Milestone

Comments

@applecuckoo
Copy link

applecuckoo commented May 17, 2023

This is a new version of the already-supported Arduino Nano 33 BLE Sense. I opened this issue to discuss the now discontinued Rev 1, but I repurposed it for the Rev 2 after figuring out that all the pins for the Rev 1 were already defined for the Nano 33 BLE port. See #7991 (comment) further below for more information.

Arduino documentation: https://docs.arduino.cc/hardware/nano-33-ble-sense-rev2
Pinout: https://docs.arduino.cc/resources/pinouts/ABX00069-full-pinout.pdf

@dhalbert
Copy link
Collaborator

If you'd like to contribute a board definition, that would be great. In the other issue you mentioned you don't own the board. Do you have one now?

@dhalbert dhalbert added the board New board or update to a single board label May 17, 2023
@dhalbert dhalbert added this to the Long term milestone May 17, 2023
@tannewt tannewt added the nordic label May 17, 2023
@applecuckoo
Copy link
Author

@dhalbert No, I don't own this board. I could probably start from the existing definition, but I should probably get my current PR (#7989) merged before I start work on this.

@applecuckoo
Copy link
Author

I've specifically changed the scope of this issue to focus on the newer Rev 2 version of the board since the existing definition incorporates the sensor pins in pins.c, as seen here:

{ MP_ROM_QSTR(MP_QSTR_MIC_PWR), MP_ROM_PTR(&pin_P0_17) },
{ MP_ROM_QSTR(MP_QSTR_PDMCLK), MP_ROM_PTR(&pin_P0_26) },
{ MP_ROM_QSTR(MP_QSTR_PDMDIN), MP_ROM_PTR(&pin_P0_25) },
{ MP_ROM_QSTR(MP_QSTR_INT_APDS), MP_ROM_PTR(&pin_P0_19) },

There are a few differences between the two revisions pin-wise, here is a list of them that I've picked up:

  • The LPS22's interrupt pin is now connected to the board at P0.12
  • The LSM9DS1 has been substituted for two sensors combining to form a 9-DoF IMU.
    • One of these sensors, the Bosch BMI270, has two interrupt pins connected at P0.11 and P0.20 respectively. This isn't very useful at the moment since a CircuitPython library doesn't exist for the BMI270, but it could be handy if one ever gets developed.
  • There are also two pins that you can turn off to disable sensors:
    • p0.22 for the IMU, LPS22 and HS3003 humidity sensor
    • And p0.17 for the mic.

I hope this helps for anyone making a board definition for the Rev 2.

@applecuckoo applecuckoo changed the title Arduino Nano 33 BLE Sense board def? Add Arduino Nano 33 BLE Sense Rev 2 May 18, 2023
@applecuckoo
Copy link
Author

Closed by #9347.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
board New board or update to a single board enhancement nordic
Projects
None yet
Development

No branches or pull requests

3 participants