publish raspberry pi notes and new post about smart tvs mic
also cleanup some draft posts
This commit is contained in:
parent
e900342568
commit
5aed1738d3
12 changed files with 82 additions and 125 deletions
BIN
content/notes/raspberry-pi/edimax_wifi.jpg
(Stored with Git LFS)
Normal file
BIN
content/notes/raspberry-pi/edimax_wifi.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: Raspberry Pi
|
||||
date: 2023-11-25T09:14:35+01:00
|
||||
date: 2024-01-27T11:01:31+0000
|
||||
#lastmod:
|
||||
|
||||
#showDate: false
|
||||
|
@ -13,8 +13,6 @@ showBreadcrumbs: true
|
|||
feed_exclude: true
|
||||
# site_exclude: true
|
||||
|
||||
draft: true
|
||||
|
||||
---
|
||||
|
||||
## Raspberry Pi 4
|
||||
|
@ -108,8 +106,71 @@ We could also create virtual environments per application, module, package etc.
|
|||
|
||||
## Raspberry Pi 3
|
||||
|
||||
### UPS Plus
|
||||
|
||||
An **uninterruptible power supply** (UPS) is very useful if you have your own servers at
|
||||
home. I've been using one with my old DiskStation (NAS[^1]) but I got rid of the DiskStation
|
||||
at the end of 2023. I got the UPS Plus for the Raspberry Pi now for a while but never tested
|
||||
all its features yet (well, I haven't used it much to be honest).
|
||||
|
||||
Though, I have some quick notes to remember:
|
||||
|
||||
Some software is needed to get status information about the batteries (which are of type 18650).
|
||||
|
||||
~~~console
|
||||
$ python3 -m venv .
|
||||
$ curl -LsO https://raw.githubusercontent.com/geeekpi/upsplus/main/install.sh
|
||||
$ bash install.sh
|
||||
~~~
|
||||
|
||||
Any errors can be resolved by installing by hand. In my notes I thought that info is enough, so
|
||||
here we are :wink:
|
||||
|
||||
We may have to edit our crontab:
|
||||
|
||||
~~~cron
|
||||
* * * * * /home/dr/bin/python3 /home/dr/bin/upsPlus.py > /tmp/upsPlus.log
|
||||
* * * * * /home/dr/bin/python3 /home/dr/bin/upsPlus_iot.py > /tmp/upsPlus_iot.log
|
||||
~~~
|
||||
|
||||
Getting information:
|
||||
|
||||
~~~console
|
||||
$ python3 bin/upsPlus.py
|
||||
------------------------------------------------------------
|
||||
------Current information of the detected Raspberry Pi------
|
||||
------------------------------------------------------------
|
||||
Raspberry Pi Supply Voltage: 5.028 V
|
||||
Raspberry Pi Current Current Consumption: 571.068 mA
|
||||
Raspberry Pi Current Power Consumption: 2570.227 mW
|
||||
------------------------------------------------------------
|
||||
-------------------Batteries information-------------------
|
||||
------------------------------------------------------------
|
||||
Voltage of Batteries: 4.208 V
|
||||
Battery Current (Charging) Rate: 30.000 mA
|
||||
Current Battery Power Supplement: 263.415 mW
|
||||
Successfully set the protection voltage to: 3700 mV
|
||||
------------------------------------------------------------
|
||||
Currently charging via Type C Port.
|
||||
~~~
|
||||
|
||||
The Raspberry Pi will continue to work if you remove the power cable.
|
||||
|
||||
[^1]: [Network Attached Storage](https://en.wikipedia.org/wiki/Network-attached_storage)
|
||||
|
||||
## Raspberry Pi 2
|
||||
|
||||
### WiFi adapter
|
||||
|
||||
The Raspberry Pi 2 does not have any WiFi capabilities so an adapter
|
||||
is needed to make use of your local WiFi network. I found [this small
|
||||
adapter](https://www.amazon.de/gp/product/B003MTTJOY/) and can confirm
|
||||
it as a working unit.
|
||||
|
||||
![picture of the small Edimax EW-7811UN wireless adapter](edimax_wifi.jpg "It is not available
|
||||
on Amazon any more, but they suggest another device as its successor. I can only speak for the
|
||||
one that I own: **Edimax EW-7811Un**")
|
||||
|
||||
## Raspberry Pi Pico W
|
||||
|
||||
### Using MicroPython
|
||||
|
|
BIN
content/posts/2024/61-smart-tvs-are-not-great/cutter.jpg
(Stored with Git LFS)
Normal file
BIN
content/posts/2024/61-smart-tvs-are-not-great/cutter.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
|
@ -5,33 +5,12 @@ summary: >
|
|||
came to the same conclusion: smart TVs may spy on us (like our smartphones do).
|
||||
The thumbnail on the side shows the actual microphone that is soldered onto the
|
||||
main circuit board of my remote control; it is no longer than 4 mm.
|
||||
date: 2024-01-21T19:26:58+01:00
|
||||
lastmod: 2024-01-27T09:51:07+0000
|
||||
date: 2024-01-27T10:58:06+0000
|
||||
# lastmod:
|
||||
categories:
|
||||
- computerstuff
|
||||
- computerstuff
|
||||
tags:
|
||||
- draft_post
|
||||
|
||||
# showBreadcrumbs: true
|
||||
# showDate: false
|
||||
# showReadingTime: false
|
||||
# showWordCount: false
|
||||
# showPagination: false
|
||||
|
||||
# feed_exclude: true
|
||||
# site_exclude: true
|
||||
|
||||
# some help
|
||||
#
|
||||
# highlighting with highlights
|
||||
#
|
||||
# use table, as inline creates a padding around
|
||||
# and it pushes the text more to the right side (end of screen)
|
||||
#
|
||||
# ~~~html {linenos=table,hl_lines="3-6"}
|
||||
# ~~~html {linenos=inline,hl_lines="1,3-6"}
|
||||
|
||||
draft: true
|
||||
- privacy
|
||||
|
||||
---
|
||||
|
||||
|
@ -50,13 +29,18 @@ these devices could also spy on your conversations -- but the possibility is the
|
|||
I never use the voice command function of my smart TV I decided to remove the mic.
|
||||
|
||||
![close up pic of the hole in the remote control](remote.jpg "The hole for the mic on my remote
|
||||
control is located at the top.")
|
||||
control is located at the top")
|
||||
|
||||
The mic is usually located very easily, though the elements below the hole are very, very small.
|
||||
I used a sharp cutting knife and a sharp side cutter to remove the tiny circuit board.
|
||||
|
||||
![a picture of the circuit board and the shielding](mini-mic.jpg "There is a very small hole in the shielding that surrounds the small
|
||||
components on the \"microphone circuit board\"")
|
||||
components on the \"microphone circuit board\"")
|
||||
|
||||
![for reference: same as before, but with the head of a match beside - they are like the same size](reference.jpg "For reference")
|
||||
![picture of the cutter: a sharp triangle kind of blade](cutter.jpg "These are often used on electronics workbenches to cut all sorts of things")
|
||||
|
||||
The microphone circuit board was connected on four points which I cut with this cutter slowly and
|
||||
precise.
|
||||
|
||||
![for reference: same as before, but with the head of a match beside - they are like the same size](reference.jpg "A reference picture so you get a clue how small this circuit board actually is")
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
---
|
||||
title: Pat winlink on OpenBSD
|
||||
summary: Trying out [pat](https://getpat.io) on my OpenBSD laptop.
|
||||
date: 2023-11-12T14:18:57+01:00
|
||||
#lastmod:
|
||||
categories:
|
||||
- amateur-radio
|
||||
tags:
|
||||
- winlink
|
||||
- openbsd
|
||||
- draft_post
|
||||
|
||||
# showBreadcrumbs: true
|
||||
# showDate: false
|
||||
# showReadingTime: false
|
||||
# showWordCount: false
|
||||
# showPagination: false
|
||||
|
||||
# feed_exclude: true
|
||||
# site_exclude: true
|
||||
|
||||
draft: true
|
||||
|
||||
---
|
||||
|
||||
|
BIN
content/posts/2024/smart-tvs-are-not-great/transfers.png
(Stored with Git LFS)
BIN
content/posts/2024/smart-tvs-are-not-great/transfers.png
(Stored with Git LFS)
Binary file not shown.
|
@ -1,65 +0,0 @@
|
|||
---
|
||||
title: UPS Plus on the Raspberry Pi 3
|
||||
summary: >
|
||||
I recently bought a UPS head for my Raspberry Pi 3 that makes
|
||||
use of my akkus of the type 18650.
|
||||
date: 2023-11-25T06:46:12+01:00
|
||||
#lastmod:
|
||||
categories:
|
||||
- amateur-radio
|
||||
tags:
|
||||
- draft_post
|
||||
|
||||
# showBreadcrumbs: true
|
||||
# showDate: false
|
||||
# showReadingTime: false
|
||||
# showWordCount: false
|
||||
# showPagination: false
|
||||
|
||||
# feed_exclude: true
|
||||
# site_exclude: true
|
||||
|
||||
draft: true
|
||||
|
||||
---
|
||||
|
||||
in home dir
|
||||
|
||||
```console
|
||||
$ python3 -m venv .
|
||||
$ curl -LsO https://raw.githubusercontent.com/geeekpi/upsplus/main/install.sh
|
||||
$ bash install.sh
|
||||
```
|
||||
|
||||
if errors occur, install by hand
|
||||
|
||||
edit crontab to use the python version in your bin folder
|
||||
|
||||
```crontab
|
||||
* * * * * /home/dr/bin/python3 /home/dr/bin/upsPlus.py > /tmp/upsPlus.log
|
||||
* * * * * /home/dr/bin/python3 /home/dr/bin/upsPlus_iot.py > /tmp/upsPlus_iot.log
|
||||
```
|
||||
|
||||
get information
|
||||
|
||||
```console
|
||||
$ python3 bin/upsPlus.py
|
||||
------------------------------------------------------------
|
||||
------Current information of the detected Raspberry Pi------
|
||||
------------------------------------------------------------
|
||||
Raspberry Pi Supply Voltage: 5.028 V
|
||||
Raspberry Pi Current Current Consumption: 571.068 mA
|
||||
Raspberry Pi Current Power Consumption: 2570.227 mW
|
||||
------------------------------------------------------------
|
||||
-------------------Batteries information-------------------
|
||||
------------------------------------------------------------
|
||||
Voltage of Batteries: 4.208 V
|
||||
Battery Current (Charging) Rate: 30.000 mA
|
||||
Current Battery Power Supplement: 263.415 mW
|
||||
Successfully set the protection voltage to: 3700 mV
|
||||
------------------------------------------------------------
|
||||
Currently charging via Type C Port.
|
||||
```
|
||||
|
||||
The raspi works when power cable get pulled out.
|
||||
|
Loading…
Reference in a new issue