From 090400d9f4cf7a470c7235e1c623bb47cf300e30 Mon Sep 17 00:00:00 2001 From: s-martin Date: Sun, 2 Jun 2024 22:44:16 +0200 Subject: [PATCH] fix some markdown warnings --- _posts/2020-01-11-phoniebox.markdown | 5 +++-- _posts/2020-02-07-phoniebox-revised.markdown | 19 ++++++++----------- _posts/2023-05-31-shinysdr.markdown | 12 ++---------- about.markdown | 1 - 4 files changed, 13 insertions(+), 24 deletions(-) diff --git a/_posts/2020-01-11-phoniebox.markdown b/_posts/2020-01-11-phoniebox.markdown index 5dca17e..a3df8e1 100644 --- a/_posts/2020-01-11-phoniebox.markdown +++ b/_posts/2020-01-11-phoniebox.markdown @@ -26,12 +26,13 @@ That [blog post][blog-instructions] (in German) provided lots of information and # Hardware # I used the following hardware: + * Raspberry Pi 3 (doesn't need an active cooling) * Ravpower ??? Powerbank * Neuftech RFID reader * USB sound card * 5W Amplifier -* OnOffShim +* OnOffShim * Arcade buttons * Power button * ... @@ -75,7 +76,7 @@ Software installation first, so everything can be tested. # Gotchas, lessons learned, etc. # * It’s really important to solder as good as possible (I’m not very good though). If you have cold solder joints it may or may not work, which can be really annoying. -* Connecting everything together first to test it is really helpful, because you don’t want to assemble everything together in a (tiny) case and then something doesn’t work. +* Connecting everything together first to test it is really helpful, because you don’t want to assemble everything together in a (tiny) case and then something doesn’t work. * It really helps to sketch the wiring on a piece of paper, so you can fix possible issues or misconnections much faster. **to be continued** diff --git a/_posts/2020-02-07-phoniebox-revised.markdown b/_posts/2020-02-07-phoniebox-revised.markdown index d824721..c910c94 100644 --- a/_posts/2020-02-07-phoniebox-revised.markdown +++ b/_posts/2020-02-07-phoniebox-revised.markdown @@ -11,7 +11,7 @@ I suspect the amplifier [PAM8406][amp], connected to 5V (Pin 4) at the Pi, would I finally decided to give the [Hifiberry Miniamp][miniamp] a try. So the amplifier would be turned off, if the Pi is off and I could also replace the USB sound card I have been using, because the case and the board of the soundcard are already a little bit broken and I wanted to replace it anyway. -# Hardware Installation # +# Hardware Installation * Remove the amplifier PAM8406 and the USB sound card * Disconnect the button `PLAY` from pin 40 and connect it to pin 25 @@ -31,27 +31,23 @@ My Phoniebox is already installed, so I describe only the necessary changes here * Check especially [instructions for volume control][miniamp-details] and maybe instructions from [Hifiberry website][miniamp-config] * Enable Miniamp in `/boot/config.txt` - ``` + ```text config_hdmi_boost=4 #dtparam=audio=on dtoverlay=hifiberry-dac - ``` + ``` scripts/gpio_buttons.py folgendes austauschen _ siehe datein - dann so wie hier http://splittscheid.de/selfmade-phoniebox/#miniampsetup - - - For Christmas 2019 I built my kids a [Phoniebox][phoniebox] after a friend told me how much fun he had. These are some notes for me to remember how I built it. -# What I wanted # +# What I wanted For my kids I wanted to use RFID cards. In addition the box should have buttons for `Play/Pause`, `FF`, `Rwd`, `Volume up` and `Volume down`. @@ -63,9 +59,10 @@ My friend has built a excellent custom-made case which fulfills my needs. That [blog post][blog-instructions] (in German) provided lots of information and I used especially the On/Off description. Thanks for providing that info! -# Hardware # +# Hardware I used the following hardware: + * Raspberry Pi 3 (doesn't need an active cooling) * Ravpower ??? Powerbank * Neuftech RFID reader @@ -76,7 +73,7 @@ I used the following hardware: * Power button * ... -# Building # +# Building I connected and soldered everything first, before I assembled the complete box to make sure everything works. @@ -112,7 +109,7 @@ Software installation first, so everything can be tested. 10. Reboot with `sudo reboot`. -# Gotchas, lessons learned, etc. # +# Gotchas, lessons learned, etc. * It’s really important to solder as good as possible (I’m not very good though). If you have cold solder joints it may or may not work, which can be really annoying. * Connecting everything together first to test it is really helpful, because you don’t want to assemble everything together in a (tiny) case and then something doesn’t work. diff --git a/_posts/2023-05-31-shinysdr.markdown b/_posts/2023-05-31-shinysdr.markdown index 021bc90..ed1605a 100644 --- a/_posts/2023-05-31-shinysdr.markdown +++ b/_posts/2023-05-31-shinysdr.markdown @@ -19,8 +19,6 @@ Install some more dependencies: `sudo apt-get install libatlas-base-dev libhdf5- Use latest version of Python package attrs: `pip install --upgrade attrs` - - ## Making source code Python 3.9 compatible ShinySDR is currently only supporting Python 2.7 and I didn't want to install old Python, so I used the branch `python3` from **w1xm's** fork: @@ -31,14 +29,6 @@ ShinySDR is currently only supporting Python 2.7 and I didn't want to install ol I needed to fix an import and a changed method name for Python 3.9 in `shinysdr/filters.py` and `shinysdr/types.py`, respectively: - - - - - - - - Please see my [pull request][w1xm-pr]. ## Installing @@ -48,9 +38,11 @@ cd shinysdr python3 setup.py build sudo python3 setup.py install ``` + **This needs to be done after installing:** Latest pip release of txWS 0.9.1 has a bug under Python 3.9, so I installed it directly from Github `pip install --upgrade git+https://github.com/MostAwesomeDude/txWS#egg=txWS` + ## Configuration Create configs: `shinysdr --create ./shinysdr-config` diff --git a/about.markdown b/about.markdown index ad424e1..e803345 100644 --- a/about.markdown +++ b/about.markdown @@ -5,4 +5,3 @@ permalink: /about/ --- Just my thoughts and notes. Contains mostly development, technology, hobby projects and so on. -