Go to advanced search

by HermannSW
Wed Feb 19, 2020 8:30 pm
Forum: Camera board
Topic: Photo examples
Replies: 4
Views: 278

Re: Photo examples

Thanks for sharing, it is really worth to watch the full 1:21min video, here is just before end with low light:
Anapa.png.jpg
Anapa.png.jpg
Anapa.png.jpg (80.97 KiB) Viewed 38 times
by HermannSW
Wed Feb 19, 2020 12:10 pm
Forum: General discussion
Topic: Play video on a 3.5" LCD
Replies: 6
Views: 128

Re: Play video on a 3.5" LCD

I used notro's instruction, just mplayer, video taken with wget, prescaled to 320x240: https://github.com/notro/fbtft/wiki/Framebuffer-use#mplayer I do have those those 2.4" 320x240 displays, as well as 3.5" 480x320 displays. If of interest I can compare video performance for both. https://www.raspb...
by HermannSW
Wed Feb 19, 2020 7:23 am
Forum: General discussion
Topic: Play video on a 3.5" LCD
Replies: 6
Views: 128

Re: Play video on a 3.5" LCD

3 years ago I used fbtft from notro and mplayer at 25fps on 2.4" tft LCD (320x240):
https://m.youtube.com/watch?v=gaD7M2CtKwA
by HermannSW
Wed Feb 19, 2020 2:23 am
Forum: General discussion
Topic: Powering Pi Zero with AA batteries
Replies: 25
Views: 643

Re: Powering Pi Zero with AA batteries

https://www.pololu.com/product/2836 Not terribly expensive and with an input voltage between 2v and 16v it gives me the flexibility to test a range of different battery configurations. I use LM2596 modules (3$ with free shipping): input voltage: 0-40V (>=4.5V needed for voltmeter accuracy) adjustab...
by HermannSW
Mon Feb 17, 2020 9:47 pm
Forum: Networking and servers
Topic: Rocket-Ground Communication for Video Streaming
Replies: 2
Views: 82

Re: Rocket-Ground Communication for Video Streaming

An ESP32 can do 802.11 LR mode (a patented custom mode) that can achieve a 1 km line of sight range so long as both the station and the soft-AP are connected to an ESP32 device. With two big antennas ESP32 can do 10km Wifi with line of sight: https://hackaday.com/2017/04/11/esp32-wifi-hits-10km-with...
by HermannSW
Mon Feb 17, 2020 4:28 pm
Forum: Python
Topic: Pygame draws on wrong display
Replies: 2
Views: 77

Re: Pygame draws on wrong display

But one I set pygame.display.set_mode the script opens a new window on my laptop instead of drawing to the Pi's lcd. ( I use my laptop with ssh to develop the scripts.) Sounds like you are using "ssh -X ..." for that, otherwise windows would not open on your laptop. X11 seems to run on default disp...
by HermannSW
Mon Feb 17, 2020 4:20 pm
Forum: General discussion
Topic: Powering Pi Zero with AA batteries
Replies: 25
Views: 643

Re: Powering Pi Zero with AA batteries

Forris wrote:
Mon Feb 17, 2020 3:56 pm
How about this:
https://www.amazon.co.uk/Gomadic-Portab ... B00BR22W0Q
A fresh AA battery provides 1.6V.
4x1.6V=6.4V.
Pi should not be powered with more than 5.3V.
Is there a step-down converter involved?
by HermannSW
Mon Feb 17, 2020 3:55 pm
Forum: HATs and other add-ons
Topic: WoodenBoardPi
Replies: 5
Views: 1893

Re: WoodenBoardPi

I do own and use two Waveshare 7inch displays happily (as long as the LCD is near enough to my eyes). In case I need a really big display I would buy a refurbished 19-22 inch display for 20-25$ on local amazon. Even if they are VGA only, a cheap VGAtoHDMI converter allows to use with Raspberry PIs. ...
by HermannSW
Sun Feb 16, 2020 4:14 pm
Forum: Python
Topic: pigpio_encoder not installing on Buster
Replies: 19
Views: 402

