Go to advanced search

by rin67630
Sun Jun 16, 2019 5:29 pm
Forum: Troubleshooting
Topic: Raspberry Pi Z wWLan modules with defective HDMI?
Replies: 3
Views: 109

Re: Raspberry Pi Z wWLan modules with defective HDMI?

Easy: no picture on any HDMI monitor.
Desktop well rendered over VNC
Another "heal" Raspi ZW runs the same SD card with picture. -> not the Software.
by rin67630
Sun Jun 16, 2019 9:15 am
Forum: Troubleshooting
Topic: Raspberry Pi Z wWLan modules with defective HDMI?
Replies: 3
Views: 109

Raspberry Pi Z wWLan modules with defective HDMI?

Hi I currently am expreincing my 3rd Raspberry Pi Z W module with defective HDMI port after only a few weeks of operations.

Have you made similar experiences?

I use to use the modules headless, so I still can use them, but it is annoying
by rin67630
Tue Jun 11, 2019 9:36 pm
Forum: Java
Topic: Got a problem to use /dev/ttyAMA0 in a java application...
Replies: 0
Views: 66

Got a problem to use /dev/ttyAMA0 in a java application...

Hi I am currently trying to convert a java application that exchanged data with a microcontroller over /dev/ttyUSB0 to now work with /dev/ttyAMA0. The Raspberry Pi 3a already has been configred to swap the bluettoth port to /dev/ttyS0 and have /dev/ttyAMA0 on GPIO. The microcontroller (an Arduino Mi...
by rin67630
Sun Jun 09, 2019 9:37 pm
Forum: Raspbian
Topic: USB to Internet Adapter not recognized
Replies: 11
Views: 265

Re: USB to Internet Adapter not recognized

rpdom wrote:
Sun Jun 09, 2019 11:34 am
If by that you mean the isolating transformer that goes between the network chip and the socket, then all the "B" model Raspberrys do have them just they are built in to the socket instead of being a separate component.
Thank you for the info. One more thing that I learned today!
by rin67630
Sun Jun 09, 2019 10:18 am
Forum: Raspbian
Topic: USB to Internet Adapter not recognized
Replies: 11
Views: 265

Re: USB to Internet Adapter not recognized

Let me supply additional information: The network adapter works well and is reported on a Windows10 tablet as follows: Manufacturer: Corechip Semiconductor, Inc. Description: USB to Ethernet Adapter Driver version: 1.0.906.0 Physical address (MAC): 00-06-08-0D-03-04 I tested it on my Android phone a...
by rin67630
Sat Jun 08, 2019 9:12 pm
Forum: Raspbian
Topic: USB to Internet Adapter not recognized
Replies: 11
Views: 265

Re: USB to Internet Adapter not recognized

+1 or one based on an ASIX chipset - eg. the Freegene one here: http://www.cpmspectrepi.uk/raspberry_pi/MoinMoinExport/USBtoLanAdapters.html Trev. That one from your example list is exactly mine, which makes the described trouble: https://www.cjoint.com/doc/19_06/IFivjkXweO1_2019-06-08-23-07-50-Sta...
by rin67630
Sat Jun 08, 2019 4:36 pm
Forum: Raspbian
Topic: USB to Internet Adapter not recognized
Replies: 11
Views: 265

Re: USB to Internet Adapter not recognized

Dear Ernst,

you did not tell me to place the adapter on an amboss before flattening it with a hammer.
Nov my 2500$ Mac is ruined. :P

More seriously, which usb network+hub combi adapter would you recommend?
by rin67630
Sat Jun 08, 2019 12:14 pm
Forum: Raspbian
Topic: USB to Internet Adapter not recognized
Replies: 11
Views: 265

USB to Internet Adapter not recognized

Cheers, I tried to run a chineese no name USB-adapter with 3 USB ports and one RJ45 Network interface on a Raspberry pi Zero. The USB-adapter with 3 USB ports and one RJ45 Network interface runs well on my Windows PC and the Network interface is detected as following: VID 0FE6 PID 9700 When I try to...
by rin67630
Fri May 24, 2019 3:00 pm
Forum: Raspbian
Topic: VNC suddenly gone...
Replies: 4
Views: 384

Re: VNC suddenly gone...

Thank you, I will check next week. Currently I have got no keyboard to test.
by rin67630
Tue May 21, 2019 8:16 pm
Forum: Raspbian
Topic: VNC suddenly gone...
Replies: 4
Views: 384

Re: VNC suddenly gone...

The icon was previously present with VNC server on the Raspi. Once connectet it turned black. It's gone now.
Why? I don't know.
by rin67630
Tue May 21, 2019 3:24 pm
Forum: Raspbian
Topic: VNC suddenly gone...
Replies: 4
Views: 384

VNC suddenly gone...

Hi on a current version of Raspbian (mainly headless) VNC has stopped to work and the VNC icon in the taskbar does not show up. VNC is enabled in Raspi-config and the attempt to reinstall realvnc over apt-get return that the actual version is already installed. How can I clear the VNC configuration ...
by rin67630
Wed May 08, 2019 8:33 am
Forum: Python
Topic: Sound Detection Sensor Module
Replies: 8
Views: 306

Re: Sound Detection Sensor Module

Please pay attention most of the crap sold as "sound detection module" detects pretty everything specially interferences!
These modules consist of a schmitt-trigger directly on the unamplified microphone input...
Be sure to buy a serious model, providing an envelope signal and process it via a ADC.
by rin67630
Wed May 08, 2019 8:09 am
Forum: Python
Topic: I wrote a program in Python but I want to send data to a JavaScript program
Replies: 6
Views: 268

Re: I wrote a program in Python but I want to send data to a JavaScript program

You may use the PTY library to create a pair of pseudo TTY ports. You write to the master and Java reads from the slave as if it were a serial port. It works also in reverse direction. Take a look a that example: import os, pty import sys import threading import usb.core import sched, time from thre...
by rin67630
Tue May 07, 2019 7:32 pm
Forum: General discussion
Topic: New Pi Zero W configuring with specific MQTT IP address
Replies: 5
Views: 244

Re: New Pi Zero W configuring with specific MQTT IP address

You also have got a trivial solution: use Rasperry Pi Zero w/o WiFi, + a μUSB-Hub and a USB-WiFi Adapter. Most of the WiFi Routers assign the IP based on the MAC-Address of the WiFi adapter, so you can change the Rasperry Pi Zero and keep the IP, which is tied to the USB-WiFi Adapter, not to the Ras...
by rin67630
Wed Mar 27, 2019 4:20 pm
Forum: Python
Topic: pty library, how to use it?
Replies: 1
Views: 113

Re: pty library, how to use it?

Ok, I am a noob in Python and am coming from c++, but I could not find any way to use the pty library https://docs.python.org/3/library/pty.html in such a way, that minicom could read the output on a second terminal instance. I really would love to get above this hurdle. Thank you for your help. I ...
by rin67630
Tue Mar 26, 2019 7:26 pm
Forum: Python
Topic: pty library, how to use it?
Replies: 1
Views: 113

pty library, how to use it?

Since I did not get any response to my thread "Seeking for the best way to interface with another app over serial" let me try again, reformulating my question in a hopefully easier way: Ok, I am a noob in Python and am coming from c++, but I could not find any way to use the pty library https://docs...
by rin67630
Mon Mar 25, 2019 12:49 pm
Forum: Python
Topic: Looking for a small hardware device to trigger a python script on my RPi
Replies: 15
Views: 867

Re: Looking for a small hardware device to trigger a python script on my RPi

Thanks, Laszlo and Matt! I am looking for an off-the-shelf hardware button so I may give the Bluetooth remote a try first, I guess. I wonder if there may be a ready-made button product for the WEMOS D1 as well? The Wemos is an astonishing powerful device, for your need it seems overkill, albeit the...
by rin67630
Sun Mar 24, 2019 9:39 pm
Forum: Python
Topic: Looking for a small hardware device to trigger a python script on my RPi
Replies: 15
Views: 867

Re: Looking for a small hardware device to trigger a python script on my RPi

Maybe a bluetooth remote for selfies? https://www.ebay.de/itm/Selfie-Remote-Bluetooth-Ausloeser-Selbstausloeser-Drahtlose-iOS-Android-Rot/311680397966 It seems to be easy to interface, it should act as a keyboard: https://www.childs.be/blog/post/bluetooth-selfie-remote-button-mapping Viel Glück, mei...
by rin67630
Sun Mar 24, 2019 9:33 pm
Forum: Python
Topic: Seeking for the best way to interface with another app over serial.
Replies: 0
Views: 74

Seeking for the best way to interface with another app over serial.

Hi, I am currently seeking for the best way to interface with another app over serial. The other app is a blackbox that expects to get every second an incoming byte from a parametrable "serial connection" (e.g. /dev/ttyS0) At the beginning we get an initial short handshake with a control byte sent f...
by rin67630
Sun Mar 24, 2019 9:01 pm
Forum: Python
Topic: Solved: How to avoid that math problem?
Replies: 11
Views: 382

Re: Solved: How to avoid that math problem?

Thank you. That worked flawlessly. ... dB = (ret[0] + ((ret[1] & 3) * 256)) / 10 + 30 print (dB) ... You are still running the risk of problems from multiple rounding here. To avoid this rather than adding 30 after division you should add 300 before devision. OK, thank you, I will change that as we...
by rin67630
Sun Mar 24, 2019 3:01 am
Forum: Python
Topic: Solved: Formatting an integer to be passed to Serial as a single char.
Replies: 7
Views: 233

Re: Formatting an integer to be passed to Serial as a single char.

Going by the 3.5 notes: chr(i) Return the string representing a character whose Unicode code point is the integer i. For example, chr(97) returns the string 'a', while chr(8364) returns the string '€'. This is the inverse of ord(). The valid range for the argument is from 0 through 1,114,111 (0x10F...
by rin67630
Sun Mar 24, 2019 2:33 am
Forum: Python
Topic: Solved: Formatting an integer to be passed to Serial as a single char.
Replies: 7
Views: 233

Re: Formatting an integer to be passed to Serial as a single char.

danjperron wrote:
Sat Mar 23, 2019 9:40 pm
maybe
ser.write(AK.to_bytes(1,byteorder='big'))
That works!
Thank you so much.
by rin67630
Sat Mar 23, 2019 9:27 pm
Forum: Python
Topic: Solved: Formatting an integer to be passed to Serial as a single char.
Replies: 7
Views: 233

Re: Formatting an integer to be passed to Serial as a single char.

Could you use the chr() function in Python? This returns a Unicode character but for the range you are using I think you only get a single character. Yes, thanks. I tried, but got an error: Traceback (most recent call last): File "devdB.py", line 46, in <module> update() File "devdB.py", line 40, i...
by rin67630
Sat Mar 23, 2019 8:45 pm
Forum: Python
Topic: Solved: Formatting an integer to be passed to Serial as a single char.
Replies: 7
Views: 233

Solved: Formatting an integer to be passed to Serial as a single char.

I am currently struggling with the correct way to format a variable that should be passed to the Serial library in order to be issued as a single character. Here is my python3 code excerpt: import os, pty, serial import tkinter import sys import usb.core import sched, time from decimal import * from...
by rin67630
Sat Mar 23, 2019 6:39 pm
Forum: Python
Topic: Solved: How to avoid that math problem?
Replies: 11
Views: 382

Re: Solved: How to avoid that math problem?

... 3. Use division by 10 instead of multiplication by 0.1 and rearrange the calculation so that the devision is the last step of your calculation meaning things are only rounded once. I don't like this option because it's rather fragile, a seemingly innocuous change to the calculation could break ...

Go to advanced search