Go to advanced search

by rin67630
Wed Jun 26, 2019 4:03 pm
Forum: Python
Topic: Read one byte from a serial input, not interrupting.
Replies: 3
Views: 52

Re: Read one byte from a pseudo-serial input, not interrupting.

Thanks for the hint.
I forgot to mention: I am reading from /dev/pty/n (a pseudo tty port)
Will serial work for that?
Regards
by rin67630
Wed Jun 26, 2019 1:36 pm
Forum: Python
Topic: Read one byte from a serial input, not interrupting.
Replies: 3
Views: 52

Read one byte from a serial input, not interrupting.

Ok I am a noob in Python. It seams that Python can make complex things easy, but also easy things complex. within a given loop, I want to read one byte from a serial input into a variable CMD, populating "" if nothing comes, but anyhow not waiting forever for an input. If I write: CMD = os.read ( ma...
by rin67630
Wed Jun 26, 2019 9:18 am
Forum: General discussion
Topic: The RPi4 makes no sense to me. Fight me!
Replies: 30
Views: 1488

Re: The RPi4 makes no sense to me. Fight me!

chinaguy wrote:
Tue Jun 25, 2019 12:06 am
I have seen them in Smart Media LED advertising boards and Tourist Information centers.
Exactly, and that ist probably the very purpose of that design. If the communication industry bites and purchases many of them, it will reduce the overall cost for everybody.
by rin67630
Mon Jun 24, 2019 5:02 pm
Forum: General discussion
Topic: Simple circuit to step down 120VAC
Replies: 3
Views: 104

Re: Simple circuit to step down 120VAC

If you want to sense if a device is on/off you ought to use an opto-coupler. Depending on what you want to sense it's sometimes just purposedly to glue a phototransistor in front of the on/off light of the device to be sensed, so you won't need to modify anything and avoid to deal with life threaten...
by rin67630
Fri Jun 21, 2019 10:30 am
Forum: Raspbian
Topic: Want to use GPIO serial with a JAVA Application? be aware...
Replies: 0
Views: 454

Want to use GPIO serial with a JAVA Application? be aware...

Do you want to use GPIO serial with a JAVA Application, be aware of that! Beside all the known traps of reallocation of the uarts to bluetooth and the serial console, if you want to use GPIO communication by a Java application, you will run into an error: device /dev/ttyAMA0 not available. The RXTX ...
by rin67630
Thu Jun 20, 2019 8:51 pm
Forum: Java
Topic: Got a problem to use /dev/ttyAMA0 in a java application...
Replies: 5
Views: 352

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

Thats daft - but then again this is a computer :lol: Can you create a symbolic link with the name /dev/ttyS999 and see if that works? I am not familiar with symlinks to devices. I googled it and found some udev rules, but those are related to symlink accordung to manufacturer+devices. How can I cre...
by rin67630
Thu Jun 20, 2019 7:47 pm
Forum: Java
Topic: Got a problem to use /dev/ttyAMA0 in a java application...
Replies: 5
Views: 352

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

Thats daft - but then again this is a computer :lol: Can you create a symbolic link with the name /dev/ttyS999 and see if that works? I am not familiar with symlinks to devices. I googled it and found some udev rules, but those are related to symlink accordung to manufacturer+devices. How can I cre...
by rin67630
Thu Jun 20, 2019 5:11 pm
Forum: Java
Topic: Got a problem to use /dev/ttyAMA0 in a java application...
Replies: 5
Views: 352

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

Finally I found a path to follow:

The Java driver RXTX used for serial communication is full of traps.
It will only scan standard /dev/ttySx and /dev/ttyUSBx ports.
Unusual ports as /dev/ttyAMAx or ACMx are just not considered.

cf: https://angryelectron.com/rxtx-on-raspbian/

Puh!
by rin67630
Thu Jun 20, 2019 4:40 pm
Forum: Beginners
Topic: Assigning fixed USB ports
Replies: 9
Views: 595

Re: Assigning fixed USB ports

The problem is that FHEM autoconfigures, grabs the primary port and writes to it. Sounds weird if that behavior can not be overridden by a commandline option of other configuration parameter. If its written in Perl then it might no be so difficult to edit the program itself either, any links to the...
by rin67630
Thu Jun 20, 2019 3:13 pm
Forum: Troubleshooting
Topic: Raspberry Pi Z wWLan modules with defective HDMI?
Replies: 10
Views: 361

Re: Raspberry Pi Z wWLan modules with defective HDMI?

My current easiest full graphical way is to start with a cloned SD-card, containing all my software, including a VNC cloud connection . Once on site, I tether an internet to the Rpi with my smartphone and get into the RPi over VNC cloud. The cloud VNC connection does not require any IP address to be...
by rin67630
Wed Jun 19, 2019 11:47 am
Forum: Troubleshooting
Topic: Raspberry Pi Z wWLan modules with defective HDMI?
Replies: 10
Views: 361

Re: Raspberry Pi Z wWLan modules with defective HDMI?

Yes, config_hdmi_boost=7 in config.txt located in the folder /boot/ brings the picture back...
Thanks, HawaiianPi!
by rin67630
Wed Jun 19, 2019 10:22 am
Forum: Troubleshooting
Topic: Raspberry Pi Z wWLan modules with defective HDMI?
Replies: 10
Views: 361

Re: Raspberry Pi Z wWLan modules with defective HDMI?

I know.
But sometimes you haven't got access to the router DHCP logs to reveal the given IP address.
by rin67630
Wed Jun 19, 2019 3:58 am
Forum: Beginners
Topic: Assigning fixed USB ports
Replies: 9
Views: 595

Re: Assigning fixed USB ports

I am trying to use an arduino and FHEM concurrently on the same Raspi. The original ports get assigned differently upon initial power up and upon software reboot. The usb controllers of the arduino and the CUL from FHEM have different manufacturers and device, so theoretically the udev rules should ...
by rin67630
Tue Jun 18, 2019 5:59 pm
Forum: Troubleshooting
Topic: Raspberry Pi Z wWLan modules with defective HDMI?
Replies: 10
Views: 361

Re: Raspberry Pi Z wWLan modules with defective HDMI?

I am only once briefly using a small 5V powered HDMI monitor to get WLAN running.
The rest of the time the Raspi Zero are running without any HDMI connection.

By the way: i have been using the small 5V powered HDMI monitor for years with a lot of Raspberry Pi models, only the Zeros make trouble.
by rin67630
Sun Jun 16, 2019 5:29 pm
Forum: Troubleshooting
Topic: Raspberry Pi Z wWLan modules with defective HDMI?
Replies: 10
Views: 361

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: 10
Views: 361

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: 5
Views: 352

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: 342

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: 342

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: 342

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: 342

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: 342

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: 439

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: 439

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: 439

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 ...

Go to advanced search