Go to advanced search

by dl324
Sun Jun 09, 2019 1:53 am
Forum: Troubleshooting
Topic: RasPi B+ Stopped working suddenly, won't boot back up
Replies: 8
Views: 515

Re: RasPi B+ Stopped working suddenly, won't boot back up

I was using Pin 1 as the 3.3V output, is this where I went wrong? If you shorted the 3.3V supply, it shouldn't damage the BCM2835 (you are talking about RPi B+, not 3B+, correct?). If the RPF bothered to put the part number for the voltage regulator on the schematic, I'd be inclined to look at the ...
by dl324
Thu Jun 06, 2019 1:57 pm
Forum: General discussion
Topic: light detector with photo transistor
Replies: 34
Views: 2998

Re: light detector with photo transistor

It would be nice if anybody help me with making a circuit with it. This circuit will give you a LOW when light is above below the threshold you set with R3 is detected: EDIT: corrected polarity. photoTranComp.jpg If you want the opposite polarity, swap the comparator inputs. BTW, if you're not goin...
by dl324
Thu Jun 06, 2019 2:00 am
Forum: Beginners
Topic: Can not enable VNC server even if it seems to be, can be caused by TightVNC?by
Replies: 1
Views: 216

Re: Can not enable VNC server even if it seems to be, can be caused by TightVNC?by

If you want to try to revert to the default vncserver with Raspberry Stretch, try installing realvnc-vnc-server and realvnc-vnc-viewer. I contemplated installing tightvnc when I thought my Pi Zero vnc sessions were slow due to Real VNC server. When I saw that it seemed to want to remove the existing...
by dl324
Mon Jun 03, 2019 2:08 am
Forum: Troubleshooting
Topic: Can't connect via ssh
Replies: 1
Views: 118

Re: Can't connect via ssh

How is Pi connected to the network? WiFi, wired ethernet, USB?
by dl324
Sun Jun 02, 2019 11:10 pm
Forum: C/C++
Topic: How to control the GPIO pins using c++
Replies: 14
Views: 69300

Re: How to control the GPIO pins using c++

Could someone please explain to me (in the simplest way possible) how to control the GPIO pins using C++?? I don't care if it is not Wiring Pi, plus some simple example code (to light up a led?) would be greatly appreciated. If you don't need MHz speed, using the sysfs interface is the easiest. For...
by dl324
Fri May 31, 2019 2:31 pm
Forum: Off topic discussion
Topic: [solved - no changes will be made] Forum suggestions
Replies: 20
Views: 2491

Re: Forum suggestions

3. The OP name and date/time of the OP is already shown in the topics list. This is what I meant. On all subsequent posts in a thread, the person who started the thread is referred to as the Thread Starter (or Original Poster in other forums). That makes it easy to determine if you're responding to...
by dl324
Fri May 31, 2019 1:26 pm
Forum: Off topic discussion
Topic: [solved - no changes will be made] Forum suggestions
Replies: 20
Views: 2491

Re: [solved - no changes will be made] Forum suggestions

Multi-quote capability would have been nice too...
by dl324
Fri May 31, 2019 1:25 pm
Forum: Off topic discussion
Topic: [solved - no changes will be made] Forum suggestions
Replies: 20
Views: 2491

Re: Forum suggestions

bensimmo wrote:
Fri May 31, 2019 10:49 am
That's there on the default skin too (and in mobile view).
What is the "that" you're referring to?
by dl324
Fri May 31, 2019 1:23 pm
Forum: Off topic discussion
Topic: [solved - no changes will be made] Forum suggestions
Replies: 20
Views: 2491

Re: Forum suggestions

klricks wrote:
Fri May 31, 2019 5:17 am
Note I use Prosilver forum theme.
So do I. The other color schemes were hard on my eyes.
by dl324
Fri May 31, 2019 1:07 pm
Forum: Off topic discussion
Topic: [solved - no changes will be made] Forum suggestions
Replies: 20
Views: 2491

Re: Forum suggestions

Burngate wrote:
Fri May 31, 2019 9:31 am
AddFiles.jpg
I saw that you can drag files or use add files. What I wanted was the ability to do a partial screen grab and paste it into the text entry box. Now it's a multi-step process. Do a screen grab, save it as a file, drag the file to the text entry box, delete the file.
by dl324
Fri May 31, 2019 1:00 pm
Forum: Beginners
Topic: crontab always empty, but jobs are running
Replies: 14
Views: 1389

Re: crontab always empty, but jobs are running

A few weeks later, I decided I wanted to run it every 15 minutes so I ran crontab -e again - but the job wasn't there. So I added it with the new frequency and now it runs every 15 minutes AND every hour. Are you saying that the job runs 5 times per hour? Post the crontab entry for the job in quest...
by dl324
Fri May 31, 2019 2:39 am
Forum: Off topic discussion
Topic: [solved - no changes will be made] Forum suggestions
Replies: 20
Views: 2491

[solved - no changes will be made] Forum suggestions

It would be nice 1. if a picture could be pasted from "the clipboard" into the text entry box. 2. if the forum software took care of scaling large images down to an appropriate size. 3. if the original poster was indicated in a thread. 4. to receive alerts for unread posts in subscribed threads, wit...
by dl324
Fri May 31, 2019 12:46 am
Forum: Automation, sensing and robotics
Topic: Help with Relays and GPIO
Replies: 4
Views: 622

Re: Help with Relays and GPIO

