• NESPi 4 Not working with SSD *Fixed*

    Help and Support
    3
    0 Votes
    3 Posts
    485 Views
    K

    @mitu Yeah, when I was searching the pin seem to suggest it was a speed issue, not a mount issue, which is why I overlooked it. So I figured I would just post anyway.

  • Pi 4 in a Nespi+ case?

    Help and Support
    3
    0 Votes
    3 Posts
    447 Views
    S

    @G30FF Thank you :)

  • 1 Votes
    1 Posts
    620 Views
    No one has replied
  • 1 Votes
    1 Posts
    564 Views
    No one has replied
  • retropie-mount

    Help and Support
    3
    0 Votes
    3 Posts
    522 Views
    No1specialN

    Thanks. This helps a lot.

  • 1 Votes
    4 Posts
    649 Views
    Z

    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.

  • Lego NES

    Projects and Themes
    1
    0 Votes
    1 Posts
    518 Views
    No one has replied
  • 0 Votes
    2 Posts
    353 Views
    Thorr69T

    What image are you using?

  • safe shut down wont work

    Help and Support
    3
    0 Votes
    3 Posts
    556 Views
    drmythD

    Thanks that made it work

  • Retroflag NESpi case + issue

    Help and Support
    3
    0 Votes
    3 Posts
    874 Views
    R

    @emclinux thankyou I will give that a try tonight

  • 0 Votes
    4 Posts
    832 Views
    mituM

    @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.

  • Nespi+ RCA black screen

    Help and Support
    1
    0 Votes
    1 Posts
    349 Views
    No one has replied
  • 0 Votes
    1 Posts
    978 Views
    No one has replied
  • 6 Votes
    57 Posts
    17k Views
    cyperghostC
    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

  • 0 Votes
    29 Posts
    19k Views
    S

    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

  • 7 Votes
    151 Posts
    87k Views
    cyperghostC

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

  • 0 Votes
    4 Posts
    2k Views
    edmaul69E

    @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.

  • NesPi Case from Retroflag.com

    Projects and Themes
    30
    1 Votes
    30 Posts
    21k Views
    U

    @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.

  • 1 Votes
    1 Posts
    2k Views
    No one has replied
  • My NES Pi build

    Projects and Themes
    1
    4 Votes
    1 Posts
    1k Views
    No one has replied