Blog

Weekend after week 3

Laser cutting rules OK


IMG_3157

IMG_3159

IMG_3160

Now it just needs an arm, the electronics and the software …


Sunday

Clifden is full of tradition

IMG_0660.JPG

IMG_0669.JPG

IMG_0689.JPG

IMG_0693.JPG

I’m going as slow as I can …

IMG_0691.JPG

What a sight!

IMG_0692.JPG

The Academy of Observation

PIR

PIR sensor

From blypower via Amazon
How do PIR sensors work?

  • € 2.79
  • Operating voltage: DC 5 – 20 V
  • Static consumption: 65 microamps
  • Adjustable delay time: 0.3 to 18 seconds
  • Range: 7 m
  • Size: 3.5 x 2.5 x 2.5 cm
  • Blockage time: 0.2 s
  • Temperature range: -15’C – 70’C
  • Weight: 9 g

3-pin connector labelled


VCC
OUT
GND

Preset pots labelled


SX – sensitivity
TX – time anticlockwise = min. (min. seems to be about 3 sec)


PIR_bottom
PIR_top_no_lens

Neujahr 2015

TXT ME

TXT ME receives SMS messages and displays them, one letter at a time, by raising arms with letters on the end. Our world is getting faster and faster, so this deliberately takes its time and slowly “reads out” your message. You have to concentrate or you will miss a letter. You will find it hard to avoid trying to guess what a word will be when only a few letters have been revealed. Patience is required, it will not be rushed. If no one sends any messages, after a while it reads out TEXT ME as an invitation.


In der S-Bahn


captiondistraction


Cedric auf dem Weg nach Potsdam


FullSizeRender 9

Consti auf dem gleichen Weg


FullSizeRender 19


Sansoucci


FullSizeRender 20

FullSizeRender 29

FullSizeRender 18


Das Technische Museum Berlin


FullSizeRender

FullSizeRender 16

Der Wind im Technischen Museum

FullSizeRender 8

FullSizeRender 21

FullSizeRender 17


Potsdamer Platz


Der Wind verfolgt uns


FullSizeRender 9

FullSizeRender 12

FullSizeRender 19

IMG_4479

FullSizeRender 7

FullSizeRender 24

FullSizeRender 13


Donuts for dinner


FullSizeRender 15

FullSizeRender 6

FullSizeRender 11

 

Molecule Men


FullSizeRender 3

FullSizeRender 4

FullSizeRender 25

FullSizeRender 18

FullSizeRender 20

FullSizeRender 22

FullSizeRender 23

Crystal Ball

Prototyp_1

The Crystal Ball

You can’t have it all
But a crystal ball
Shall reveal all
With no embroidered shawl
But fisheyes two
A Raspberry Pi three
Ultrasonic sensors four
And PIRs on each wall  
A projector quite small
Processing then does it all

Sample_starscape

Only the initiated can see through this 21st century crystal ball. Approach it in the right frame of mind and your gestures will reveal all, even if you can only ever see half of the story. For the first time, its secrets are revealed here for all true believers.

The Raspberry Pi software

What does the Raspberry Pi software have to do?

  • Boot Raspbian operating software from a 32 Gbyte plug-in MicroSD card
  • Display the user interface image via an HDMI interface
  • Support WiFi access
  • Allow FTP access via WiFi to copy image files
  • Allow VNC access via WiFi to allow a remote user interface
  • Read out 4 ultrasonic sensors meant to detect hands
  • Read out 4 passive infrared sensors meant to detect people
  • Supply a sound signal via the HDMI interface
  • Support the Processing software

Block diagram

Crystal_ball_block_diag2_512

First steps

  1. Download  the experimental image including Raspbian and Processing onto your desktop computer.
  2. Unpack the downloaded file (double-click on file).
  3. Copy the unpacked image onto a 32 Gbyte MicroSD card
  4. Put the MicroSD card into your Raspberry Pi3.
  5. Temporarily connect the Pi3 to any display with an HDMI interface
  6. Temporarily connect a keyboard & mouse to the Pi3 USB ports
    (Once remote access is possible these temporary items won’t be needed.)
  7. Power up the Pi3.
  8. Change the Raspbian preferences to match the keyboard connected under Menu->Preferences->Keyboard settings.
  9. From the Pi3 log in to the same WIFI network used by your desktop computer
  10. Install X11vnc on Raspbian. Using X11vnc means that you can directly view/control the same session as you see on the screen connected via HDMI.
  11. Download the Real  VNC Viewer onto your desktop computer to access the Pi3 screen, keyboard & mouse remotely.
  12. Check that the iMac can access X11vnc properly e.g. use address 192.168.2.111
    A fixed address would be good. How to set up a fixed IP address
  13. Check that the your FTP client can access Pi3 with
    IP address – e.g. 192.168.2.111
    user – pi
    password – raspberry
    protocol  – SFTP.
    (SFTP is easier to setup than FTP as Raspbian has SSH enabled by default)
    If your FTP client complains about change in the Pi’s key, delete the old entry for Raspberry Pi in ~/.ssh/known_hosts.
  14. Remotely log in to Pi3 from Mac using VNC Viewer
  15. Configure X11VNC to start automatically (use nano not vim).
  16. Expand the Pi3 file system to use the full SD card capacity
    Open a terminal window on the Pi3 and enter
    sudo raspi-config
    to open the Pi3 configuration and “Expand Filesystem” to ensure that all of the SD card is used.
  17. Update Raspbian.
  18. Reboot the Pi3
  19. In a Pi3 terminal window enter
    sudo raspi-config
    and enable SPI to allow access to the 8 analogue inputs for the Pi
  20. Update the Processing software in a Pi3 terminal window
    curl https://processing.org/download/install-arm.sh | sudo sh
  21. This loads the software to e.g.
    /usr/local/lib/processing-3.2