Re: pigpio_encoder not installing on Buster

I did stumble into callback costs once as well. I resolved by doing active waiting (for the rising edge): https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter/blob/master/tools/audio_shots.c#L67 It is simple to extended that loop to rising/falling edge counter. And it can be ext...
by HermannSW
Sun Feb 16, 2020 7:31 am
Forum: General discussion
Topic: Is there a better way to control NTSC signal generation?
Replies: 12
Views: 361

Re: Is there a better way to control NTSC signal generation?

Do you see wrong frames without lightning bolt?
by HermannSW
Sun Feb 16, 2020 2:35 am
Forum: Advanced users
Topic: RPi 4B Small Laptop Project
Replies: 8
Views: 725

Re: RPi 4B Small Laptop Project

Here you can get additional ideas: https://www.kickstarter.com/projects/127134527/lappi-diy-laptop-for-raspberry-pi https://ksr-ugc.imgix.net/assets/022/589/823/8616780812ad715c9dba07ba6defb459_original.jpg?ixlib=rb-2.1.0&w=680&fit=max&v=1537259149&auto=format&gif-q=50&q=92&s=6590ce9d4eaad992115d10e...
by HermannSW
Sat Feb 15, 2020 4:17 pm
Forum: Camera board
Topic: Camera v1.3 - No output & raspistill hangs
Replies: 6
Views: 238

Re: Camera v1.3 - No output & raspistill hangs

The second is a v1 camera clone and should work with raspivid/raspistill. Because of "detected=1" the cabling is correct, and raspistill should work. Can you please try "raspivid -o tst.h264" and wait for more than 5 seconds to see whether a non-0 size video got written? raspistill does wait for 5s ...
by HermannSW
Sat Feb 15, 2020 3:44 pm
Forum: Advanced users
Topic: RPi 4B Small Laptop Project
Replies: 8
Views: 725

Re: RPi 4B Small Laptop Project

For a real laptop your big wireless keyboard is preferable. I use a small 5$ wireless keyboard that has touch area as well. Onle for the first and smallest of my "laptop"s I ever did a non-mains powering solution. 1) My first Pi laptop had a 2.4" 320x240 display with wireless keyboard. It included 3...
by HermannSW
Sat Feb 15, 2020 1:42 pm
Forum: Python
Topic: pigpio_encoder not installing on Buster
Replies: 19
Views: 402

Re: pigpio_encoder not installing on Buster

This means that some algorithms, used successfully for rotary encoders, on a 16MHz Arduino will not work with the 1.5GHz Pi 4 because it is not fast enough. I don't know what you try to measure, but I cannot believe what you state. I had problems with single digit microsecond length pusles. Reason ...
by HermannSW
Fri Feb 14, 2020 7:00 pm
Forum: Automation, sensing and robotics
Topic: TCP Smart Bulbs
Replies: 5
Views: 207

Re: TCP Smart Bulbs

1st method worked fine, I did apply for "Cloud API Authorization" and that was granted: https://github.com/codetheweb/tuyapi/blob/master/docs/SETUP.md I tried to use tuya-cli per the instructions, and at least the keys seem to be fine because registering against resetted plug really starts, with Bra...
by HermannSW
Fri Feb 14, 2020 8:24 am
Forum: Python
Topic: GPIO and subprocess module Python3
Replies: 7
Views: 380

Re: GPIO and subprocess module Python3

>>> s=subprocess.Popen('/usr/bin/top',stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) >>> s.stdout.read() b'top: failed tty get\n' 'top' needs a tty, not a pipe, I did run in similar issue with "stty" with simple solution -- just give it tty as stdin! https://lb.raspberrypi...
by HermannSW
Fri Feb 14, 2020 8:22 am
Forum: C/C++
Topic: V4l2 output streaming example.
Replies: 4
Views: 168

Re: V4l2 output streaming example.

