{"id":1894,"date":"2019-07-23T03:21:59","date_gmt":"2019-07-22T21:51:59","guid":{"rendered":"https:\/\/judepereira.com\/blog\/?p=1894"},"modified":"2019-07-23T03:21:59","modified_gmt":"2019-07-22T21:51:59","slug":"nrf52840-circuitpython-5-0-0-pinout","status":"publish","type":"post","link":"https:\/\/judepereira.com\/blog\/nrf52840-circuitpython-5-0-0-pinout\/","title":{"rendered":"nRF52840 &#8211; CircuitPython 5.0.0 pinout"},"content":{"rendered":"<p>I recently got CircuitPython running on my SparkFun nRF52840 Pro Mini.<\/p>\n<p>Compared to what SparkFun says the pin mappings should be, I found them to be quite different. Perhaps they changed with CircuitPython 5.0.0?<\/p>\n<p>Here&#8217;s what the pin mapping looks like, when superimposed over SparkFun&#8217;s pinout diagram:<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/nrf52840-mini-graphical-datasheet-board-only-1000w-1.png?ssl=1\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1896\" data-permalink=\"https:\/\/judepereira.com\/blog\/nrf52840-circuitpython-5-0-0-pinout\/nrf52840-mini-graphical-datasheet-board-only-1000w-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/nrf52840-mini-graphical-datasheet-board-only-1000w-1.png?fit=804%2C501&amp;ssl=1\" data-orig-size=\"804,501\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"SparkFun Pro nRF52840 Mini pinout with CircuitPython superimposed\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/nrf52840-mini-graphical-datasheet-board-only-1000w-1.png?fit=300%2C187&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/nrf52840-mini-graphical-datasheet-board-only-1000w-1.png?fit=804%2C501&amp;ssl=1\" class=\"aligncenter wp-image-1896 size-full\" src=\"https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/nrf52840-mini-graphical-datasheet-board-only-1000w-1.png?resize=804%2C501&#038;ssl=1\" alt=\"SparkFun Pro nRF52840 Mini pinout with CircuitPython superimposed\" width=\"804\" height=\"501\" srcset=\"https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/nrf52840-mini-graphical-datasheet-board-only-1000w-1.png?w=804&amp;ssl=1 804w, https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/nrf52840-mini-graphical-datasheet-board-only-1000w-1.png?resize=150%2C93&amp;ssl=1 150w, https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/nrf52840-mini-graphical-datasheet-board-only-1000w-1.png?resize=300%2C187&amp;ssl=1 300w, https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/nrf52840-mini-graphical-datasheet-board-only-1000w-1.png?resize=768%2C479&amp;ssl=1 768w\" sizes=\"auto, (max-width: 804px) 100vw, 804px\" \/><\/a><\/p>\n<p>Sources:<\/p>\n<ul>\n<li><a href=\"https:\/\/learn.sparkfun.com\/tutorials\/nrf52840-development-with-arduino-and-circuitpython\">https:\/\/learn.sparkfun.com\/tutorials\/nrf52840-development-with-arduino-and-circuitpython<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/adafruit\/circuitpython\/blob\/0f003ac5b8312fafb120e86e05eefd2431014d8c\/ports\/nrf\/boards\/sparkfun_nrf52840_mini\/pins.c\">https:\/\/github.com\/adafruit\/circuitpython\/blob\/0f003ac5b8312fafb120e86e05eefd2431014d8c\/ports\/nrf\/boards\/sparkfun_nrf52840_mini\/pins.c<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>I recently got CircuitPython running on my SparkFun nRF52840 Pro Mini. Compared to what SparkFun says the pin mappings should be, I found them to be quite different. Perhaps they changed with CircuitPython 5.0.0? Here&#8217;s what the pin mapping looks like, when superimposed over SparkFun&#8217;s pinout diagram: Sources: https:\/\/learn.sparkfun.com\/tutorials\/nrf52840-development-with-arduino-and-circuitpython https:\/\/github.com\/adafruit\/circuitpython\/blob\/0f003ac5b8312fafb120e86e05eefd2431014d8c\/ports\/nrf\/boards\/sparkfun_nrf52840_mini\/pins.c<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[504],"tags":[646,648,647,650,651,634,649,640],"class_list":["post-1894","post","type-post","status-publish","format-standard","hentry","category-hardware","tag-circuitpython","tag-iot","tag-micropython","tag-mini","tag-nrf52","tag-nrf52840","tag-pro","tag-sparkfun"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pqtyx-uy","jetpack-related-posts":[{"id":1881,"url":"https:\/\/judepereira.com\/blog\/nrf52840-flash-s340\/","url_meta":{"origin":1894,"position":0},"title":"nRF52840 &#8211; flashing the s340 v6.1.1 SoftDevice","author":"Jude Pereira","date":"July 12, 2019","format":false,"excerpt":"This post is a work in progress (WIP). The result of this experiment is a success. I have flashed my SparkFun nRF52840 mini, and I'm able to run the bicycle combined speed & cadence sensor example. Before we begin, \u00a0a big hats off to\u00a0Charles, who brought support for the SparkFun\u2026","rel":"","context":"In &quot;hardware&quot;","block_context":{"text":"hardware","link":"https:\/\/judepereira.com\/blog\/category\/hardware\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1940,"url":"https:\/\/judepereira.com\/blog\/lessons-learnt-from-esp-now\/","url_meta":{"origin":1894,"position":1},"title":"Lessons learnt from ESP NOW","author":"Jude Pereira","date":"February 18, 2021","format":false,"excerpt":"For those of you who aren\u2019t aware of ESP NOW, it\u2019s a communication protocol developed by Espressif for their ESP modules. What began as a simple \u201chook up my plant lights to HomeKit\u201d, turned into a massive home grown firmware, but more about that in another post. I\u2019ve successfully setup\u2026","rel":"","context":"In &quot;hardware&quot;","block_context":{"text":"hardware","link":"https:\/\/judepereira.com\/blog\/category\/hardware\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/posts\/1894","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/comments?post=1894"}],"version-history":[{"count":4,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/posts\/1894\/revisions"}],"predecessor-version":[{"id":1900,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/posts\/1894\/revisions\/1900"}],"wp:attachment":[{"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/media?parent=1894"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/categories?post=1894"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/tags?post=1894"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}