RSS
Sort by » date activity comments

4 blog posts tagged with python

0
comments
by gamnes

Nordic Thingy:52 Raspberry Pi Python Interface

Thingy:52 Python Raspberry Pi Interface

This blog is a follow up to both the Nordic Thingy:52 node.js/Raspberry Pi demos and the https://devzone.nordicsemi.com/blogs/1160/walkthrough-of-nordic-thingy52-nodejs-raspberry-pi/ blog posts. It will go through how you can set up and develop Python Thingy:52 applications on the Raspberry Pi.

Raspberry Pi Setup

Please follow the setup as explained in Node.js walkthrough to make sure the Raspberry Pi is setup as assumed for this blog post. We will be running the Raspbian operating system.

Running the Example

GitHub Clone

The Thingy:52 Raspberry Pi python implementation...

0
comments
by lfcerf

Programming nRF52832 boards in Python with Zerynth

image description

Released in December 2016, the new Bluetooth 5 offers truly exciting possibilities for home, industry, and commerce as well as the more traditional areas of wearables and personal devices historically associated with Bluetooth.

Nordic’s nRF52832 is a Bluetooth 5-ready SoC that combines an ARM Cortex-M4F microprocessor with a 2.4GHz multiprotocol radio, supporting Bluetooth Low Energy (BLE).

Zerynth provides a platform for programming nRF52832 boards in Python using paradigms and features typical of personal computer (PC) and mobile programming.

The Zerynth Stack

Enabling the use of Python for Microcontrollers and embedded solutions, Zerynth allows:

  • Time to Market Reduction
  • Flexibility...
2
comments
by Eirik Midttun

Weird issue with pyserial flow control

EDIT: It seems less weird now. See You will never guess how JLink deals with UART flow control for the full story.


Working on some Python code to control nRF51 and nrF52 targets I encountered a strange issue with pyserial.

I don't have the full explanation, but it seems to be Windows related and all the work has been on the JLink OB. But I did some observation that could be helpful for someone working on the same issue. It is quite fun to work with logic analyzers and sniffing USB packets and all that, but it takes a...

6
comments
by gamnes

nRF5x-Tools and nRF5x-Pynrfjprog Includes Linux and Python 3 Support

Over the last few weeks the Nordic team has been working on getting support for programming our devices in Linux as well as adding support for using our Python programming module ‘Pynrfjprog’ with Python 3.

We are pleased to report that this support has been added and published! We now support both Linux and Python 3!

image description image description

The tools offering now consists of the following components which can be downloaded from our webpages:

  • nRF5x-Tools-Win32 - nRF5x toolset installer for Windows (JLinkARM, JLink CDC, nRFjprog, and mergehex)
  • nRF5x-Tools-Linux - nRF5x toolset tar for Linux (nRFjprog)
  • nRF5x-Pynrfjprog - Python binding for nrfjprog.dll. Only usable in...
1

Tags