Go to advanced search

by topguy
Wed Sep 18, 2019 1:14 pm
Forum: C/C++
Topic: QSerialBus (Modbus), QTCreator 5 and RaspBerry
Replies: 8
Views: 369

Re: QSerialBus (Modbus), QTCreator 5 and RaspBerry

On normal debian you have the
- libqt5serialbus5
- libqt5serialbus5-dev

packages, so I assume they also are installable in Raspbian.

( I'm assuming you are using Qt5 here... )
by topguy
Wed Sep 18, 2019 1:07 pm
Forum: Beginners
Topic: Help co combine a "kit"
Replies: 1
Views: 78

Re: Help co combine a "kit"

+ I need it to work with pure OpenWRT from their official web-site. Then you should tell us which Raspberry Pis models are supported according to the official web-site. If there are no Raspberry Pi images for download then this requirement can not be fulfilled. You need an HAT like this I suppose f...
by topguy
Wed Sep 18, 2019 11:42 am
Forum: Media centres
Topic: New to the whole: using a Rasp as wireless audio system?
Replies: 13
Views: 632

Re: New to the whole: using a Rasp as wireless audio system?

If the Raspberries are capable of programming ins and outs, isn't there a way to program audio ins and outs too? Whatever the input/output? The Pi is a generic computer so its capable of a whole lot of things, it doesnt mean that achieving those things are trivial, even for experts. I dont know of ...
by topguy
Tue Sep 17, 2019 4:57 pm
Forum: Media centres
Topic: New to the whole: using a Rasp as wireless audio system?
Replies: 13
Views: 632

Re: New to the whole: using a Rasp as wireless audio system?

And I want to make the following: Making my own TurtleBeach equivalent.. Its usually best to explain what you mean by that, most might not know how a beach full of turtles are relevant ;-) my high-end wired headphone Are we talking XLR plug, high end here ? The Pi alone is "not excellent" at produc...
by topguy
Tue Sep 17, 2019 2:35 pm
Forum: Python
Topic: Read serial port using pyserial problem
Replies: 23
Views: 551

Re: Read serial port using pyserial problem

What kind of hardware is producing the data ?
Does the program start reading again if you only stop and restart the program ?
So what is an typical number of the "counter" when it stops readling ?
by topguy
Tue Sep 17, 2019 1:56 pm
Forum: Beginners
Topic: running autoconf
Replies: 4
Views: 104

Re: running autoconf

The commands I posted was a snippet from a script called "autogen.sh"... guess what you have too ? :D
by topguy
Tue Sep 17, 2019 1:24 pm
Forum: Beginners
Topic: running autoconf
Replies: 4
Views: 104

Re: running autoconf

If might be helpful if you could give us a link to where we could see a list of the files included. ( a git repo for example ) Take a backup of the clean directory and then first see if someone included a "bootstrap.sh" file for you to run. From an old script for an automake project I worked on. acl...
by topguy
Tue Sep 17, 2019 10:36 am
Forum: Graphics programming
Topic: RayLib and Geany
Replies: 5
Views: 271

Re: RayLib and Geany

If you have done proper installation then:
/usr/local/include is the include path..
/usr/local/lib is the library path..

What I had in my previous answer is the end of the output from "sudo make install".
by topguy
Mon Sep 16, 2019 11:23 am
Forum: General discussion
Topic: Ras Pi and Kodi
Replies: 3
Views: 137

Re: Ras Pi and Kodi

The hard part is the remote access. - I dont know how updates work on OSMC, or if OSMC still is built on top of Raspbian. - So I'm suggesting that probably running Kodi on top of Raspbian Buster gives you the best options/flexibility. ( at the time of writing.. ) - Do you have complete control over ...
by topguy
Mon Sep 16, 2019 11:01 am
Forum: Graphics programming
Topic: RayLib and Geany
Replies: 5
Views: 271

Re: RayLib and Geany

I did a test build and install. ( not on a Pi ) Install the project... -- Install configuration: "Debug" -- Installing: /usr/local/lib/libraylib.a -- Installing: /usr/local/include/raylib.h -- Installing: /usr/local/lib/pkgconfig/raylib.pc -- Installing: /usr/local/lib/cmake/raylib/raylib-config-ver...
by topguy
Mon Sep 16, 2019 8:58 am
Forum: Graphics programming
Topic: RayLib and Geany
Replies: 5
Views: 271

Re: RayLib and Geany

Did you build and install the RayLib library successfully ?
by topguy
Sun Sep 15, 2019 12:09 pm
Forum: Troubleshooting
Topic: GPS pi4 incorrect date
Replies: 12
Views: 380

Re: GPS pi4 incorrect date

Thanks Dougie but I'm pretty sure this isn't a roll over thing given the date is not a different amount out each day (every day the gps thinks is 30-01-2000). In your first post ( 8/9 ) the date was 23/1/2000 and now a week later (15/9) its 30/1/2000.. do you not see the pattern ? As I said in the ...
by topguy
Fri Sep 13, 2019 2:15 pm
Forum: Beginners
Topic: Git pull in Raspbian on boot on multiple Raspberry PI-s
Replies: 2
Views: 230

