mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-11-18 18:07:45 +01:00
Merge pull request #212 from guggero/swiss-version
Add shopping list for Switzerland and driver for custom display
This commit is contained in:
@@ -31,7 +31,7 @@ Fastest and cheapest way to get your own Lightning Node running - on a Raspberry
|
|||||||
**Total Price: 124,11 EUR** (thats under 150 USD)
|
**Total Price: 124,11 EUR** (thats under 150 USD)
|
||||||
|
|
||||||
Amazon shopping lists for different countries:
|
Amazon shopping lists for different countries:
|
||||||
[ [USA](shoppinglist_usa.md) ] [ [UK](shoppinglist_uk.md) ] [ [France](shoppinglist_fr.md) ] [ [China](shoppinglist_cn.md) ] [ [Australia](shoppinglist_au.md) ] [ [Czech](shoppinglist_cz.md) ]
|
[ [USA](shoppinglist_usa.md) ] [ [UK](shoppinglist_uk.md) ] [ [France](shoppinglist_fr.md) ] [ [China](shoppinglist_cn.md) ] [ [Australia](shoppinglist_au.md) ] [ [Czech](shoppinglist_cz.md) ] [ [Switzerland](shoppinglist_ch.md) ]
|
||||||
|
|
||||||
You can even pay your RaspiBlitz Amazon Shopping with Bitcoin & Lightning thru [Bitrefill](https://blog.bitrefill.com/its-here-buy-amazon-vouchers-with-bitcoin-on-bitrefill-bb2a4449724a).
|
You can even pay your RaspiBlitz Amazon Shopping with Bitcoin & Lightning thru [Bitrefill](https://blog.bitrefill.com/its-here-buy-amazon-vouchers-with-bitcoin-on-bitrefill-bb2a4449724a).
|
||||||
|
|
||||||
@@ -171,7 +171,7 @@ You can simply use the HDD of another RaspiBlitz or you prepare a HDD yourself b
|
|||||||
|
|
||||||
* format second HDD with exFAT (availbale on Windows and Mac)
|
* format second HDD with exFAT (availbale on Windows and Mac)
|
||||||
* copy an indexed Blockchain into the root folder "bitcoin"
|
* copy an indexed Blockchain into the root folder "bitcoin"
|
||||||
* when youre HDD is ready the content of your folder bitcoin should look like this:
|
* when your HDD is ready the content of your folder bitcoin should look like this:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ if [ ${#wantedBranch} -eq 0 ]; then
|
|||||||
fi
|
fi
|
||||||
echo "will use code from branch --> '${wantedBranch}'"
|
echo "will use code from branch --> '${wantedBranch}'"
|
||||||
|
|
||||||
# 2nd optional parameter is the GITHUG-USERNAME to get code from when
|
# 2nd optional parameter is the GITHUB-USERNAME to get code from when
|
||||||
# provisioning sd card with raspiblitz assets/scripts later on
|
# provisioning sd card with raspiblitz assets/scripts later on
|
||||||
# if 2nd paramter is used - 1st is mandatory
|
# if 2nd paramter is used - 1st is mandatory
|
||||||
echo "*** CHECK INPUT PARAMETERS ***"
|
echo "*** CHECK INPUT PARAMETERS ***"
|
||||||
@@ -515,12 +515,55 @@ read key
|
|||||||
# give Raspi a default hostname (optional)
|
# give Raspi a default hostname (optional)
|
||||||
sudo raspi-config nonint do_hostname "RaspiBlitz"
|
sudo raspi-config nonint do_hostname "RaspiBlitz"
|
||||||
|
|
||||||
# *** RASPIBLITZ / LCD (at last - because makes a reboot) ***
|
# *** Display selection ***
|
||||||
# based on https://www.elegoo.com/tutorial/Elegoo%203.5%20inch%20Touch%20Screen%20User%20Manual%20V1.00.2017.10.09.zip
|
dialog --title "Display" --yesno "Are you using the default display available from Amazon?\nSelect 'No' if you are using the Swiss version from play-zone.ch!" 6 80
|
||||||
cd /home/admin/
|
defaultDisplay=$?
|
||||||
sudo apt-mark hold raspberrypi-bootloader
|
|
||||||
git clone https://github.com/goodtft/LCD-show.git
|
if [[ $defaultDisplay -eq 0 ]]
|
||||||
sudo chmod -R 755 LCD-show
|
then
|
||||||
sudo chown -R admin:admin LCD-show
|
# *** RASPIBLITZ / LCD (at last - because makes a reboot) ***
|
||||||
cd LCD-show/
|
# based on https://www.elegoo.com/tutorial/Elegoo%203.5%20inch%20Touch%20Screen%20User%20Manual%20V1.00.2017.10.09.zip
|
||||||
sudo ./LCD35-show
|
cd /home/admin/
|
||||||
|
sudo apt-mark hold raspberrypi-bootloader
|
||||||
|
git clone https://github.com/goodtft/LCD-show.git
|
||||||
|
sudo chmod -R 755 LCD-show
|
||||||
|
sudo chown -R admin:admin LCD-show
|
||||||
|
cd LCD-show/
|
||||||
|
sudo ./LCD35-show
|
||||||
|
else
|
||||||
|
# Download and install the driver
|
||||||
|
# based on http://www.raspberrypiwiki.com/index.php/3.5_inch_TFT_800x480@60fps
|
||||||
|
|
||||||
|
cd /boot
|
||||||
|
sudo wget http://www.raspberrypiwiki.com/download/RPI-HD-35-INCH-TFT/dt-blob-For-3B-plus.bin
|
||||||
|
sudo mv dt-blob-For-3B-plus.bin dt-blob.bin
|
||||||
|
cat <<EOF >> config.txt
|
||||||
|
|
||||||
|
dtparam=spi=off
|
||||||
|
dtparam=i2c_arm=off
|
||||||
|
|
||||||
|
# Set screen size and any overscan required
|
||||||
|
overscan_left=0
|
||||||
|
overscan_right=0
|
||||||
|
overscan_top=0
|
||||||
|
overscan_bottom=0
|
||||||
|
framebuffer_width=800
|
||||||
|
framebuffer_height=480
|
||||||
|
|
||||||
|
|
||||||
|
enable_dpi_lcd=1
|
||||||
|
display_default_lcd=1
|
||||||
|
dpi_group=2
|
||||||
|
dpi_mode=87
|
||||||
|
dpi_output_format=0x6f015
|
||||||
|
|
||||||
|
# set up the size to 800x480
|
||||||
|
hdmi_timings=480 0 16 16 24 800 0 4 2 2 0 0 0 60 0 32000000 6
|
||||||
|
|
||||||
|
#rotate screen
|
||||||
|
display_rotate=3
|
||||||
|
|
||||||
|
dtoverlay=i2c-gpio,i2c_gpio_scl=24,i2c_gpio_sda=23
|
||||||
|
EOF
|
||||||
|
init 6
|
||||||
|
fi
|
||||||
|
|||||||
13
shoppinglist_ch.md
Normal file
13
shoppinglist_ch.md
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
The RaspiBlitz software is built and tested for the following hardware set that you can buy on [PLAY-ZONE](https://www.play-zone.ch/) and [BRACK](https://www.brack.ch/):
|
||||||
|
|
||||||
|
* Raspberry Pi3 Model B+ (CHF 57.90): https://www.play-zone.ch/de/raspberry-pi3-model-b-1-4ghz-gigabit-lan-wlan-bluetooth-64bit-inkl-16-gb-noobs-sd-karte.html
|
||||||
|
* Includes a Micro SD card with 16GB capacity
|
||||||
|
* 3.5'' TFT Display (CHF 69.90): https://www.play-zone.ch/de/3-5-tft-display-800x480-pixel-60fps-mit-acryl-gehause-fur-den-raspberry-pi.html
|
||||||
|
* Includes an acryl glass case
|
||||||
|
* Power supply 3A (CHF 29.90): https://www.play-zone.ch/de/netzteil-ac-dc-adapter-5v-dc-3000ma-microusb.html
|
||||||
|
* 1TB Hard Drive (CHF 51.00): https://www.brack.ch/maxtor-externe-festplatte-421628
|
||||||
|
|
||||||
|
Total: CHF 208.70
|
||||||
|
|
||||||
|
**Warning**: This display is different from the one available at Amazon and needs a specific driver!
|
||||||
|
Be sure to select "No" when asked by the install script if you have the default display!
|
||||||
Reference in New Issue
Block a user