Monthly Archives: December 2016

STM32duino (STM32 Arduino)

  • STM32duino
  • Maple

ST STM32

Switching between Arduino cores:
There are three different Arduino cores for STM32 microcontrollers: STM32Duino, Arduino STM32 (maple) and STM32L0. All of them have been developed independently, therefore, have different functionality and set of internal libraries. By default, official STM32Duino core is used (except cases when a board supports only one specific core).

GitHub

github.com/stm32duino/Arduino_Core_STM32, STM32 core support for Arduino
github.com/rogerclarkmelbourne/Arduino_STM32, Arduino STM32. Hardware files to support STM32 boards, on Arduino IDE 1.8.x including LeafLabs Maple and other generic STM32F103 boards
github.com/bobc/maple-asp, Arduino Support Package For Maple
github.com/leaflabs/maple-ide, Development environment for the Maple ARM Cortex-M3 development board; forked from Arduino

STM32-GENERIC-Derivate
github.com/danieleff/STM32GENERIC, Generic implementation of Arduino for STM32 boards
github.com/huaweiwx/STM32GENERIC, Generic implementation of Arduino for STM32 boards
github.com/ChrisMicro/STM32GENERIC, Generic implementation of Arduino for STM32 boards

Tutorials

Arduino goes STM32
Arduino for STM32 (Forum)
Arduino for STM32 (Wiki)
The Arduino IDE with STM32

Videos

STM32 Arduino (STM32F103C8 / Programming STM32 with Arduino and Mac)
STM32 dev board first steps (linux)

Arduino Libraries

github.com/rweather/arduinolibs/, Arduino Cryptography Library
github.com/rweather/arduino-projects/, A collection of my libraries and examples for Arduino.
github.com/rweather/lightweight-crypto, NIST Lightweight Cryptography Primitives

Arduino Cryptography Library Documentation
ArduinoLibs Documentation

Interactive shell via UART serial for Arduino?

LCD

http://arduino.esp8266.com/stable/package_esp8266com_index.json

LiquidCrystal I2C

marcoschwartz/LiquidCrystal_I2C

old:
fdebrabander/Arduino-LiquidCrystal-I2C-library
LiquidCrystal_I2C.h library – for Arduino IDE 1.6.x
Arduino LiquidCrystal_I2C library

LED Matrix / Linsn LED Panel Controller

LED Matrix

Adafruit RGB Matrix Bonnet for Raspberry Pi
Controlling RGB LED display with Raspberry Pi GPIO
Controlling RGB LED display with Raspberry Pi GPIO (deprecated?)

Linsn LED Panel Controller

Ethernet-Protokoll für LED-Controller “Linsn”?
How to drive 4096 RGB LEDs (each 24Bit RGB brightness) with one STM32 Microcontroller (without much CPU load)
[Update] How to drive 8192 RGB LEDs (each 24Bit RGB brightness) with one STM32 Microcontroller (without much CPU load)
WordClock24h
WordClock mit WS2812
Reverse-Engineering a chinese LED screen control.. thing.
LINSN LED strips

Github

Tindie: D1 Mini Matrix Shield
github.com/2dom/PxMatrix, Adafruit GFX compatible graphics driver for LED matrix panels
github.com/freetronics/DMD, Arduino library to support the Freetronics Dot Matrix Display

YouTube

YouTube Button – Nerd Level [ESP8266, RGB LED Matrix]
RGB LED Matrix with an ESP8266 – How to get started
English version Led studio RCG file intelligent setup
Sending Card LINSN Dual L2

Anaconda Python

What is Anaconda

What is the difference between pyenv, virtualenv, anaconda?
Conda: Myths and Misconceptions
Why do people hesitate to use Python 3?
Should I use Python 2 or Python 3 for my development activity?

Miniconda

Preparing transaction: done
Executing transaction: done
installation finished.
Do you wish the installer to initialize Miniconda3
by running conda init? [yes|no]
[no] >>> no

You have chosen to not have conda modify your shell scripts at all.
To activate conda's base environment in your current shell session:

eval "$(/home/bacr/miniconda3/bin/conda shell.YOUR_SHELL_NAME hook)" 

To install conda's shell functions for easier access, first activate, then:

conda init

If you'd prefer that conda's base environment not be activated on startup, 
   set the auto_activate_base parameter to false: 

conda config --set auto_activate_base false

Thank you for installing Miniconda3!

Installing bigfloat

python bigfloat installation issues
Installing Bigfloat for Python

C:\Program Files\Anaconda3>conda install bigfloat
Fetching package metadata .........
Solving package specifications: .
PackageNotFoundError: Package not found: '' Package missing in current win-64 channels:
  - bigfloat
You can search for packages on anaconda.org with
    anaconda search -t conda bigfloat

C:\Program Files\Anaconda3>anaconda search -t conda bigfloat
Using Anaconda API: https://api.anaconda.org
Run 'anaconda show <USER/PACKAGE>' to get more details:
Packages:
     Name                      |  Version | Package Types   | Platforms
     ------------------------- |   ------ | --------------- | ---------------
     auto/bigfloat             |  0.3.0a2 | conda           | linux-32
                                          : Arbitrary precision correctly-rounded floating point arithmetic, via MPFR.
     bokonon/bigfloat          |  0.3.0a2 | conda           | win-32, win-64
                                          : Arbitrary precision correctly-rounded floating point arithmetic, via MPFR.
     clinicalgraphics/bigfloat |  0.3.0a2 | conda           | win-32, win-64
                                          : Arbitrary precision correctly-rounded floating point arithmetic, via MPFR.
     prkrekel/bigfloat         |  0.3.0a2 | conda           | win-32, win-64
                                          : Arbitrary precision correctly-rounded floating point arithmetic, via MPFR.
Found 4 packages

C:\Program Files\Anaconda3> conda install -c prkrekel bigfloat
Fetching package metadata ...........
Solving package specifications: ....
UnsatisfiableError: The following specifications were found to be in conflict:
  - bigfloat
  - python 3.5*
Use "conda info <package>" to see the dependencies for each package.

(C:\Program Files\Anaconda3) C:\WINDOWS\system32>conda install -c conda-forge gmpy2
Fetching package metadata ...........
Solving package specifications: ..........

Package plan for installation in environment C:\Program Files\Anaconda3:

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    conda-env-2.6.0            |                0           1 KB  conda-forge
    mpir-2.7.2                 |           vc14_3         2.9 MB  conda-forge
    vc-14                      |                0          985 B  conda-forge
    mpfr-3.1.4                 |           vc14_3         1.7 MB  conda-forge
    conda-4.2.13               |           py35_0         436 KB  conda-forge
    mpc-1.0.3                  |           vc14_3         263 KB  conda-forge
    gmpy2-2.0.7                |      py35_vc14_1         445 KB  conda-forge
    ------------------------------------------------------------
                                           Total:         5.7 MB

The following NEW packages will be INSTALLED:

    conda-env: 2.6.0-0           conda-forge
    gmpy2:     2.0.7-py35_vc14_1 conda-forge [vc14]
    mpc:       1.0.3-vc14_3      conda-forge [vc14]
    mpfr:      3.1.4-vc14_3      conda-forge [vc14]
    mpir:      2.7.2-vc14_3      conda-forge [vc14]
    vc:        14-0              conda-forge

The following packages will be UPDATED:

    conda:     4.2.9-py35_0                  --> 4.2.13-py35_0 conda-forge

Proceed ([y]/n)? y

Update Conda

==> WARNING: A newer version of conda exists. <==
  current version: 4.11.0
  latest version: 4.12.0

Please update conda by running

    $ conda update -n base -c defaults conda