Schlagwort: unix

  • Raspberry Pi 3 NES Classic Mini Project

    Raspberry Pi 3 NES Classic Mini Project

    Reading Time: 4 minutes

    The Raspberry Pi 3 NES Classic Mini Project was in our mind from day one when the new New Classic Mini arrived 🙂

    After so much time there is a company from new york making small pi cases looking like this:

    Perfect case for our project , so here is the full list what you need:

    Optional:

    Setting up the Raspberry Pi + Case Assembly

    We got this nice PDF Document from oldskool.tools that shows very nice how to assemble the case right.

    Here is the Download Old Skool Tools Setup Tutorial

    Needs:

    • Controller
    • HDMI/DVI monitor or TV
    • HDMI cable
    • Laptop or PC with SD port
    • Micro SD card
    • Raspberry Pi case + Raspberry Pi
    • USB Keyboard
    • USB micro power supply (preferably the official Raspberry Pi power supply)

    Downloads:

    SETUP

    1. Insert your SD card in the SD card slot of your laptop or PC
      (Note the drive letter assigned to the SD card, for example G:)
    2. Unzip the downloaded RetroPie project SD card image with an extraction program
    3. Extract the RetroPie project SD card image to the SD card. Be careful to select the correct drive
      (Win32DiskImager for Windows and ApplePi-Baker for Mac)
    4. Remove the SD card from your laptop or PC
    5. Insert the SD card, one of your controllers and your keyboard into the Raspberry Pi
    6. Plug in the HDMI cable then plug in the power supply. This will boot up your Raspberry Pi
    7. Follow the onscreen prompts with your controller to set it up (up, down, left, right, etc)

      Done!

    RetroPie doesn’t show the emulators that don’t have ROMs installed, so don’t worry when you notice that only a small number of emulators are available. This is how it’s supposed to work. The other emulators will show up as you add ROMs. Make sure to download some ROMs and we’ll show you how to transfer them to your Raspberry Pi.

     

    TRANSFER ROMS

    TRANSFERRING ROMS TO RETROPIE

    You are almost ready to begin your journey back in time. Now that you’ve dealt with the setup of RetroPie, it’s time to transfer your favorite games to your Raspberry Pi. There are multiple ways to transfer your ROMs to your Raspberry Pi, but we’re going to show you two methods:

    – Transferring ROMs via a USB stick
    – Transferring ROMs via SCP

    USB METHOD

    Needs:

    • USB stick (formatted to FAT32)
    • Raspberry Pi (powered on)
    • USB keyboard

    Setup:

    1. Insert the USB stick in your computer
    2. Make sure that your USB is formatted to FAT32
    3. Create a folder called retropie on your USB stick
    4. Remove the USB stick from your computer
    5. Plug your USB stick in your Raspberry Pi and wait for your USB stick to stop blinking (If your USB doesn’t have a light just wait 5 minutes to be sure)
    6. Take your USB stick out of your Raspberry Pi and plug it into your computer
    7. Add the ROMs to their respective folders (in the retropie/roms folder on your USB stick)
    8. Plug your USB stick back into your Raspberry Pi
    9. Wait for your USB stick to stop blinking then remove your USB from your Raspberry Pi
    10. Refresh emulationstation by pressing F4, or choosing quit from the start menu

    SCP METHOD

    Needs:

    • Ethernet cable (wired)
    • Raspberry Pi > = 3 or Raspberry Pi < = 2 with a WiFi dongle (wireless)
    • USB keyboard

    Downloads:

    Setup:

    1. Open WinSCP or Cyberduck
    2. Setup the following
      File Protocol: SCP
      Host name: the IP address of your RetroPie.
      (To find the IP address of your RetroPie, go into RetroPie options from the main menu, and select the last option [ Show IP address ] )
      Username: pi
      Password: raspberry
    3. Drop the files in the ~/RetroPie/roms/$CONSOLE folder, where $CONSOLE is the name of the target console (e.g. snes or arcade)

    After Setting Up your Retro Console the next thing to do and last thing is the black ducktape, for the true NES design 😉

    Here are some Photos of ours finished , with controllers and all you need:

    And now you know what the black tape is good for ^^

    We hope you liked our small and quick project, follow our other channels. Thank you for reading.

    Sources: http://www.8bitdo.com/

    http://retro-bit.com/

    https://www.oldskool.tools/

     

  • Raspberry Pi 3 Alexa DIY Project

    Raspberry Pi 3 Alexa DIY Project

    Reading Time: 7 minutes

    Required hardware

    Before you get started, let’s review what you’ll need.

    1. Raspberry Pi 3 (Recommended) or Pi 2 Model B (Supported) – Buy at Amazon – Pi 3 or Pi 2.
    2. Micro-USB power cable for Raspberry Pi.
    3. Micro SD Card (Minimum 8 GB) – You need an operating system to get started. NOOBS (New Out of the Box Software) is an easy-to-use operating system install manager for Raspberry Pi. The simplest way to get NOOBS is to buy an SD card with NOOBS pre-installed – Raspberry Pi 8GB Preloaded (NOOBS) Micro SD Card. Alternatively, you can download and install it on your SD card (follow instructions here).
    4. USB 2.0 Mini Microphone – Raspberry Pi does not have a built-in microphone; to interact with Alexa you’ll need an external one to plug in – Buy on Amazon
    5. External Speaker with 3.5mm audio cable – Buy on Amazon
    6. A USB Keyboard & Mouse, and an external HDMI Monitor – we also recommend having a USB keyboard and mouse as well as an HDMI monitor handy if you’re unable to remote(SSH) into your Pi.
    7. Internet connection (Ethernet or WiFi)
    8. (Optional) WiFi Wireless Adapter for Pi 2 (Buy on Amazon). Note: Pi 3 has built-in WiFi.

    For extra credit, we’ll show you how to remote(SSH) into your device, eliminating the need for a monitor, keyboard and mouse – and how to tail logs for troubleshooting.


    Let’s get started

    The original Alexa on a Pi project required manual download of libraries/dependencies and updating a series of configuration files that were prone to human error. To make the process faster and easier, we’ve included an install script with the project that will take care of all the heavy lifting. Not only does this reduce setup time to less than an hour on a Raspberry Pi 3, it only requires developers to adjust three variables in a single install script –

    Step 1: Setting up your Pi

    Unless you already have Raspbian Jessie installed on your Pi, please follow our guide – Setting up the Raspberry Pi – that will walk you through downloading and installing Raspbian Jessie, and connecting the hardware (if you’re unfamiliar with Raspberry Pi, we highly recommend you follow the guide above to get your Pi up and ready before moving further).

    Step 2: Register for an Amazon developer account

    Unless you already have one, go ahead and create a free developer account at developer.amazon.com. You should review the AVS Terms and Agreements here.


    Step 3: Create a device and security profile

    Follow the steps here to register your product and create a security profile.

    Make note of the following parameters. You’ll need these in Step 5 below.

    • ProductID (also known as Device Type ID),
    • ClientID, and
    • ClientSecret

    Important: Make sure your Allowed Origins and Allowed Return URLs are set under Security Profile > Web Settings (see Create a device and security profile):


    Step 4: Clone the sample app

    Open terminal, and type the following:

    cd Desktop
    git clone https://github.com/alexa/alexa-avs-sample-app.git
    

    Step 5: Update the install script with your credentials

    Before you run the install script, you need to update the script with the credentials that you got in step 3 – ProductID, ClientID, ClientSecret. Type the following in terminal:

    cd ~/Desktop/alexa-avs-sample-app
    nano automated_install.sh
    

    Paste the values for ProductID, ClientID, and ClientSecret that you got from Step 3 above.

    The changes should look like this:

    • ProductID="RaspberryPi3"
    • ClientID="amzn.xxxxx.xxxxxxxxx"
    • ClientSecret="4e8cb14xxxxxxxxxxxxxxxxxxxxxxxxxxxxx6b4f9"

    Type ctrl-X and then Y, and then press Enter to save the changes to the file.


    Step 6: Run the install script

    You are now ready to run the install script. This will install all dependencies, including the two wake word engines from Sensory and KITT.AI.

    Note: The install script will install all project files in the folder that the script is run from.

    To run the script, open terminal and navigate to the folder where the project was cloned. Then run the following command:

    cd ~/Desktop/alexa-avs-sample-app
    . automated_install.sh
    

    You’ll be prompted to answer a few simple questions. These help to ensure that you’ve completed all necessary prerequisites before continuing.

    When the wizard starts, go grab a cup of coffee – it takes about 30 minutes.

    Step 7: Run your web service, sample app and wake word engine

    Now that installation is complete, you’ll need to run three commands in 3 separate terminal windows:

    1. Terminal Window 1: to run the web service for authorization
    2. Terminal Window 2: to run the sample app to communicate with AVS
    3. Terminal Window 3: to run the wake word engine which allows you to start an interaction using the phrase „Alexa“.

    Note: These commands must be run in order.

    Terminal Window 1

    Open a new terminal window and type the following commands to bring up the web service which is used to authorize your sample app with AVS:

    cd ~/Desktop/alexa-avs-sample-app/samples
    cd companionService && npm start
    

     

    The server is now running on port 3000 and you are ready to start the client.

    See API Overview > Authorization to learn more about authorization.


    Terminal Window 2

    Open a new terminal window and type the following commands to run the sample app, which communicates with AVS:

    cd ~/Desktop/alexa-avs-sample-app/samples
    cd javaclient && mvn exec:exec
    

    See API Overview > Interfaces to learn more about the messages sent to/from AVS.

    Let’s walk through the next few steps relevant to Window 2.

    1. When you run the client, a window should pop up with a message that says –Please register your device by visiting the following URL in a web browser and following the instructions: https://localhost:3000/provision/d340f629bd685deeff28a917. Would you like to open the URL automatically in your default browser?

      Click on „Yes“ to open the URL in your default browser.

    2. If you’re running Raspbian Jessie with Pixel desktop (and with Chromium browser), you may get a warning from the browser. You can get around it by clicking on Advanced -> Proceed to localhost(unsafe).
    3. You’ll be taken to a Login with Amazon web page. Enter your Amazon credentials.
    4. You’ll be taken to a Dev Authorization page, confirming that you’d like your device to access the Security Profile created earlier.Click Okay.
    5. You will now be redirected to a URL beginning with https://localhost:3000/authresponsefollowed by a query string. The body of the web page will say device tokens ready.
    6. Return to the Java application and click the OK button. The client is now ready to accept Alexa requests.

    Terminal Window 3

    Note: Skip this step to run the same app without a wake word engine.

    This project supports two third-party wake word engines: Sensory’s TrulyHandsFree and KITT.AI’s Snowboy. The -e parameter is used to select the agent and supports two values for {{engine}}: kitt_ai and sensory.

    Open a new terminal window and use the following commands to bring up a wake word engine from Sensory or KITT.AI. The wake word engine will allow you to initiate interactions using the phrase „Alexa“.

    To use the Sensory wake word engine, type –

    cd ~/Desktop/alexa-avs-sample-app/samples
    cd wakeWordAgent/src && ./wakeWordAgent -e sensory
    

    or, type this to use KITT.AI’s wake word engine –

    cd ~/Desktop/alexa-avs-sample-app/samples
    cd wakeWordAgent/src && ./wakeWordAgent -e kitt_ai
    

    Now you have a working hands-free AVS prototype!

    Use the following resources to learn more about available wake word engines:


    Step 8: Talk to Alexa

    You can now talk to Alexa by simply using the wake word „Alexa“. Try the following –

    Say „Alexa“, then wait for the beep. Now say „what’s the time?“

    Say „Alexa“, then wait for the beep. Now say „what’s the weather in Seattle?“

    If you prefer, you can also click on the „Listen“ button, instead of using the wake word. Click the „Listen“ button and wait for the audio cue before beginning to speak. It may take a second or two before you hear the audio cue.

    Source: https://github.com/alexa/alexa-avs-sample-app/wiki/Setting-up-the-Raspberry-Pi

    https://github.com/alexa/alexa-avs-sample-app/wiki/Raspberry-Pi

  • Raspberry Pi 3 Server – Htop running on TFT screen

    Raspberry Pi 3 Server – Htop running on TFT screen

    Reading Time: < 1 minute

    Raspberry Pi 3 Server – Htop running on TFT screen 

  • DIY – Steam Machine Konsole für unter 500€

    DIY – Steam Machine Konsole für unter 500€

    Reading Time: 4 minutes

    Steam Machine Konsolen werden immer interessanter für PC Gamer. Valve hat nun endlich seit einigen Tagen ihr komplettes Portfolio für 2015 veröffentlicht:

    Diesen November bringen wir all die großartigen Dinge für PC – die besten Spiele, die größten Communities und die spannendsten Technologien – in ganz neue Gefilde.

    Mit Ihrem Steam Controller können Sie alle Ihre Steam-Spiele bequem von Ihrem bequemen Sofa aus spielen – sogar die Spiele, die eigentlich nicht für die Unterstützung von Controllern vorgesehen waren.

    Wir präsentieren Ihnen den einfachsten Weg, Steam in Ihr Wohnzimmer zu bringen. Steam Link ist ein kleines Gerät zum Streamen, welches Sie direkt mit Ihrem Fernseher und Ihrem Heimnetzwerk verbinden können, um all die Power Ihres PCs, den Sie bereits in Ihrem Haus haben, nutzen können.

    ALIENWARE-STEAM MACHINE
    Steam Machines bieten auch im Wohnzimmer den besten Zugang zu einmaligen Spielen und von der Community erstellten Inhalten. Mit Steam Machines können Sie In-Home Streaming einfach über Steam Link verwenden und können aus fast 1000 SteamOS-Spielen wählen, die Sie auch lokal installieren und spielen können.

    HTC VIVE-ENTWICKLERVERSION
    Wir präsentieren SteamVR, ein raumfüllendes, komplettes 360° VR-Erlebnis. In Zusammenarbeit mit HTC wird die Entwicklerversion ein vollständiges Hardware- und Softwarekit enthalten. Erleben Sie erstklassige VR zusammen mit allem, was Sie an Steam lieben.
    Wir wollen euch an Hand der Syber Steam Machine die es ab November 2015 geben wird Zeigen wie ihr euch eine eigene Steam Machine Konsole bauen könnt inklusive des offiziellen Steam OS!
    Man kann sich natürlich auch eine um knapp €3.000.- zusammen bauen , aber da wissen wir besseres mit unserem Geld anzufangen 😉
    Die Jungs von PC-Welt haben dies auch gemacht , hier das Video:
    [sublimevideo settings=“youtube-id:pEUTCCW4sf0″ width=“651″ height=“366″]
    (ohne Steam OS)

    Syber Steam Machine A

    • Price: $499 (€451)
    • CPU: AMD Athlon X4 840
    • GPU: AMD Radeon R9 270 2GB
    • Memory: 4GB DDR3 1600MHz
    • Storage: 500GB 7200 RPM HDD
    1069976
    Das Design ist natürlich nicht so cool wie der Alienware, aber wir werden trotzdem das gleiche Spielen können 🙂

    DIY Steam Machine

    • Price: €448.-
    • CPU: AMD Athlon X4 860K Black Edition, 4x 3.70GHz, boxed  70.-
    • GPU: PowerColor Radeon R9 270X TurboDuo, 2GB GDDR5, 2x DVI, HDMI, DisplayPort  170.-
    • Memory: GeIL Dragon RAM DIMM 4GB, DDR3-1600  30.-
    • Storage: HGST Travelstar Z7K500 500GB, SATA 6Gb/s  50.-
    • PSU: Xilence Performance C Series 400W ATX 2.31  30.-
    • Motherboard: MSI A78M-E45  60.-
    • Case: AeroCool QS-101 Red Edition  31.-
    • Wifi: Edimax EW-7811Un  7.-

    Hier auch noch die Links zum Offiziellen Download zu Steam OS: Link

    Wir empfehlen einen Standard USB Controller bis der Steam Controller am Markt ist, da die Linux Treiber für den Xbox ONE und PS4 Controller noch sehr buggy sind!!

    Was sind die Systemvoraussetzungen für SteamOS?

    Prozessor:
    64-Bit-Prozessor von Intel oder AMD
    Arbeitsspeicher:
    4 GB oder mehr RAM
    Festplatte:
    500 GB oder mehr Festplattenspeicher
    Grafikkarte:
    NVIDIA-Grafikkarte
    AMD-Grafikkarte (RADEON 8500 und neuer)
    Intel-Grafik
    Zusätzlich:
    UEFI-Boot-Unterstützung
    USB-Port für die Installation

    Standardinstallation

    Sie müssen einen SteamOS-Systemwiederherstellungs-USB-Stick erstellen, um diese Installation durchzuführen. Das hier angebotene Image erfordert eine Festplatte, die mindestens 1 TB groß ist.

    1. Installationsdateien der SteamOS-Beta herunterladen
    2. Formatieren Sie einen mindestens 4 GB großen USB-Stick mit dem FAT32-Dateisystem. Benutzen Sie „SYSRESTORE“ als Namen für die Partition.
    3. Entpacken Sie die Datei SteamOSImage.zip auf diesen USB-Stick.
    4. Schließen Sie den USB-Stick an den Computer an, auf dem Sie SteamOS installieren wollen. Starten Sie den Computer und wählen Sie im BIOS den USB-Stick zum Booten aus (normalerweise öffnet F8, F11 oder F12 das BIOS-Bootmenü).
    5. Stellen Sie sicher, dass der UEFI-Eintrag ausgewählt ist („UEFI: Patriot Memory PMAP“ o. ä.). Falls es keinen UEFI-Eintrag gibt, müssen Sie zuerst die UEFI-Unterstützung in den BIOS-Einstellungen aktivieren.
    6. Wählen Sie „Restore Entire Disk“ im GRUB-Menü.
    7. Der Computer wird herunterfahren, wenn der Vorgang abgeschlossen ist. Schalten Sie ihn an, um Ihr frisch installiertes SteamOS zu starten.

    Wer von euch eine Advanced Installation durchführen mag, hier auch der Link für euch: LINK

    Also nun alle auf und sich gleich eure eigene Steam Konsole zusamen basteln 😉

    Wir hoffen euch hat das Tutorial gefallen und freuen uns schon auf eure Bilder von euren selbst gebastelten Kreationen!!

    Links: http://store.steampowered.com/steamos

    http://store.steampowered.com/steamos/buildyourown

    http://store.steampowered.com/sale/steam_machines

  • Kano: A computer anyone can make

    Kano: A computer anyone can make

    Reading Time: < 1 minute

    A computer and coding kit for all ages, all over the world. Simple as Lego, powered by Pi. Make games, learn code, create the future.

    Update, 5,000 BackersThank you. We’re humbled, amazed, and committed to getting you your kits on schedule. To new potential backers, Kano kits are still available –pledge $119 to get one (with free worldwide delivery!).

    What’s Kano?

    It’s a computer you make yourself. It’s simple, fun, and for everyone. And we need your help to make it happen.

    What can I do with it?

    Build…

    • A computer, powered by Raspberry Pi
    • Games like Pong, Snake
    • Music and sounds
    • HD video
    • speaker
    • Towers of dynamite (…in Minecraft)
    • wireless server
    • A custom case, with stickers, decals, or any printed design
    • Most Debian Linux packages
    • Pretty much anything else, because Kano is open source

    Who’s it for?

    Kano is for anyone who wants to start creating with technology – not just consuming it.

    It’s a simple, fun, useful toolkit that you can use to start taking control of the world around you.