Go to advanced search

by klricks
Mon Jun 18, 2018 5:14 pm
Forum: Troubleshooting
Topic: Raspbian OS unreachable after several hours of use
Replies: 15
Views: 366

Re: Raspbian OS unreachable after several hours of use

The USB cord I am using was specifically designed for the Raspberry Pi 3. The USB Power Supply I am using puts out 5 volts & 2500 milliAmps at 60 Hertz. Is the red LED still blinking as you said earlier? If so there is a problem. Possible causes: 1. Power supply is bad 2. USB power cable is too thi...
by klricks
Mon Jun 18, 2018 12:31 pm
Forum: General discussion
Topic: Max Amps?
Replies: 10
Views: 234

Re: Max Amps?

Thanks for that. It looks like the voltage of this power supply can peak at 5.5V while the Raspberry can only take 5.25. Is there some sort of circuit/filter that I could put between the two so that the voltage does not go above 5.25V? You misunderstand the specification. The 5V is adjustable (Volt...
by klricks
Sun Jun 17, 2018 2:24 pm
Forum: Beginners
Topic: Need terminal command to open maximised terminal and run script in it
Replies: 25
Views: 510

Re: Need terminal command to open maximised terminal and run script in it

seanspotatobusiness wrote:
Sun Jun 17, 2018 12:01 pm
...
and I'm guessing it's the && which it doesn't like so I'm back to square one :'(
...
Did you try the xdotool method I mentioned above?
by klricks
Sun Jun 17, 2018 4:16 am
Forum: Beginners
Topic: Need terminal command to open maximised terminal and run script in it
Replies: 25
Views: 510

Re: Need terminal command to open maximised terminal and run script in it

seanspotatobusiness wrote:
Sun Jun 17, 2018 3:40 am
Thanks!

....

@lxterminal --geometry=126x45 -e tmux && /home/pi/Mining/tmuxScript.sh[/code]
This works for me in autostart using a different script of course

Code: Select all

@lxterminal --geometry=126x45 -e myscript
The @ is optional.
by klricks
Sun Jun 17, 2018 3:51 am
Forum: Beginners
Topic: Need terminal command to open maximised terminal and run script in it
Replies: 25
Views: 510

Re: Need terminal command to open maximised terminal and run script in it

You could try xdotool. xdotool is a command line scripting tool which allows you to send keyboard and mouse commands. This will Maximize the current window: xdotool windowsize $(xdotool getactivewindow) 100% 100% Another way to do the same thing...... This command moves the mouse to x y coordinate o...
by klricks
Sat Jun 16, 2018 11:23 pm
Forum: Beginners
Topic: Need terminal command to open maximised terminal and run script in it
Replies: 25
Views: 510

Re: Need terminal command to open maximised terminal and run script in it

I think you'll need to run your tmuxScript.sh in a headless system like Raspbian Lite for it work as you want. tmux in and of itself it is a console manager. The problem intrigued me so I've spent some time looking for a solution. I could find none. In short, it appears tmux was not intended to wor...
by klricks
Sat Jun 16, 2018 10:30 pm
Forum: Beginners
Topic: Need terminal command to open maximised terminal and run script in it
Replies: 25
Views: 510

Re: Need terminal command to open maximised terminal and run script in it

The same thing happens for: lxterminal --command /home/pi/Mining/tmuxScript.sh as it does for: lxterminal -e /home/pi/Mining/tmuxScript.sh Try this: lxterminal -e bash /home/pi/Mining/tmuxScript.sh or if permission is set to execute then this will work: lxterminal -e ./Mining/tmuxScript.sh
by klricks
Sat Jun 16, 2018 8:10 pm
Forum: Beginners
Topic: Need terminal command to open maximised terminal and run script in it
Replies: 25
Views: 510

Re: Need terminal command to open maximised terminal and run script in it

Thanks. Unfortunately that command in the form: pi@raspberrypi:~ $ cd /home/pi/Mining/ pi@raspberrypi:~/Mining $ lxterminal --command tmuxScript.sh pi@raspberrypi:~/Mining $ produces a hung terminal window like the one in the foreground of the screenshot in the OP. Using --command is the same as us...
by klricks
Sat Jun 16, 2018 12:20 pm
Forum: Beginners
Topic: Need terminal command to open maximised terminal and run script in it
Replies: 25
Views: 510

Re: Need terminal command to open maximised terminal and run script in it

I want to use a command to open a terminal in a new maximised window and run a script. This is the command I have so far: lxterminal -e ./home/pi/Mining/tmuxScript.sh It isn't working. It instead opens a seemingly hung terminal window titled tmuxScript.sh which doesn't respond to pressing Ctrl + C....
by klricks
Sat Jun 16, 2018 4:58 am
Forum: General discussion
Topic: Rpi3 On lion Batteries
Replies: 3
Views: 260

Re: Rpi3 On lion Batteries

.... How many amps do i need to effectively charge the battery?... Charging amps depends on the cell capacity and cell configuration. Consult the manufacture datasheets. The charging of Li-ion batteries must be precisely controlled. Overcharging is dangerous. You will likely need to purchase a suit...
by klricks
Sat Jun 16, 2018 3:40 am
Forum: Beginners
Topic: Read state of a 12v realy
Replies: 4
Views: 145

Re: Read state of a 12v realy

... assuming your relay has the same pin configuration as an Omron MY4N relay, you could connect from Gnd (pin 6 ) --> relay pin no 5 (N.O.) , then from relay pin no 9 ( C ) --- 1Kohm resistor --- GPIO pin (ex GPIO 21, pin 40) and configure that GPIO pin as input with internal pullup. .... This can...
by klricks
Fri Jun 15, 2018 9:35 pm
Forum: Python
Topic: starting a python script when starting
Replies: 6
Views: 402

Re: starting a python script when starting

@lxterminal -e ‘/usr/bin/python /home/pi/filename.py’ -t ‘MyTitle’ I may be mistaken but I thought the backtick and typographic apostrophe are special and should not be used in code or configuration files. I always use an apostrophe (ASCII 39) or single quote (ASCII 34) characters for delimiting in...
by klricks
Fri Jun 15, 2018 1:05 pm
Forum: Beginners
Topic: How to use raspberry pi write command to device
Replies: 4
Views: 154

Re: How to use raspberry pi write command to device

You can use a program ser2net to send and receive commands or data to from a serial device over TCP.

[Device]===[RPi]===[Network WIFI or Ethernet]======[router]=====[computer]
by klricks
Fri Jun 15, 2018 12:25 pm
Forum: Automation, sensing and robotics
Topic: Detect presence of poison
Replies: 8
Views: 242

Re: Detect presence of poison

Hi guys I've been thinking about a project whereby you could automatically detect the presence of poisonous substances using a Pi + sensors Does anybody have any idea where to start with this? Your request is much to vague...... There are thousands of substances that could be considered poisonous. ...
by klricks
Fri Jun 15, 2018 4:16 am
Forum: General discussion
Topic: Official PS cable assembly.
Replies: 3
Views: 239

Re: Official PS cable assembly.

Hello everyone, first time posting here. I use RPis for a bunch of projects where I need to use a different PSU, generally because of space issues. I'm wondering if the cable assembly that the official PSU has can be bought somewhere, because it's gauge makes it super easy to use with screw termina...
by klricks
Fri Jun 15, 2018 3:47 am
Forum: Raspbian
Topic: Voltage normalised (0x00000000)
Replies: 40
Views: 1364

Re: Voltage normalised (0x00000000)

Milliways wrote:
Fri Jun 15, 2018 2:03 am
hippy wrote:
Wed Jun 13, 2018 7:00 pm
RUN and PEN do have their place
What is the PEN supposed to be used for? I had assumed the RUN was as before, there seems to be no mention of PEN that I can find.

PEN seems to have 3V - which seems pointless.
PEN explained here: viewtopic.php?t=207961
by klricks
Thu Jun 14, 2018 5:11 pm
Forum: Raspbian
Topic: Passwords for Stretch
Replies: 8
Views: 309

Re: Passwords for Stretch

Your download appears to be corrupt or your SD card is bad.
by klricks
Thu Jun 14, 2018 4:15 am
Forum: General discussion
Topic: Cheap Networking
Replies: 10
Views: 381

Re: Cheap Networking

Hello, I wanted to know what the cheapest networking stategy is between Raspberry Pi's. Now, the Raspberry Pi zero (NOT W) is super cheap, but has no networking capabilities. I wanted to know if it were possible to hook up a CAT5 cable to a Raspberry Pi's GPIO pins and be able to accomplish network...
by klricks
Thu Jun 14, 2018 3:23 am
Forum: Troubleshooting
Topic: Raspbian OS unreachable after several hours of use
Replies: 15
Views: 366

Re: Raspbian OS unreachable after several hours of use

When I'm unable to reach the Raspberry Pi, the red LED blinks continuously in a steady pattern while the green LED is solidly lit. The red LED blinking means that your power supply and/or micro USB power cord are insufficient. Possibly the power supply is overheating and going into thermal shutdown.
by klricks
Thu Jun 14, 2018 3:19 am
Forum: Beginners
Topic: GPIO Beginner Info Needed
Replies: 2
Views: 184

Re: GPIO Beginner Info Needed

The GPIO pins cannot be used to drive any kind of motor. You need a motor driver board and suitable power supply for the motor(s). Consult Google & YT for dozens of examples tutorials etc. For the crank vents I would suggest that you replace them with off the shelf electric vents and then interface ...
by klricks
Thu Jun 14, 2018 2:33 am
Forum: Beginners
Topic: Looping through Powerpoint
Replies: 2
Views: 103

Re: Looping through Powerpoint

I am interested in getting a Raseberry Pi and want to use it to Loop through a Powerpoint presentation. I have looked at some of the posts on the forums and wanted to know what is the best way to go about this. I understand that I would need to install Libre Office and then I am a little unsure wha...
by klricks
Thu Jun 14, 2018 2:02 am
Forum: Beginners
Topic: Wifi doesn't work
Replies: 1
Views: 84

Re: Wifi doesn't work

I don't think the messages are clickable links..... You need to set your WIFI country using one of the config tools. From the Desktop: [Menu] --> [Preferences] --> [Raspberry Pi Configuration] -OR- From command line: sudo raspi-config In either case find the WIFI country setup in the [Localization] ...
by klricks
Thu Jun 14, 2018 12:32 am
Forum: Troubleshooting
Topic: multi wifi config
Replies: 3
Views: 100

Re: multi wifi config

In wpa_supplicant take out all the id_str=...... entries. That is not a valid command. I am not sure where that is coming from but it does not work... To test your wpa_supplicant.conf do the following command: wpa_cli -i wlan0 reconfigure If something is wrong then that command will return: FAIL. If...
by klricks
Wed Jun 13, 2018 12:55 pm
Forum: Beginners
Topic: Where's the power button?
Replies: 11
Views: 332

Re: Where's the power button?

i looked up details of raspberry pi 3 b+ that has POE when i googled, it seems as though you need an additional device: Pi PoE Switch HAT? does that mean i can turn on and off over the internet? just did a search on youtube and cant see anything any thoughts? thanks POE provides only a way to power...
by klricks
Wed Jun 13, 2018 12:36 pm
Forum: General discussion
Topic: Getting RPi. Python script to run 24/7 without laptop turned on
Replies: 69
Views: 1696

Re: Getting RPi. Python script to run 24/7 without laptop turned on

Hi, I'm using a python script to run a home security system, with PIR detector and email alerts. Everything works - as long as I have my laptop turned on, using Linux Mint and Raspberry pi terminal. But how can I get the python script to run 24/7, when the laptop is turned off? Thanks I am guessing...

Go to advanced search