Go to advanced search

by ElEscalador
Sun Jul 15, 2018 9:15 pm
Forum: C/C++
Topic: My Buffer Runneth Over - libmosquitto user IQ error somewhere...
Replies: 4
Views: 213

Re: My Buffer Runneth Over - libmosquitto user IQ error somewhere...

MUCHO appreciated, my good man. Simply removing the recurring call for mqtt_setup() and extra calls to cleanup() and destroy() seems to have solved the overflow problem. I think I added those in an attempt to be able to change the topic published to. I want to try the wrapper class out... Will be wo...
by ElEscalador
Fri Jul 13, 2018 9:51 pm
Forum: C/C++
Topic: My Buffer Runneth Over - libmosquitto user IQ error somewhere...
Replies: 4
Views: 213

Re: My Buffer Runneth Over - libmosquitto user IQ error somewhere...

My bad, I must have broken something trying to cut out the gpio stuff. Here is the complete program that compiles on command line with g++ and -lwiringPi -lmosquitto /* This program used to check garage door to monitor door status and notify us if open */ #include <iostream> #include <cstdio> #inclu...
by ElEscalador
Fri Jul 13, 2018 8:15 pm
Forum: C/C++
Topic: My Buffer Runneth Over - libmosquitto user IQ error somewhere...
Replies: 4
Views: 213

My Buffer Runneth Over - libmosquitto user IQ error somewhere...

I am trying to learn MQTT... have a working broker and command line use, but I want to start integrating it into my 1/2 dozen pis and their c++ programs. Have my first publisher working - kinda. The original program simply monitors the garage door end switch and updates the console with status - tha...
by ElEscalador
Tue Jul 10, 2018 3:50 pm
Forum: Beginners
Topic: How to access live video from the Pi camera remotely
Replies: 3
Views: 112

Re: How to access live video from the Pi camera remotely

Well...the option I'm talking about enabling is enabled on the rpi. I think that video overlay whatever stuff should be present on whatever vnc viewer you use as long as you're using realvnc on the rpi side, but you'll have to try it. Actually - I'm pretty sure you can download realvnc for windows t...
by ElEscalador
Tue Jul 10, 2018 3:40 pm
Forum: Troubleshooting
Topic: rpi3 cannot get connection with Samsung Galaxy S9 wifi tethering.
Replies: 2
Views: 121

Re: rpi3 cannot get connection with Samsung Galaxy S9 wifi tethering.

I have pis zero, zero w, 2, and 3 that all connect to my galaxy S8 no problem (verizon wireless and before that - sprint pcs with a galaxy s7). I usually use raspbian desktop version and connect with the widget just once, but I have just entered the data in wpa supplicant file.... if you are using a...
by ElEscalador
Tue Jul 10, 2018 11:46 am
Forum: Beginners
Topic: How to access live video from the Pi camera remotely
Replies: 3
Views: 112

Re: How to access live video from the Pi camera remotely

IF you're using realvnc - on the host computer open realvnc, then options, then expert. Click to "enable experiment direct capture mode."
by ElEscalador
Sat Jun 30, 2018 2:33 am
Forum: General discussion
Topic: New Raspbian release 2018-06-27
Replies: 30
Views: 1580

Re: New release 2018-06-27

WIth the last release, code::blocks would just close every random interval between two and 20 minutes. I really don't know if it was raspbian or code::blocks, but I was not alone. Any idea if this is better in this version?
by ElEscalador
Fri Jun 29, 2018 3:22 pm
Forum: Add-ons
Topic: Alternative to PiTFT+?
Replies: 2
Views: 150

Re: Alternative to PiTFT+?

I have also wondered this. Or do I have to basically dedicate a pi to UI, the have it communicate with another that does all the gpio stuff?
by ElEscalador
Thu Jun 28, 2018 12:12 pm
Forum: C/C++
Topic: Looking for good C/C++ resources for PI
Replies: 18
Views: 1192

Re: Looking for good C/C++ resources for PI

I like code::blocks on the pi, although it's a bit heavy and slow used on a zero and for some reason keeps randomly closing on my latest install. I just use the leafpad text editor for small projects on a zero, for bigger projects I usually use a pi3 to write and test the code then move copy it to t...
by ElEscalador
Thu Jun 21, 2018 4:17 pm
Forum: Beginners
Topic: Using C++ with RaspberryPi
Replies: 2
Views: 102

Re: Using C++ with RaspberryPi

WiringPi and pigpio are both pretty great for c/c++. Both have great support with the developers being right here on the forum, too.
by ElEscalador
Mon May 21, 2018 5:08 pm
Forum: Troubleshooting
Topic: HDMI not working on LG Monitor TV
Replies: 4
Views: 165

Re: HDMI not working on LG Monitor TV

I thought the trick was hdmi_force_hotplug=1 ? It's been a while since I needed it, so maybe it has changed with versions... try it if you haven't, though.

Then back to the basics - what are you using to make the changes? Another monitor? Is that one hdmi as well?
by ElEscalador
Thu May 17, 2018 11:44 am
Forum: Other projects
Topic: A portable maker space for home
Replies: 5
Views: 332

Re: A portable maker space for home

Nice. I had a similar problem, plus I was always taking my stuff from one place to another (work, home, project locations, etc). I built a station into a steel case that everyone warns me to never take to an airport... It has worked very well, and I have a smallish 4-tray parts organizer cube thing ...
by ElEscalador
Mon May 14, 2018 2:08 pm
Forum: General discussion
Topic: Raspberry pi camera streaming
Replies: 9
Views: 763

