DiesUndDas

scratch 1.4 mesh network with scratchClient

Scratch 1.4 on raspberry pi allows to connect with other scratch instances on other computers. This is an experimental feature. This feature is not available in scratch1.4 for linux or windows, not in scratch2. With this feature multiple scratch 1.4 can share events and (global) variables. As this feature is experimental, there are some constraints […]

Posted in scratch, scratchClient, sensor | Comments Off on scratch 1.4 mesh network with scratchClient

howto: Edit scratchClient Config Files

There was a question on how to edit scratchClient config files. There was the need to add a Button to a GPIO. Button inputs are handled by a GPIOEventInput-Adapter. This short walkthrough will not explain all the details but will concentrate on where to find the files use an editor copy / paste an adapter […]

Posted in gpio, scratch, scratch2, scratchClient | Comments Off on howto: Edit scratchClient Config Files

scratch puzzle

Implemented using scratch1.4. The slight flicker results from the video capture/processing software. Do you have an idea how it works ?

Posted in Uncategorized | Comments Off on scratch puzzle

servo for scratchClient

During a conversation on scratch forum there have been quite a few issues to get a servo run on someones computer. Here a video on installation scratchClient on a new sd card, run scratchClient and prepare a script in scratch1.4. install scratchClient and running servo sample. The sequence is shortened a bit. Especially the system […]

Posted in Uncategorized | Comments Off on servo for scratchClient

scratch2 connected to scratchClient

Did you ever want to control GPIO from scratch2 ? Or other sensors connected to a raspberry pi ? The last days I worked on connecting scratch2 with GPIO on raspberry and more. To be precise, this is done by either using scratchx or since june 2017 with the standalone version of scratch2 for raspbian. […]

Posted in gpio, scratch, scratch2, scratchClient, sensor | Tagged | Comments Off on scratch2 connected to scratchClient

Raspberry Pi GPIO to web page

In the Rasperry Pi forum, there are quite often questions on how to get a GPIO pin status displayed on a web page. Common attempts are with CGI scripts; webiopi or other frameworks are proposed. CGI is quite outdated; and complex frameworks handle many technologies under the hood and leave few opportunities to learn. I […]

Posted in gpio, python | Comments Off on Raspberry Pi GPIO to web page

Sonic Pi controlled from scratch

Sonic Pi is great software to produce sounds and to program melodies. Sonic Pi has an API which allows to use some of the program statements from an external program. There are some places in the web where this feature is used with erlang- or ruby-code. This adapter for scratchClient and the programming in scratch¬† […]

Posted in scratch, scratchClient | Comments Off on Sonic Pi controlled from scratch

scratchClient and scroll_phat_hd

There is a nice little led matrix moard from PIMORONI, “SCROLL PHAT HD”. The form factor is for the pi zero, but it runs well also with a pi 3. scratchClient offers support for this board. The interface allows to set pixel with brightness, write large and somewhat smaller text and of course clear the […]

Posted in scratch, scratchClient, Uncategorized | Comments Off on scratchClient and scroll_phat_hd

minecraft and scratchClient

On raspberry pi, there is a local minecraft release available which supports a python API. There is a MinecraftAdapter available for scratchClient which supports this API and allows to do basic operations. For most of the operations, there are coordinate values to be set first before the operation is performed. Example: set position of ‘person’. […]

Posted in Uncategorized | Comments Off on minecraft and scratchClient

scratchClient with MQTT-Adapter

MQTT Description MQTT, Message Queue Telemetry Transport, is a is an ISO standard for a publish-subscribe based messaging protocol. It is based on TCP/IP (the ‘usual’ network protocol) and especially designed for small devices and low network bandwidth. A typical infrastructure contains at least one MQTT-Broker and one to many clients connected to the broker. […]

Posted in scratch, scratchClient | Comments Off on scratchClient with MQTT-Adapter