Differences

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

Link to this comparison view

Next revision
Previous revision
asm:16:workshops:rgb-led-strip-raspberry [2016/04/30 16:41] – created markusasm:16:workshops:rgb-led-strip-raspberry [2021/04/18 12:35] (current) – external edit 127.0.0.1
Line 29: Line 29:
  
 *  Die Teilnehmer sollten keine Angst vor Elektronik und dem Programmieren haben. Ansonsten ist das ein Einsteigerlevel. *  Die Teilnehmer sollten keine Angst vor Elektronik und dem Programmieren haben. Ansonsten ist das ein Einsteigerlevel.
 +*  Fragen oder Anmeldung per E-Mail direckt an patrick.hess [ät] com2u.de
  
 === Material für Teilnehmer / Unkosten === Material für Teilnehmer / Unkosten
Line 41: 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()~~                                            +| ~~=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|}} 
 + 
 + 
 +== Install Raspberry Image 
 + 
 +https://www.raspberrypi.org/downloads/raspbian/ (Raspbian Jessie) 
 + 
 +Download Image and copy to micro SD-Card. e.g. Use Disk Imager: https://sourceforge.net/projects/win32diskimager/ 
 + 
 +**Insert SD-Card and power the Raspberry Pi** 
 +**Unordered List Item Startup Raspberry** 
 + 
 +If you connect the Raspberry to the LAN it will get an IP-address automatically 
 + 
 +**Check IP address. Go to the router and check out the new IP-Address. ** 
 + 
 +  WLAN: NETGEAR 
 +  Router: 192.168.1.1 
 +  User: admin 
 +  Password: password 
 + 
 +http://192.168.1.1/index.htm -> Menu -> Attached Devices 
 + 
 +{{:asm:16:workshops:router.png?200|}} 
 + 
 +{{:asm:16:workshops:ip.png?600|}} 
 + 
 + 
 + 
 + 
 +Change the name of your Raspberry: http://developpeers.com/blogs/change-the-hostname-of-your-raspberry-pi 
 + 
 +**Connect to the raspberry**  
 + 
 +* 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 
 + 
 + 
 +  User: pi 
 +  Password: raspberry  
 + 
 +**Download Fadecandy ressources:** 
 + 
 +https://github.com/scanlime/fadecandy  
 + 
 +  cd /home/pi/ 
 + 
 +Recent Raspbian versions have the git tool preinstalled, but for posterity let’s confirm: 
 + 
 +  sudo apt-get -y install git 
 + 
 +Then retrieve the Fadecandy software from Github: 
 + 
 +  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: 
 + 
 +  cd fadecandy/server 
 +  make submodules 
 +  make 
 + 
 +This takes about 10 minutes to complete, depending on your internet connection. Once it’s finished, type: 
 + 
 +**PlugIn FadeCandy** 
 +**Test if the server is working:** 
 + 
 +  sudo ./fcserver 
 + 
 +Expected output: 
 + 
 +  [1462207979:8206] NOTICE: Server listening on 127.0.0.1:7890 
 +  USB device Fadecandy (Serial# OWAWFXJJYCVPZLIJ, Version 1.07) attached. 
 + 
 +Open in the Browser: http://localhost:7890 
 + 
 +**Start the first simple program** 
 + 
 +  cd /home/pi/fadecandy/examples/python/ 
 +  python burnin.py 
 +  python chase.py 
 +  python solid-white.py 
 +  python strobe.py 
 +  python crosstalk-test.py 
 + 
 + 
 +**Install VNC server:** 
 + 
 +* http://jankarres.de/2012/08/raspberry-pi-vnc-server-installieren/ 
 + 
 +**Expand file system:** 
 + 
 +  sudo raspi-config 
 +  ->  'expand-rootfs 
 +  sudo mv fcserver /usr/local/bin 
 + 
 +To make the fcserver program start automatically when the system boots: 
 + 
 +  sudo nano /etc/rc.local 
 + 
 + 
 +**JAVA** 
 + 
 +  sudo apt-get install openjdk-7-jdk 
 +  javac pathAndFilename.java 
 +  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.1462034483.txt.gz
  • Last modified: 2021/04/18 12:32
  • (external edit)