【鼎革‧革鼎】︰ Raspbian Stretch 《三‧庚》

如果問聰明物件往何處尋找?上窮碧落出於九天,下黃泉入於九地 ,這麼『九天九地』的追求!善也!非善之善者也?!為什麼呢? ?因著『九』『六』之辨。想那《易經》唯獨『乾』『坤』兩卦有用『九』用『六』之文。有人講︰陽『極』曰『九』,陰『極』曰『六』。天地數『極』,恐將不在,故誡之以︰

用九:見群龍無首,吉。

用六:利永貞。

誰知《孫子兵法》中的『九』『六』之數︰

軍形』講『九天九地』,『地形』篇說『六』,『九地』篇談用『兵』。

,竟惹出了『武功』裡的『九』『六』之辯︰

九陽神功、九陰真經、六陰真經、六脈神劍 ………

,到底哪一個是絕世武功的耶??!!

此一番分解是因當今萬教所宣稱的『 IOT 』眾多,幾乎各個都言明『 SMART 』。作者不想陷入︰

這不是『肯德雞』。

的迷思,因此寫在前頭表白清楚,凡有所選,不過『之一』而已,絕非『唯一』,也無法稱霸武林。

於是作者順著 Mrphs 給的『麵包屑』

漢賽爾與葛麗特是 一個貧窮伐木工人的小孩。由於害怕食物不足,木工的妻子,也就是小孩們的繼母,說服木工將小孩帶到森林,並將他們遺棄。漢賽爾與葛麗特聽 到了他們的計畫,於是他們事先集了小石頭,這樣他們就能沿小石頭找到回家的路。在他們回來後,他們的繼母再度說服木工將他們丟在森林;不過這次,他們沿路 布置的是麵包屑。不幸的是,麵包屑被森林中的動物吃掉了,於是漢賽爾與葛麗特在森林中迷路了。……

─── 引自《春雷早發︰樹莓派 2 Model B ︰ jessie !!

,希望能夠抵達『糖果屋』。在『 Lego Mindstorms EV3 』詞條上

……

,最後發現了

GrovePi

!!?? W!o+ 的《小伶鼬工坊演義》︰ 九天九地

 

看過《小伶鼬工坊演義》全集者,自然知道作者曾經細說 GrovePi 之硬、韌、軟諸體,企欲讀者盡其用也。

雖然現在

GrovePi︰ ATMEGA328 + C

仍執牛耳︰

宋‧蘇軾《題西林壁》

橫看成嶺側成峰,
遠近高低各不同。
不識廬山真面目,
只緣身在此山中。

曾 聽 Mrphs 說︰ W!o+ 的工坊內各種物件星羅棋布,那裡頭最大的一塊區域擺著各類『感測器』。少年的他在觀察自然生物後,認為所謂『智慧組件』如果師法自然,首重『自主感測器』 的深入理解 。因為這是『生命』感知天地自我的第一步。並且那個『自主性』就是『智慧』藏身之處,賦予一個『組件』之聰明。若是將之適當組合就形成『聰明物件』。

雖然這也是作者選擇『 GrovePi 』的重要原因,

Port Description

The GrovePi is stacked on top of the Raspberry Pi without the need for any other connections.  Communication between the two occurs over the I2C interface. All Grove modules connect to the universal Grove connectors on the GrovePi shield via the universal 4 pin connector cable.

Grove modules, which work on analog and digital signals, connect directly to the ATMEGA328 microcontroller on the Grove Pi.  The microcontroller acts as an interpreter between the Raspberry Pi and the Grove sensors.  It sends, receives, and executes commands sent by the RaspberryPi.

In addition, the GrovePi allows you the Raspberry Pi to access some Grove sensors directly.  The Raspberry Pi has an I2C Bus and a Serial bus.  These buses can directly connect to sensors via the I2C Ports and the USART Port.

GrovePi Port description

GlovePi+

…… 摘自《W!o+ 的《小伶鼬工坊演義》︰ 經緯縱橫

 

焉知來者

pyboard: ESP8266 + Python

不如今者耶?

MicroPython

MicroPython is a lean and efficient implementation of the Python 3 programming language that includes a small subset of the Python standard library and is optimised to run on microcontrollers and in constrained environments.

The MicroPython pyboard is a compact electronic circuit board that runs MicroPython on the bare metal, giving you a low-level Python operating system that can be used to control all kinds of electronic projects.

MicroPython is packed full of advanced features such as an interactive prompt, arbitrary precision integers, closures, list comprehension, generators, exception handling and more. Yet it is compact enough to fit and run within just 256k of code space and 16k of RAM.

MicroPython aims to be as compatible with normal Python as possible to allow you to transfer code with ease from the desktop to a microcontroller or embedded system.

Quick reference for the pyboard

 

何況早有繼起者發展推廣之乎!

January 9, 2017 AT 5:04 pm

Welcome to the Adafruit CircuitPython Beta!

CircuitPython

Today we’ve released the first beta version of CircuitPython! CircuitPython is based on the open-sourceMicroPython which brings the popular Python language to microcontrollers. The goal of CircuitPython is to make hardware as simple and easy as possible. CircuitPython adds support for the SAMD21 processor found on the Arduino Zero and Feather M0s. Furthermore, many APIs including the hardware APIs have been reworked for the  SAMD21 and ESP8266. This rework ensures that APIs are consistent across processors and makes it easier to keep documentation up to date with implementation.  Lastly, the APIs common with CPython on desktop are strictly a subset which means code written for CircuitPython will work with CPython.

This beta is the precursor to a 1.0 version which will ship on upcominghardware designed for CircuitPython. A few things may change but the vast majority of the APIs are fixed. We’re focussed on creating awesome libraries and drivers on top of this new foundation to help verify the API design. Any help writing drivers, finding and fixing bugs is appreciated! Please file issues on GitHub and chat with us on Gitter.

To run the beta you need a Feather Huzzah, Arduino Zero or Feather M0. The bin files are available here. Instructions on loading MicroPython and CircuitPython are the same and are available here as a learning guide.

You can also support MicroPython and the creator, Damien George by purchasing official PyBoards at Adafruit as well as MicroPython stickers. Adafruit will soon be shipping CircuitPython boards, stay tuned to our weekly shows for more information and previews!