RetroPie forum home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    1. Home
    2. Tags
    3. nespi
    Log in to post
    • All categories
    • hsus

      Custom NESPI SSD Cover (3D print)
      Projects and Themes • nespi nespi case nespi4 retroflag ssd • • hsus

      1
      1
      Votes
      1
      Posts
      292
      Views

      No one has replied

    • Werewolf

      NesPi case, wired controllers disconnecting, and HDMI: My findings
      Help and Support • controllers disconnecting hdmi nespi wired • • Werewolf

      1
      1
      Votes
      1
      Posts
      191
      Views

      No one has replied

    • No1special

      retropie-mount
      Help and Support • nespi ssd boot mount mounting • • No1special

      3
      0
      Votes
      3
      Posts
      148
      Views

      No1special

      Thanks. This helps a lot.

    • Snufkin

      NesPie birthday build for my brother. Tips?
      General Discussion and Gaming • retropie nespi build • • Snufkin

      4
      1
      Votes
      4
      Posts
      163
      Views

      zerojay

      You don't actually want to do that with the cartridge as it will wear down the connectors but also, it's not very easy at all to remove the cartridge once it's in there anyways. It's clearly not meant to encourage you to keep swapping it in and out and mainly just for show.

    • BreadPie

      Lego NES
      Projects and Themes • nespi lego pi • • BreadPie

      1
      0
      Votes
      1
      Posts
      194
      Views

      No one has replied

    • Dadofthegoob

      no controls or keyboard EXCEPT F4 key
      Help and Support • controls keyboard nespi snes controller • • Dadofthegoob

      2
      0
      Votes
      2
      Posts
      84
      Views

      Thorr69

      What image are you using?

    • drmyth

      safe shut down wont work
      Help and Support • nespi case + nespi case plus nespi • • drmyth

      3
      0
      Votes
      3
      Posts
      261
      Views

      drmyth

      Thanks that made it work

    • retroisbest

      Retroflag NESpi case + issue
      Help and Support • nespi case power issue • • retroisbest

      3
      0
      Votes
      3
      Posts
      539
      Views

      retroisbest

      @emclinux thankyou I will give that a try tonight

    • Guybrush

      New TV: Black frame | Undervoltage | Upgrade to Nespi + and 3B+ | Micro SD card
      Help and Support • micro sd nespi undervolt black borders • • Guybrush

      4
      0
      Votes
      4
      Posts
      475
      Views

      mitu

      @guybrush said in New TV: Black frame | Undervoltage | Upgrade to Nespi + and 3B+ | Micro SD card:

      Will I have problems with smooth gaming when storing the games on the NAS and would the Pi 3+ make a difference in that department?

      I'd say the difference you'll see is negligible, since once the game/rom is loaded in the emulator, there's little network activity or file transfers over the network. One exception would be - maybe - CD based games where the game is loaded from the CD images (.iso/.bin/.chd). The network speed would help the loading times. But if you are already content with the Pi 3 and the current setup (ROMs on the NAS), it wouldn't make a noticeable upgrade.

    • Mapo

      Nespi+ RCA black screen
      Help and Support • nespi • • Mapo

      1
      0
      Votes
      1
      Posts
      188
      Views

      No one has replied

    • THRobinson

      RetroPie withe NesPi Case - Shutdown
      Help and Support • nespi nespi case shutdown shutdown script shutdown switch • • THRobinson

      1
      0
      Votes
      1
      Posts
      751
      Views

      No one has replied

    • cyperghost

      Yet annother Retroflag NESPi case with Mausberry, Softshutdown, DUO-LED, Momentary switches
      Projects and Themes • nespi nespi case mausberry cyperghost • • cyperghost

      57
      6
      Votes
      57
      Posts
      10001
      Views

      cyperghost

      How to perform a software shutdown with the Mausberry and the diode/transistor hack?

      NOTE: This does only work on momentary switches!

      1. Prerequisites
      You need to solder a diode (1N400x type 1N4001 or 1N4002) or a transistor (NPN-Type, 2N3904, BC547 or BC337) to the Mausberry on/off switch.
      For the diode: Connect it between a GPIO and the mausberry button ground.
      The transistors needs to soldered between ground and positive to the switch and the base line is connected to the GPIO (maybe you need a resistor to control current flow)

      Therefore I strongly recommand the DIODE hack!

      Don't be afraid the Raspberry is in both ways protected against current backdraws! Use the diode or the right direction as shown in the box above....

      GPIO MAUSBERRY from Pie DIODE switch ground O---------------->|----------------O 1N4002

      More to read here

      2. Software part

      Create gpio-shutoff with sudo nano /lib/systemd/system-shutdown/gpio-shutoff Enter code from box below Make the script executable with sudo chmod +x /lib/systemd/system-shutdown/gpio-shutoff

      GPIO16 (or PIN 36 ) is just an example here and is my real setup

      #!/bin/sh # Perform Software Shutdown with Mausberry switch # cyperghost for retropie.org.uk # This is the GPIO pinconnected to the diode or transistor GPIOpinDIODE=16 if [ "$1" = "poweroff" ]; then echo $GPIOpinDIODE > /sys/class/gpio/export echo out > /sys/class/gpio/gpio$GPIOpinDIODE/direction echo 1 > /sys/class/gpio/gpio$GPIOpinDIODE/value sleep 0.5 echo 0 > /sys/class/gpio/gpio$GPIOpinDIODE/value sleep 0.5 fi

      3. Software script with proper Reset and Shutdown
      This is the full working bash script
      Installation:

      add it to /etc/rc.local/ add it to /opt/retropie/configs/all/autostart.sh` whatever case you select make the script executable with chmod +x scriptname.shand add sudo yourscript.sh & to choosen autostart

      This script adds:

      Working Reset button
      1.1 if an emulator is running it will end this
      1.2 if ES is running (without emulator) a restart of ES will be made Working shutdown button #!/bin/bash # Mausberry shutdown script v3 # # extended by cyperghost for # Yet annother NESPi case # Tested version 15/01/18 es_action() { case $1 in check) [[ -f "/dev/shm/runcommand.info" ]] && \ emu="$(sed '4!d; s/\([\\"]\|[[:alnum:]_]\+=[^ ]* \)//g; s/[][(){}^$*.|+? ]/\\&/g' /dev/shm/runcommand.info)" && \ [[ -n "$emu" ]] && emupid="$(pgrep -f "$emu")" && \ rcpid="$(pgrep -f -o runcommand.sh)" espid="$(pgrep -f "/opt/retropie/supplementary/.*/emulationstation([^.]|$)")" ;;#" restart_es) touch /tmp/es-restart && chown pi:pi /tmp/es-restart [[ -n $emupid ]] && kill $emupid && es_wait $emupid && es_wait $rcpid [[ -z $emupid ]] && kill $espid && sleep 5 ;; shutdown_es) touch /tmp/es-shutdown && chown pi:pi /tmp/es-shutdown ;; esac } es_wait() #Wait function for finishing running emulators { while [ -e /proc/$1 ] do sleep 0.15 done } #this is the GPIO pin connected to the duoLed RED GPIOpinLED=21 #this is the GPIO pin connected to NESPi RESET siwtch GPIOpinRESET=20 #this is the GPIO pin connected to the lead on switch labeled OUT GPIOpin1=19 #this is the GPIO pin connected to the lead on switch labeled IN GPIOpin2=26 #SWITCH LED ON echo "$GPIOpinLED" > /sys/class/gpio/export echo "out" > /sys/class/gpio/gpio$GPIOpinLED/direction echo "1" > /sys/class/gpio/gpio$GPIOpinLED/value #Initiate RESET echo "$GPIOpinRESET" > /sys/class/gpio/export echo "in" > /sys/class/gpio/gpio$GPIOpinRESET/direction #Initiate MAUSBERRY SWITCH echo "$GPIOpin1" > /sys/class/gpio/export echo "in" > /sys/class/gpio/gpio$GPIOpin1/direction echo "$GPIOpin2" > /sys/class/gpio/export echo "out" > /sys/class/gpio/gpio$GPIOpin2/direction echo "1" > /sys/class/gpio/gpio$GPIOpin2/value power=$(cat /sys/class/gpio/gpio$GPIOpin1/value) reset=$(cat /sys/class/gpio/gpio$GPIOpinRESET/value) until [ $power = 1 ]; do power=$(cat /sys/class/gpio/gpio$GPIOpin1/value) reset=$(cat /sys/class/gpio/gpio$GPIOpinRESET/value) [ $reset = 0 ] && es_action check && es_action restart_es sleep 1 done # Power button pressed? if [ $power = 1 ]; then es_action check [[ -n $emupid ]] && kill $emupid && es_wait $emupid && es_wait $rcpid es_action shutdown_es kill $espid && es_wait $espid exit #Give back maincontrol to emulationstation.sh fi poweroff

      4. Why are you doing this?
      The Mausberry gots a little design issue. If you performing a software shutdown (maybe via ES > Shutdown system or via SSH sudo poweroff) the PI will shut down but the Mausberry will stay active (LED is on). Furthermore it won't respond to a power button press anymore - it's stuck! So you have to switch it off completly by removing your wall plug or by resetting the Mausberry.

      The diode or transistor just simulates a button press and the Mausberry will properly shutdown ;)

      5. Closing words
      It would be better to use @meleu's nice shutdown service in addition with the gpio-shutdown in section 1 and 2. The great benefit of this is you don't need to modify any scripts that are part of ES or to edit any script in meleus package.

      The button-script is intended to give an example how to perform faster shutdowns (by bypassing sleep timers) and to show the difference between a while-loop with enclousured if-clause in it and a better choosen until-loop with external if-clause ;) - I recommand a script that is python powered ;)

      Link to meleus shutdown service is here

    • sonicsheppard

      Under voltage warnings on RetroFlag NESPI case - best power supply?
      Help and Support • undervolt retroflag nespi power supply • • sonicsheppard

      29
      0
      Votes
      29
      Posts
      15315
      Views

      steptoe

      Not the exact diagram I used originally, but this one will still show you the pins to disable or remove

      https://www.psdevwiki.com/ps3/File:Usb-pinout.png

      You need to disable/remove the +5v/VCC power. This will then turn that USB cable into a data only cable. As your hub is a powered USB hub this won't matter. Thats why when the PI is off its still powered as the hub is now feeding +5v back into the PI. Not a great idea as its not really designed to be powered from a USB connector plus the problems this could cause with too much current draw through the USB connector that the PI needs

      Either by removing the pin that supplies +5v in the USB plug to the PI or carefully peel back the cable insulation and snip the red wire for the +5v

    • Yahmez

      Retroflag NESPi Case - Soft Power & Reset Hack
      Projects and Themes • nespi retroflag soft shutdown tutorial • • Yahmez

      151
      7
      Votes
      151
      Posts
      59649
      Views

      cyperghost

      @elvycoll Consider to buy a NESPi+ case
      Maybe you can buy a Pimoroni SHIM instead...

    • zippiz

      I made a new case for my Pi Zero, its not what you think...
      Projects and Themes • nespie nespi zero case mod • • zippiz

      4
      0
      Votes
      4
      Posts
      1320
      Views

      edmaul69

      @herb_fargus lol. Found a half a beetle. When i was a kid i opened a snack size dole can of mixed fruit and it was just water and rocks. They didnt even give me mixed rocks....
      My ex wifes ex husband got a back of doritos and it had a beetle that was coated in the cheese powder and deep fried. It was pretty gross seeing the pics.

    • Rion

      NesPi Case from Retroflag.com
      Projects and Themes • case nespi • • Rion

      30
      1
      Votes
      30
      Posts
      18004
      Views

      Ujohnson

      @obsidianspider
      Hei, the item is cray cheap now, i just found one that one guy put it on sale 21.49 usd with free shipping.
      I want to got one now, but please you guys told me that this guy is selling the good thing or not:
      https://www.aliexpress.com/store/product/NESPi-Case-Raspberry-Pi-3-Model-B-Classical-NES-Style-Case-Game-Console-for-Raspberry-pi/2961127_32837853954.html
      Thanks in advance.

    • SuperSirLink

      Custom NES case for RetroPie
      Projects and Themes • nespi nes project custom nes custom • • SuperSirLink

      1
      1
      Votes
      1
      Posts
      1759
      Views

      No one has replied

    • herman27d

      My NES Pi build
      Projects and Themes • nes nespi controlblock • • herman27d

      1
      4
      Votes
      1
      Posts
      1244
      Views

      No one has replied

    • Hravnkel

      Power supply questions
      Help and Support • controlblock control block nes nespi build • • Hravnkel

      5
      0
      Votes
      5
      Posts
      7144
      Views

      Hravnkel

      Great thanks for good feedback, and I really liked the video there @Shakz.

      I actually got out and bought a better power supply and got rid of the yellow lightning bolt after I read your answers, however I couldn't find one that hosted a USB port rather than a fixed cable with a Micro USB-interface. I have now done a quick-and-dirty attachment of it to the PiNES but I'll try to find a better solution to be able to connect the power via a USB B cable since that will be better for transportation and general look overall.

      However thanks again, I feel the subject is closed and I'll just have to find the proper gadget to handle it. :)

      All the best,

      /Hravnkel

    • KiamDoe

      Retropie NES Pi Zero Build
      Projects and Themes • pizero nespi retropie raspberrypi • • KiamDoe

      2
      2
      Votes
      2
      Posts
      2205
      Views

      markyh444

      Very neat. I like it.