The hardware

  • Wire up the SPI bus to the MCP3008

 

Help with Processing

Daniel Shiffmann has a Youtube channel called Coding Rainbow.

Abe Pazos has a great web site call Fun Programming.

Camera

https://github.com/processing/processing/wiki/Raspberry-Pi#video-library-capture

Problems

Raspberry Pi 2 software is not compatible with Raspberry Pi 3 software

  • The OS Raspbian is different
  • The Processing image is different
  • Arduino has lots of support for sensors
  • Raspberry Pi supports some sensors but they are not integrated into Processing
  • Processing has a GPIO library but I haven’t found ready-made ultrasonic sensor support. I could use a serial interface but there’s only 1 on the Pi.
  • Using a Raspberry Pi and an Arduino seems too much, but maybe it’s the path of least resistance.

Preparing Raspberry Pi 3 – OLD

  1.  Download  the experimental image including Raspbian and Processing that supports Raspberry Pi3 to iMac.
  2. Unpack the downloaded file (double-click on file).
  3. Copy the unpacked image onto a 32 Gbyte MicroSD card
  4. Put the MicroSD card into Pi3
  5. Connect Pi3 to TV with full HDMI interface
  6. Connect Pi3 to local WLAN
  7. Change Raspbian preferences for correct keyboard
  8. Open Epiphany web browser
  9. To configure Pi3 for 7 inch HDMI LCD panel (LCD won’t work otherwise)
    Enter command

    sudo su

    Go to boot directory

    cd ../../boot

    Use the nano editor

    nano config.txt

    to add the following code to the end of /boot/config.txt:

    max_usb_current=1
    hdmi_group=2
    hdmi_mode=1
    hdmi_mode=87
    hdmi_cvt 1024 600 60 6 0 0 0
  10. The laser projector doesn’t need that. The HDMI interface must either tell Pi3 what size the display is, or it must be configured. The 7″ LCD display doesn’t support this so either the projector must be connected first as it doe support that, or set the projector’s pixel size in config.txt.
  11. Install X11vnc on Raspbian
  12. Download Real VNC viewer onto iMac to access the Pi3 screen remotely.
  13. Check that the iMac can access X11vnc properly use address 192.168.2.111
    Question. use fixed IP address? How to set up a fixed IP address
  14. Check that the Viscom FTP client can access Pi3 with
    IP address – 192.168.2.111
    user – pi
    password – raspberry
    protocol  – SFTP.
    (SFTP is easier to setup than FTP as Raspbian has SSH enabled by default)
    If FTP client complains about change in the Pi’s key, delete old entry for Raspberry Pi in ~/.ssh/known_hosts.

See if Pi speeds up when x11vnc disconnected


A/D converter

MCP3008 (datasheet)

Adafruit suggestion

Processing code suggestion

Enable the SPI interface in the P3 config.

Ultrasonic sensors

LV-MaxSonar EZ MB1010
www.maxboxit.com

Processing software

