Skip to content

Commit

Permalink
fix some markdown warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
s-martin committed Jun 2, 2024
1 parent 29f7fe3 commit 090400d
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 24 deletions.
5 changes: 3 additions & 2 deletions _posts/2020-01-11-phoniebox.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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
* ...
Expand Down Expand Up @@ -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**
Expand Down
19 changes: 8 additions & 11 deletions _posts/2020-02-07-phoniebox-revised.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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`.
Expand All @@ -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
Expand All @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
12 changes: 2 additions & 10 deletions _posts/2023-05-31-shinysdr.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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`
Expand Down
1 change: 0 additions & 1 deletion about.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ permalink: /about/
---

Just my thoughts and notes. Contains mostly development, technology, hobby projects and so on.

0 comments on commit 090400d

Please sign in to comment.