Re: Git pull in Raspbian on boot on multiple Raspberry PI-s

Also, I would only like the PIs to pull the code, the users cannot be able to make changes and push the code back on Gitlab Since you will be handing out these Pi's there is nothing you can do to really prevent anyone from accessing any keys used against GitLab. But you should maybe create a user i...
by topguy
Fri Sep 13, 2019 11:49 am
Forum: C/C++
Topic: qtcreator (qt5, qtdesigner): how to access GPIOs (r/w pins, i2c devices, UART,...)? [solved]
Replies: 52
Views: 1954

Re: qtcreator (qt5, qtdesigner): how to access GPIOs (r/w pins, i2c devices, UART,...)?

in other words: To me it feels you are asking two very different questions. The second one is probably best handled by reading the documentaion: https://doc.qt.io/qtcreator/creator-project-qmake-libraries.html To answer you first question its is also best to start with learning the basic UI mechani...
by topguy
Fri Sep 13, 2019 11:45 am
Forum: General discussion
Topic: HDMI Display Brightness control through Raspberry pi GPIO
Replies: 1
Views: 72

Re: HDMI Display Brightness control through Raspberry pi GPIO

Do you want to connect buttons to the GPIO to use as "brightness up" "brightness down" ?

Or do you want to connect the GPIO pins to the display itself and control display brightness this way ?
( without any datasheet for the screen I don't know how we could try to answer this question )
by topguy
Fri Sep 13, 2019 11:36 am
Forum: General discussion
Topic: correct use of serial port
Replies: 8
Views: 475

Re: correct use of serial port

If you do a "ln -s /dev/serial0", my guess would be that it is just a link to "ttyAMA0", if that is the case then they are the same device and naming makes no difference.. Which version of Raspbian do you use ? Have you used raspi-config to change any of the serial-port related settings ? Also read ...
by topguy
Fri Sep 13, 2019 11:28 am
Forum: Raspbian
Topic: RESOLVED : Buster + Headless + Teamviewer + no FrameBuffer = FAILURE
Replies: 4
Views: 247

Re: Buster + Headless + Teamviewer + no FrameBuffer = FAILURE

The Pi4 ( and buster ) uses the GPU differently than earlier models so that is probably why there is no standard linux-framebuffer device present. - So either you need an option to also create fbX devices on a Pi4, but I'm not sure that is an option. - Or the Teamviewer people need to update their s...
by topguy
Fri Sep 13, 2019 8:49 am
Forum: Other projects
Topic: Raspberry pi rfid door lock
Replies: 6
Views: 325

Re: Raspberry pi rfid door lock

Using Jessie which is very old, could be difficult in general, a better solution is to learn how the solution is supposed to work and learn set it up manually.
by topguy
Thu Sep 12, 2019 12:19 pm
Forum: Beginners
Topic: Update browser with command
Replies: 3
Views: 114

Re: Update browser with command

You could also use "xdotool" to send a "F5" to the browser..
( assuming you mean to ask about refershing the page and not updating the version of Chromium. )
by topguy
Tue Sep 10, 2019 10:56 am
Forum: Gentoo
Topic: QT issues
Replies: 6
Views: 480

Re: QT issues

Qt4 is quite different from the standard Qt5 but it is still installable in Buster I think.

https://packages.debian.org/search?keyw ... ection=all


PS. Who is Sakaki ?
by topguy
Tue Sep 10, 2019 10:50 am
Forum: Automation, sensing and robotics
Topic: Multiple RFID Reader via RS485
Replies: 1
Views: 114

Re: Multiple RFID Reader via RS485

There is no way to use multiple devices meant for RS-232 on a multidrop RS-485 bus. The devices (and their protocol ) must be designed for RS-485, you need them to only answer/listen to data that has the correct "address".
by topguy
Tue Sep 10, 2019 9:37 am
Forum: Beginners
Topic: Not able to share files to a portable drive on my Raspberry Pi.
Replies: 12
Views: 342

Re: Not able to share files to a portable drive on my Raspberry Pi.

And by large files you mean 4GB+ size files ??
by topguy
Mon Sep 09, 2019 1:33 pm
Forum: Beginners
Topic: Error in make -j4
Replies: 2
Views: 227

Re: Error in make -j4

What model Pi are you running this on ? This is very often a "out of memory" problem.

Test with "make" or "make -j2" and see if it continue the build or not.
by topguy
Mon Sep 09, 2019 1:24 pm
Forum: Bare metal, Assembly language
Topic: Detecting RPi4 programatically
Replies: 8
Views: 501

Re: Detecting RPi4 programatically

Or just "grep xxx /proc/cpuinfo", where xxx is replaced by relevant value for Pi3 or Pi¤ maybe..

Go to advanced search