How to embed Processing onto a web site
[processing]
/***************************************************************
* Kims tree also known as Jack and the beanstalk
* Fish appear instead of fruit
* Make bunches of fruit
* Flower before fruit?
* last change 11 April 2016
* See http://drifkin.net/processing/beziereditor/
***************************************************************/
float loopCount;
float oldxStemStart=0;
float oldyStemStart=0;
int standStill=0;
void setup()
{
fullScreen();
background(0);
}
/***************************************************************
* The loop
***************************************************************/
void draw()
{
color leafColour;
float xStemStart, yStemStart, xStemEnd, yStemEnd;
int growthSpeed=150; // bigger = slower

// Draw stems
xStemStart= mouseX;
yStemStart= mouseY;
xStemEnd= random(xStemStart-100, xStemStart+100);
yStemEnd= random(yStemStart-100, yStemStart+100);
stroke(#745106); // Brown
strokeWeight (7);
line (xStemStart, yStemStart, xStemEnd, yStemEnd); // Draw stem for 1 leaf
line (oldxStemStart, oldyStemStart, xStemStart, yStemStart); // Draw main stem

// Draw berries
if (oldxStemStart == xStemStart) // Check whether mouse is moving
{
standStill++; // If not moving increment standstill counter
if (standStill>4) // If long pause, grow berries
{
noStroke();
fill(#CE063C,150); // red, slightly transparent berries
ellipse (xStemStart, yStemStart + (standStill-4)*40, 40, 40);
fill(255); // with a white highlight
ellipse (xStemStart+5 , yStemStart-10 + (standStill-4)*40, 10, 10);
if (standStill==14) standStill=0; // stop after 10 berries
}
} else
{
standStill=0; // reset counter
}
oldxStemStart = xStemStart; // remember where last mouse position was
oldyStemStart = yStemStart;

// Draw leaves
leafColour = color(random(0, 100), random(150, 255), random(0, 190)); // Greenish colours
drawLeaf(xStemEnd, yStemEnd, random(100, 200), random(360), leafColour);

// Fade old content
if (loopCount++ %4==0) // make old stuff fade. Bigger number fades more slowly
{
noStroke();
fill(0, 12);
rect(0, 0, width, height);
}
delay(growthSpeed); // Control fertilizer
}

/***************************************************************
* Draw one leaf
***************************************************************/
void drawLeaf(float x, float y, float leafLength, float theta, color leafColour)
{
pushMatrix();
translate(x, y); // Reset 0,0 to wherever the leaf is to start
rotate(radians(theta));
fill(leafColour); // fill colour
stroke(#045A1E); // stroke colour
beginShape();
vertex(0, 0); // Leaf root is always at origin
bezierVertex(
0.15*leafLength, 0.3*leafLength, 0.4*leafLength, 0.45*leafLength,
leafLength,
-leafLength*0.05
);
bezierVertex(
0.6*leafLength, 0, 0.45*leafLength, -0.45*leafLength, 0, 0);
endShape();
popMatrix();
}
[/processing]

Jack & the Beanstalk

My first Processing experiment on Sketchpad.
Experimenting with Bezier curves. Thanks to Abe for his great instructional site – http://funprogramming.org

Kim’s Amazing Ant Circus




There is an online version to try yourself. It’s best with Firefox, mostly works with Internet Explorer, doesn’t work at all with Safari.

It is a small Processing sketch using sound and the computer’s camera. The online version uses p5.js.

Climbing lamp

 

Climbing_lamp

It’s hard getting to the top …

Insect camera

Is there any way to access the camera on an iphone

http://p5js.org/reference/#/p5.MediaElement

Getting started with p5.js version 0.5.3 fetched 23. August 2016.

 

9 September Southwold pier

southwold

Southwold Pier

pier_mirrors

Mirror, mirror on the wall, who is the fairest of them all?

booth_of_truth

A truthful Booth

flying_machine

Experiencing life as a fly

george_orwell

 

coin_game

Shove tuppence machine

Test

[rev_slider Revolution]

Door trumpet

Take wireless doorbell for the connection to the existing bell

Pushbutton + Receiver

Strong servomotor 

Torque at 7.4 V = 268 Ncm

 

DS8203 MG servo from Reely (Conrad link)

UK 2017 Plan

Hull City of Culture 2017

Hull 8, 9, 10 August

Kingston Theatre Hotel

Yorkshire Sculpture Park

Hebden Bridge 11 12 13 August

Old Cragghall Barn

York 14 15 August

Middletons Hotel

Provence & Côte d’Azur 2018 plan



 

Edit map

Choose one day from the list to see just that day. Otherwise use this link to see everything on a very long page.

My-adventure-tours Marseille

Avon-les-Roches 13 km

Brochure (PDF)

Marcilly / Maulne Braye / Maulne 11 km

Brochure

Champigny-sur-Veude 11 km


Brochure

Schloss Derneburg 2017

Edit
Wenn Sie ein Navigationssystem benutzen geben Sie bitte als Zieladresse die Jakobistraße, Hildesheim ein.
Folgen Sie der Ausschilderung Marktplatzgarage.

Direkt unter dem Hotel befindet sich eine öffentliche Tiefgarage mit direktem Zugang zum Hotel (auf der linken Seite der Einfahrt). Das Parkticket kann an der Hotelrezeption bezahlt werden. Die ermäßigten Kosten für unsere Hotelgäste betragen 9,50 € pro 24 Stunden (Preisänderung vorbehalten).

Führung Samstag, 21. Oktober 2017, von 11:00 Uhr bis 16:00 Uhr
Astenbeck 42
31188 Holle
Deutschland

 
Schloss Derneburg
Hall Art Foundation
Andrew Hall
Georg Baselitz
Van der Valk Hotel Hildesheim

Sprengel Museum Hannover ist 30 Min. Fahrt von Hildesheim entfernt.

Nylons Olive Walk

See the book “Walking in Provence – West”

The Cougoir

See the book “Walking in Provence – West”

Château d’Ubrieux

See the book “Walking in Provence – West”

Vaison-la-Romaine to Crestet

See the book “Walking in Provence – West”

The Gambade from Gigondas

See the book “Walking in Provence – West”

Dentelles de Montmirail

See the book “Walking in Provence – West”

Le Barroux to La Roque-Alric

See the book “Walking in Provence – West”

Abbaye de Sénanque

See the book “Walking in Provence – West”

Colorado Provençal

See the book “Walking in Provence – West”

Fort de Buoux

See the book “Walking in Provence – West”, walk 21,

Ste-Croix from Nans-les-Pins

See the book “Walking in Provence – West”