Simple gstreamer pipeline, no C involved: http://wiki.oz9aec.net/index.php?title=Gstreamer_cheat_sheet#Network_Streaming C code for get a frame from v4l2 source and store or display. Extend to capture multiple frames. Then split for getting frames and displaying. Then either add network code for str...
by HermannSW
Fri Feb 14, 2020 12:33 am
Forum: Python
Topic: pigpio_encoder not installing on Buster
Replies: 19
Views: 402

Re: pigpio_encoder not installing on Buster

But now pigpio is refusing to run it is reporting:- "Can't lock /var/run/pigio.pid" You have to read the basics on pigpio page: http://abyz.me.uk/rpi/pigpio/ The pigpio daemon is not started, start it and you can run the example Joan pointed to: 🍓 sudo pigpiod 🍓 ./rotary_encoder.py P.S: I wrote som...
by HermannSW
Thu Feb 13, 2020 3:10 pm
Forum: General discussion
Topic: Buying more than one Pi zero?
Replies: 25
Views: 799

Re: Buying more than one Pi zero?

Think of the Pi Zero as a 10$ 1GHz with CSI2 and HDMI interfaced computer without shipping cost. If you find any other such computer for less than 10$, buy that. I did so years ago buying some NanoPi models. They are cheap, but have near 0 forum+community support (in case you speak no Chinese) -- no...
by HermannSW
Thu Feb 13, 2020 2:29 pm
Forum: Networking and servers
Topic: What are some good networking tools for Linux?
Replies: 7
Views: 291

Re: What are some good networking tools for Linux?

Wireshark is the go to tool for this. In addition, if you want to inspect traffic between two other devices, you can use ettercap with unified sniffing. Set the two other devices as host1 and host2, and then select MITM arp poisoning. Finally you can capture the traffic between the two other device...
by HermannSW
Thu Feb 13, 2020 2:11 pm
Forum: General discussion
Topic: screen mirroring
Replies: 6
Views: 2778

Re: screen mirroring

You can access data from Android, as well as execute commands on Android via Android debug bridge:
https://developer.android.com/studio/command-line/adb

This allows to access Android display as well:
https://www.howtogeek.com/howto/42491/h ... oid-phone/
by HermannSW
Thu Feb 13, 2020 6:36 am
Forum: Networking and servers
Topic: ethernet over powerline driver
Replies: 15
Views: 465

Re: ethernet over powerline driver

The first adapter takes ethernet and encodes the data on powerline. The 2nd adapter decodes the data from powerline and provides ethernet plug where you can connect a computer/Pi. You cannot do the 2nd part with the Pi, because the Pi cannot access mains (anything above 3.3V kills the Pi). And becau...
by HermannSW
Thu Feb 13, 2020 6:20 am
Forum: Advanced users
Topic: Streaming Pi Camera on localhost HTML
Replies: 2
Views: 141

Re: Streaming Pi Camera on localhost HTML

No idea about apache2, but here is a browser access to Pi camera:
viewtopic.php?t=204921
by HermannSW
Thu Feb 13, 2020 4:41 am
Forum: Camera board
Topic: how would I connect and control this fisheye lens to a raspberry pi?
Replies: 3
Views: 150

Re: how would I connect and control this fisheye lens to a raspberry pi?

I don't see any mount mentioned in the document. Here is a M12 8MP 180° fisheye lens found by search for "M12 fisheye lens 8MP" on aliexpress: https://de.aliexpress.com/item/32621191691.html Here is how I started to add manually a M12 mount to v1 camera: https://www.raspberrypi.org/forums/viewtopic....
by HermannSW
Wed Feb 12, 2020 7:37 pm
Forum: Advanced users
Topic: Qs on dispmanx layer
Replies: 4
Views: 137

Re: Qs on dispmanx layer

or modify PREVIEW_LAYER at https://github.com/raspberrypi/userland/blob/master/host_applications/linux/apps/raspicam/RaspiPreview.h#L33 Preview layer is defined as 2. You can see what is being composed, with all the layer information, by using "vcgencmd dispmanx_list". Thanks for that valuable comm...

Go to advanced search