Re: Raspberry pi camera streaming

I am not familiar with gstreamer, but if you have streaming or camera preview up and running on the local/hosting rpi, I have used realVNC to remotely view the screen. It used to be a beta option you had to enable to be able to watch streaming video preview stuff. Not sure if it's still beta or just...
by ElEscalador
Fri May 11, 2018 3:24 pm
Forum: C/C++
Topic: Codeblocks Crashes
Replies: 1
Views: 372

Re: Codeblocks Crashes

Yes, having the same problem with a fresh install of the latest raspbian just this week. I'm tryna do my homework here and it keeps just closing and losing my work every 30 seconds to 10 minutes. I don't suppose you've found a solution?
by ElEscalador
Thu May 10, 2018 12:28 pm
Forum: Automation, sensing and robotics
Topic: Beginner looking for where to start with robotics
Replies: 2
Views: 238

Re: Beginner looking for where to start with robotics

Learn to use your gpio. First, just blink and LED - plenty of tutorials for that. Then learn how to use the same script to turn a motor on and of via a relay - most any DC motor will do. Then learn to make the motor start, stop, and reverse. (Reverse with a 2nd relay) Then learn to vary the speed of...
by ElEscalador
Wed May 09, 2018 12:33 pm
Forum: General discussion
Topic: Git (GitLab) Noobie questions
Replies: 2
Views: 167

Re: Git (GitLab) Noobie questions

Thanks, I had not seen that tutorial. It is a place to start...
by ElEscalador
Tue May 08, 2018 11:55 am
Forum: General discussion
Topic: Git (GitLab) Noobie questions
Replies: 2
Views: 167

Git (GitLab) Noobie questions

1. How have I not discovered this earlier?? This is so much better than my messy, uncommented DropBox folders! 2. Can I upload the executables, and revert the program that is running on my Pi to any version as simply as commanding a revert? Or do I have to download the code for whatever version I wa...
by ElEscalador
Tue May 08, 2018 11:35 am
Forum: General discussion
Topic: Pi3 Suddenly won't compile even a HelloWorld... Illegal instruction/Segmentation Fault
Replies: 4
Views: 320

Re: Pi3 Suddenly won't compile even a HelloWorld... Illegal instruction/Segmentation Fault

Meh... I did a fresh install of the latest. Still terribly curious, but nothing critical.
by ElEscalador
Tue May 08, 2018 1:32 am
Forum: General discussion
Topic: Pi3 Suddenly won't compile even a HelloWorld... Illegal instruction/Segmentation Fault
Replies: 4
Views: 320

Re: Pi3 Suddenly won't compile even a HelloWorld... Illegal instruction/Segmentation Fault

Gcc at least started to work from command line. It gave me errors about "cout<< " which I think I recall hearing that it's not a thing in c, so maybe makes sense. I actually had to do some work at work and didn't have a chance to look up the printf() way of doing things that I don't know very well. ...
by ElEscalador
Mon May 07, 2018 12:20 pm
Forum: General discussion
Topic: Pi3 Suddenly won't compile even a HelloWorld... Illegal instruction/Segmentation Fault
Replies: 4
Views: 320

Pi3 Suddenly won't compile even a HelloWorld... Illegal instruction/Segmentation Fault

I've been using this pi for a good while...messing with writing various programs... I decided to write a few different hello worlds to mess with learning to use gitlab, but got hung up just trying to compile the first one. The command line command : g++ gitTest1.cpp -o testexe1 Just spits out "Illeg...
by ElEscalador
Sun Apr 22, 2018 3:37 pm
Forum: Other projects
Topic: Raspberry Pi Data Logger and Remote Troubleshooter for Equipment Controls
Replies: 0
Views: 111

Raspberry Pi Data Logger and Remote Troubleshooter for Equipment Controls

A little something I cooked up to make my work life easier - basically, this little thing is meant to show me if machines are operating in the correct sequence. Does a lot more, really. I'm working on a blog page for it, please let me know what details you'd be interested in knowing more about. http...
by ElEscalador
Fri Dec 01, 2017 3:24 am
Forum: General discussion
Topic: Looking for a many-channel AC to logic level optocoupler...
Replies: 2
Views: 261

Looking for a many-channel AC to logic level optocoupler...

I thought I saw someone mention an 8-channel one, but can't find it for the life of me. I'm looking to monitor 24 and 110 volts (AC) terminals with a pi's gpio. I can only seem to find single channel ac to logic level optocouplers. Yes, I know mains is dangerous..I repair equipment and building auto...
by ElEscalador
Thu Nov 30, 2017 4:16 am
Forum: Troubleshooting
Topic: Endless problems with Pi Zeros
Replies: 10
Views: 933

Re: Endless problems with Pi Zeros

I've never had a problem with the 8 or so I've used except for : 1. power supply (cable actually) was worn and not supplying enough and 2: hot-plugging usb stuff. I've even run a wifi dongle and Bluetooth keyboard/mouse at the same time with my unpowered hub. Although that will cause it to behave as...
by ElEscalador
Mon Sep 18, 2017 11:28 am
Forum: General discussion
Topic: USB to USB/ Windows to Raspi w C++ serial ...what cable?
Replies: 7
Views: 650

Re: USB to USB/ Windows to Raspi w C++ serial ...what cable?

That is unfortunately frequently not possible because of work schedule and location. Nothing has been more effective than the remote=semi automated control of internet access..a little more automation would helpful.

Go to advanced search