Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
asm:16:workshops:rgb-led-strip-raspberry [2016/05/03 12:17] – [Voraussetzungen] com2uasm:16:workshops:rgb-led-strip-raspberry [2016/07/13 20:11] 83.133.179.162
Line 42: Line 42:
 | ~~=row()~~  | derchris  | LED Stripe, Netzteil, FadeCandy  | | ~~=row()~~  | derchris  | LED Stripe, Netzteil, FadeCandy  |
 | ~~=row()~~  | iomf42    | LED Stripe, Netzteil, FadeCandy  | | ~~=row()~~  | iomf42    | LED Stripe, Netzteil, FadeCandy  |
-| ~~=row()~~ Benno                                      +| ~~=row()~~ b3n       LED Stripe, Netzteil, FadeCandy  
-| ~~=row()~~                                            +| ~~=row()~~ mazzoo    evtl netzteil                    
-| ~~=row()~~                                            +| ~~=row()~~ sumi      LED Stripe, Netzteil, FadeCandy  
-| ~~=row()~~                                            +| ~~=row()~~ hauke     LED Stripe, Netzteil, FadeCandy  
-| ~~=row()~~                                            +| ~~=row()~~ sam       FadeCandy                        
-| ~~=row()~~                                            +| ~~=row()~~ Raipat    Netzteil, FadeCandy              
-| ~~=row()~~                                            +| ~~=row()~~ benny     LED Stripe, Netzteil, FadeCandy  
-| ~~=row()~~                                            |+| ~~=row()~~ stefan    LED Stripe, Netzteil, FadeCandy 
 + 
 +=== Weiterführende Workshops 
 +[[WS2812:|LED Steuerung WS2812]]
  
 {{:asm:16:workshops:FadeCandy.png?500|}} {{:asm:16:workshops:FadeCandy.png?500|}}
  
  
-**Install Raspberry Image**+== Install Raspberry Image
  
 https://www.raspberrypi.org/downloads/raspbian/ (Raspbian Jessie) https://www.raspberrypi.org/downloads/raspbian/ (Raspbian Jessie)
Line 67: Line 70:
 **Check IP address. Go to the router and check out the new IP-Address. ** **Check IP address. Go to the router and check out the new IP-Address. **
  
-Router: 192.168.1.1 +  WLAN: NETGEAR 
- +  Router: 192.168.1.1 
-User: admin +  User: admin 
- +  Password: password
-Password: password+
  
 http://192.168.1.1/index.htm -> Menu -> Attached Devices http://192.168.1.1/index.htm -> Menu -> Attached Devices
Line 86: Line 88:
 **Connect to the raspberry**  **Connect to the raspberry** 
  
-(shell: e.g. via Putty: http://www.putty.org/)+shell: e.g. via Putty: http://www.putty.org/ 
 +* file transfer: e.g. WinSCP: https://winscp.net/eng/download.php 
 +* graphical desktop: e.g. TightVNC http://www.tightvnc.com/download.php
  
-(file transfer: e.g.WinSCP: https://winscp.net/eng/download.php ) 
  
-(Graphical desktop: e.g. TightVNC http://www.tightvnc.com/download.php ) +  User: pi 
- +  Password: raspberry 
-User: pi +
- +
-Password: raspberry +
  
 **Download Fadecandy ressources:** **Download Fadecandy ressources:**
Line 100: Line 100:
 https://github.com/scanlime/fadecandy  https://github.com/scanlime/fadecandy 
  
-cd /home/pi/+  cd /home/pi/
  
 Recent Raspbian versions have the git tool preinstalled, but for posterity let’s confirm: Recent Raspbian versions have the git tool preinstalled, but for posterity let’s confirm:
  
-sudo apt-get -y install git+  sudo apt-get -y install git
  
 Then retrieve the Fadecandy software from Github: Then retrieve the Fadecandy software from Github:
  
-git clone git: / /github.com/scanlime/fadecandy+  git clone https://github.com/scanlime/fadecandy
  
 The package includes a pre-built executable for Raspberry Pi, but it’s built on an older version of Raspbian and won’t work on the current system. Not to worry, a new one can be compiled in just a few steps: The package includes a pre-built executable for Raspberry Pi, but it’s built on an older version of Raspbian and won’t work on the current system. Not to worry, a new one can be compiled in just a few steps:
  
-cd fadecandy/server +  cd fadecandy/server 
- +  make submodules 
-make submodules +  make
- +
-make+
  
 This takes about 10 minutes to complete, depending on your internet connection. Once it’s finished, type: This takes about 10 minutes to complete, depending on your internet connection. Once it’s finished, type:
Line 123: Line 121:
 **Test if the server is working:** **Test if the server is working:**
  
-sudo ./fcserver+  sudo ./fcserver
  
 Expected output: Expected output:
  
-[1462207979:8206] NOTICE: Server listening on 127.0.0.1:7890 +  [1462207979:8206] NOTICE: Server listening on 127.0.0.1:7890 
- +  USB device Fadecandy (Serial# OWAWFXJJYCVPZLIJ, Version 1.07) attached.
-USB device Fadecandy (Serial# OWAWFXJJYCVPZLIJ, Version 1.07) attached.+
  
 Open in the Browser: http://localhost:7890 Open in the Browser: http://localhost:7890
Line 135: Line 132:
 **Start the first simple program** **Start the first simple program**
  
-cd /home/pi/fadecandy/examples/python/+  cd /home/pi/fadecandy/examples/python/ 
 +  python burnin.py 
 +  python chase.py 
 +  python solid-white.py 
 +  python strobe.py 
 +  python crosstalk-test.py
  
-python burnin.py 
  
-python chase.py+**Install VNC server:**
  
-python solid-white.py +* http://jankarres.de/2012/08/raspberry-pi-vnc-server-installieren/
- +
-python strobe.py +
- +
-python crosstalk-test.py +
- +
- +
-**nstall VNC server:** +
- +
-http://jankarres.de/2012/08/raspberry-pi-vnc-server-installieren/+
  
 **Expand file system:** **Expand file system:**
  
-Sudo raspi-config +  sudo raspi-config 
- +  ->  'expand-rootfs 
- ->  'expand-rootfs +  sudo mv fcserver /usr/local/bin
- +
-sudo mv fcserver /usr/local/bin+
  
 To make the fcserver program start automatically when the system boots: To make the fcserver program start automatically when the system boots:
  
-sudo nano /etc/rc.local+  sudo nano /etc/rc.local
  
  
 **JAVA** **JAVA**
  
-sudo apt-get install openjdk-7-jdk +  sudo apt-get install openjdk-7-jdk 
- +  javac pathAndFilename.java 
-javac pathAndFilename.java +  java pathAndFilename 
- +  java -jar pathAndFilename.jar
-java pathAndFilename +
- +
-java -jar pathAndFilename.jar+
  
 +**ESP8266 Workshop**
  
 +http://dangerousprototypes.com/forum/viewtopic.php?f=56&t=7026
  
  
  • asm/16/workshops/rgb-led-strip-raspberry.txt
  • Last modified: 2021/04/18 12:35
  • by 127.0.0.1