I'd have the GPIO drive an NPN transistor that switches the relay low side. Any common transistor in your locale would be sufficient (2N3904, BC547, etc). EDIT: Here's a schematic. relayNPN.jpg R1 should be sized to provide Ib=0.1Ic (0.05Ic if you use a high beta transistor like BC547). D1 should be...
by dl324
Thu May 30, 2019 3:19 pm
Forum: Troubleshooting
Topic: No access to dev/mem
Replies: 9
Views: 1497

Re: No access to dev/mem

marius_bogdan96 wrote:
Thu May 30, 2019 6:04 am
How do I give root privileges?
Run the script using sudo.
by dl324
Wed May 29, 2019 3:00 pm
Forum: Troubleshooting
Topic: No access to dev/mem
Replies: 9
Views: 1497

Re: No access to dev/mem

As the error message indicates, root privileges are required to access /dev/mem.
by dl324
Sun May 26, 2019 5:43 pm
Forum: Beginners
Topic: run script at startup
Replies: 16
Views: 1387

Re: run script at startup

rpdom wrote:
Sun May 26, 2019 4:46 pm
So this crontab entry wouldn't work

Code: Select all

0 5 * * * cd /home/rpdom/videos;/home/rpdom/crons/mycron.sh
non sequitur
by dl324
Sun May 26, 2019 4:32 pm
Forum: Raspberry Pi OS
Topic: Can't Compile Any More! Please need help!
Replies: 10
Views: 1358

Re: Can't Compile Any More! Please need help!

So just so I understand, cause I'm still fairly new to the Pi and mostly self-taught when it come to specifically the Pi so I miss things sometimes, Most of us are in the same situation. It's not like we're going to take a class to learn how to use RPi's. As with most things related to computers or...
by dl324
Sun May 26, 2019 4:23 pm
Forum: Beginners
Topic: run script at startup
Replies: 16
Views: 1387

Re: run script at startup

rpdom wrote:
Sun May 26, 2019 4:18 pm
That depends on if the program uses relative paths for any files it might access.
Still wouldn't make a difference. The current working directory has no effect on entries put in crontab and crontab has it's own definition for PATH.
by dl324
Sun May 26, 2019 3:01 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: Recommended VNC server for Raspbian (Debian) X86 Desktop?
Replies: 9
Views: 1687

Re: Recommended VNC server for Raspbian (Debian) X86 Desktop?

RealVNC Server and Viewer are available from RealVNC +1 Raspian is using RealVNC. 36 pi> dpkg -l | grep vnc ii realvnc-vnc-server 6.4.0.39899 armhf VNC® Server ii realvnc-vnc-viewer 6.19.107.39927 armhf VNC® Viewer
by dl324
Sun May 26, 2019 2:56 pm
Forum: Beginners
Topic: run script at startup
Replies: 16
Views: 1387

Re: run script at startup

Couldn't get it to work with rc.local, but managed with crontab as follows: cd to program folder You didn't need to 'cd' to the program directory. You either give the full path to the script as you've done, or you modify the PATH variable in crontab. sudo crontab -e This accomplishes the same thing...
by dl324
Sun May 26, 2019 12:18 am
Forum: General discussion
Topic: Fan and GPIO header related question
Replies: 7
Views: 746

Re: Fan and GPIO header related question

You sure? According to the docs, the pi has 5V on Pins 2 and 4 while Pins 1 and 17 are 3.3V. Whats wrong with Pins 2 and 4 for 5V? Official docs on GPIO https://www.raspberrypi.org/documentation/usage/gpio/ I measured GPIO4-11 when I was experimenting with register access. The schematic is crap, bu...
by dl324
Sat May 25, 2019 8:46 pm
Forum: General discussion
Topic: Why is temperature of CPU so high?
Replies: 6
Views: 669

Re: Why is temperature of CPU so high?

When I touched the Pi, it seemed hot to me. Why is the temperature so high? :o I haven’t done any intensive tasks. Yet. 8-) 48C doesn't seem excessively high to me. I ran my Pi Zero at about 90% CPU utilization for several hours and the core temperature was reported as 46C. It didn't even feel warm...
by dl324
Sat May 25, 2019 8:42 pm
Forum: General discussion
Topic: Fan and GPIO header related question
Replies: 7
Views: 746

Re: Fan and GPIO header related question

The problem is that i cant seem to find GPIO single pin header connectors for it. Will i be able to Run a 5V Noctua fan from the GPIO and if yes, Where can i find the 1-pin GPIO Headers? I live in Sweden and prefer to order from within the EU to i don't have to struggle with customs. Pi GPIOs are 3...
by dl324
Sat May 25, 2019 8:14 pm
Forum: Troubleshooting
Topic: [SOLVED] Code to execute wi-fi dongle doesnt work
Replies: 64
Views: 9961

Re: Code to execute wi-fi dongle doesnt work

I compile a variety of drivers for Raspbian OS and I believe one of them, rtl8188fu, will support your wifi. Thanks for doing this for the RPi community. I was headed down this path myself, but found that Stretch already has a driver that supports my adapter. ID 0bda:8179 Realtek Semiconductor Corp...
by dl324
Sat May 25, 2019 7:56 pm
Forum: Beginners
Topic: Inquiry about connecting screen
Replies: 4
Views: 392

Re: Inquiry about connecting screen

Mentioning which Pi you have would be helpful, but it won't change the answer.

RPi supports HDMI and composite video. Some boards have an RCA connector for composite video, while others have a place to solder wires or headers. VGA requires an adapter. Your monitor isn't supported.

Go to advanced search