Go to advanced search

by Texas-Mark
Wed Apr 19, 2017 10:30 pm
Forum: Troubleshooting
Topic: DHT22 weird values
Replies: 4
Views: 1182

Re: DHT22 weird values

I've never been able to get consistent readings from those sensors. Even when the checksum supposedly was correct, they still gave bogus readings often. I switched to using a i2c BME280 and never had a problem. Plus you get barometric pressure too.
by Texas-Mark
Sun Apr 16, 2017 10:44 pm
Forum: Troubleshooting
Topic: GPIO issues
Replies: 5
Views: 746

Re: GPIO issues

Okay, it seems to be my power supply? Maybe? Ive reinstalled noobs once again -.- got anoter video signal, shut off the pi and plugged in the cobbler. It wasnt happy. HOWEVER... for a breif second it had a lightning symbol in the top right until it died its hasty death. So what does that really mea...
by Texas-Mark
Sun Apr 16, 2017 12:20 am
Forum: Troubleshooting
Topic: GPIO issues
Replies: 5
Views: 746

Re: GPIO issues

First, I would suggest installing VCN. That can come in handy when you have no video and will help determine if it's just no video or the unit is dead. What happens if you plug in just the cobbler, but don't plug it into the breadboard? I have seen small pieces if wire jumpers get into the inside of...
by Texas-Mark
Fri Apr 14, 2017 10:48 pm
Forum: Troubleshooting
Topic: Pi 3 power fails
Replies: 5
Views: 757

Re: Pi 3 power fails

You do seem to have an awful lot connected to it.
by Texas-Mark
Wed Apr 12, 2017 7:15 pm
Forum: Troubleshooting
Topic: cgps displays a NO FIX even when recieving GPS data
Replies: 12
Views: 5766

Re: cgps displays a NO FIX even when recieving GPS data

I'm at a loss then. These are the instructions I used for setting up the serial port (except for the last part about swapping the ports)
http://spellfoundry.com/2016/05/29/conf ... ding-pi-3/
by Texas-Mark
Wed Apr 12, 2017 6:25 pm
Forum: Troubleshooting
Topic: cgps displays a NO FIX even when recieving GPS data
Replies: 12
Views: 5766

Re: cgps displays a NO FIX even when recieving GPS data

Ok, I haven't changed anything, but now even running sudo gpsmon /dev/ttyAMA0 isn't working. When I run it I get the error gpsmon:ERROR: /dev/ttyAMA0 already opened by another process gpsmon: activation of device /dev/ttyAMA0 failed, errno=22 (Invalid argument) I think you have to run this first be...
by Texas-Mark
Wed Apr 12, 2017 5:30 pm
Forum: Troubleshooting
Topic: cgps displays a NO FIX even when recieving GPS data
Replies: 12
Views: 5766

Re: cgps displays a NO FIX even when recieving GPS data

Here are the different ways I run mine. Note, I am using "serial0" (GPIO14 & 15) sudo gpsd /dev/serial0 -F /var/run/gpsd.sock Then cgps -s or for the graphical interface xgps or kill it with sudo killall gpsd and run this alone gpsmon /dev/serial0 I like using the last one for troubleshooting, becau...
by Texas-Mark
Tue Apr 11, 2017 10:58 pm
Forum: Troubleshooting
Topic: Issue with Soft Switch
Replies: 8
Views: 856

Re: Issue with Soft Switch

I am guessing no common ground is being used.
by Texas-Mark
Sat Apr 01, 2017 8:40 pm
Forum: Troubleshooting
Topic: Help needed: Signal noise on GPIO18
Replies: 10
Views: 1397

Re: Help needed: Signal noise on GPIO18

Like I described, the weirdest part is that the LEDS only show bad data when the reader is touched or placed in certain spots. That seems to point to some wires shorting on that USB cable, but I'm not sure if it makes sense that a short there could be affecting the GPIO 18 output. Just a couple of ...
by Texas-Mark
Wed Mar 29, 2017 4:11 pm
Forum: Troubleshooting
Topic: don't see PI on my network..
Replies: 8
Views: 20545

Re: don't see PI on my network..

I never liked that windows sometimes can not find networked devices on it's own or does so randomly. So what I always do is use static IP's (or reserve an IP for the device). Then I add it to the lmhosts file so that windows always knows it is there.
by Texas-Mark
Wed Mar 29, 2017 4:05 pm
Forum: Troubleshooting
Topic: RPI3 GPIO MAKE PULSE when booting up
Replies: 3
Views: 392

Re: RPI3 GPIO MAKE PULSE when booting up

At power-up all GPIO are set as inputs. Some also have pull-ups to 3V3 enabled. Most have pull-downs to 0V enabled. Yep, this. Best solution is to either use pins that are already pulled to the state you want, or just add your own pull up/down resistor. I forget what the value is of the internal re...
by Texas-Mark
Mon Mar 27, 2017 10:34 pm
Forum: Troubleshooting
Topic: Unable To Boot From A Cloned SD Card
Replies: 7
Views: 2890

Re: Unable To Boot From A Cloned SD Card

[ou don't need "another computer" - you use the Pi itself but, as I said previously, you will need to acquire a USB-based card reader/writer**....... Yes, thus is by far the easiest way to do it. Copy and done. Just to add. What I do is use a 32GB card in my Pi. Then I use the copy utility to copy ...
by Texas-Mark
Sun Mar 26, 2017 8:59 pm
Forum: Troubleshooting
Topic: Pi 3 is choppy/laggy
Replies: 4
Views: 5210

Re: Pi 3 is choppy/laggy

I But is this normal for everything to be like this? No, that is not normal. I personally would reformat the SD card using SDFormatter with the "format size adjustment" option on, and start over with a fresh install. Preferably downloading Raspian image (not NOOBS) and using win32DiskImagr (or othe...
by Texas-Mark
Sun Mar 26, 2017 12:13 am
Forum: Troubleshooting
Topic: Motor starts running before running the program
Replies: 3
Views: 645

Re: Motor starts running before running the program

I agree with the above. The GPIO pins are set as inputs at boot, but some are pulled high and some are pulled low. It's a very high resistance, but could be enough to be driving the motor control IC. So either use pins that are all pulled the same way, or use pull up/down resistors as noted above.
by Texas-Mark
Sat Mar 25, 2017 10:14 pm
Forum: Troubleshooting
Topic: Noobs error resizing existing fat partition
Replies: 37
Views: 46805

Re: Noobs error resizing existing fat partition

That's right way to do this , however I was fighting with NOOBS about 5 hours, becouse there is one important thing , Windows changes a name of disk on capital letters, that's often problem, and even if your disk is formated correctly It gonna say there is problem with "Resizing existing fat partit...
by Texas-Mark
Thu Mar 23, 2017 3:50 pm
Forum: Troubleshooting
Topic: Will this work (ignoring error)?
Replies: 2
Views: 393

Re: Will this work (ignoring error)?

This script will start, wait for 10 minutes, write to the file and then exit. There is no loop to do this every 10 minutes, it just does it once after a pause of 10 minutes. Yeah you are right about not looping. So this should work right? I just need to make sure the loop starts again on an error. ...
by Texas-Mark
Thu Mar 23, 2017 2:30 pm
Forum: Troubleshooting
Topic: Will this work (ignoring error)?
Replies: 2
Views: 393

Will this work (ignoring error)?

I have a python script that will write a timestamp file to a network share every 10 minutes. Sometimes the network share may be off-line, so I need it to ignore any error and just continue the loop. It is my understanding that just using "except:" by it's self will ignore any error. So will this wor...
by Texas-Mark
Mon Mar 20, 2017 8:54 pm
Forum: Troubleshooting
Topic: Problems rebooting after shutdown
Replies: 6
Views: 1026

Re: Problems rebooting after shutdown

JuergenH wrote:* Shutdown, using the shutdown menu, Raspi 3 deconfigures the network interfaces, both LEDs (red and green) shut off after a few seconds.
I find this interesting. I don't have any suggestions, but my RPi 3s don't turn the red LED off after a menu shutdown.
by Texas-Mark
Mon Mar 20, 2017 1:52 am
Forum: Automation, sensing and robotics
Topic: 16 Channel 12 Bit PWM/Servo Driver - I2C Interface
Replies: 8
Views: 12936

Re: 16 Channel 12 Bit PWM/Servo Driver - I2C Interface

How do I drive a servo to a position more slowly? Say, for instance, my servo centre position is puWidth 330, how can i move to puWidth 520 in gradual steps, not in one shot? Is there a loop i can run through adding, say, 10 to the interger puWidth, untill it is = to 520 then stop? Cheers John Sort...
by Texas-Mark
Sat Mar 18, 2017 3:50 am
Forum: Troubleshooting
Topic: [SOLVED] Tkinter code issue
Replies: 2
Views: 423

Re: Tkinter code issue

Thanks. I could have sworn I tried that but it gave me some sort of error. Maybe I had a a typo. That does work. I also tried this which also works. But I like the global solution better. # def to move servo 0 def servo_0(s0): s0=int(s0) servo_0.ss0=s0 # added this line pwm.set_pwm(0, 0, s0) #move t...
by Texas-Mark
Sat Mar 18, 2017 3:03 am
Forum: Troubleshooting
Topic: [SOLVED] Tkinter code issue
Replies: 2
Views: 423

[SOLVED] Tkinter code issue

I have some Tkinter code that moves some servos with a slider widgets. All of that works fine. Now what I want to do is save the values of all of the servos when I exit the script. To see if it would work I did this (note: this is just snips of the code) # def to move servo 0 def servo_0(s0): s0=int...
by Texas-Mark
Tue Mar 14, 2017 5:52 pm
Forum: Troubleshooting
Topic: Raspberry Pi Model 3 B won't boot after format?
Replies: 5
Views: 852

Re: Raspberry Pi Model 3 B won't boot after format?

Not sure why everyone always wants to buy a new SD card right off, especially when there is probably nothing wrong with it. I would just run SDFormatter on it using the format size adjustment option (on), and put a new image on it. I personally avoid noobs as IMO it causes more problems than it solv...
by Texas-Mark
Tue Mar 14, 2017 5:38 pm
Forum: Troubleshooting
Topic: Pi set up but running slow
Replies: 1
Views: 307

Re: Pi set up but running slow

Assuming nothing is using the CPU, I would start by copying/cloning the SD card to a new one and see if that solves the problem.
by Texas-Mark
Tue Mar 14, 2017 4:13 am
Forum: Troubleshooting
Topic: Desktop shortcut problem
Replies: 1
Views: 344

Re: Desktop shortcut problem

Ok, I figured it out. I needed to put the full path to my scripts script1.py, script2.py, etc. in the start_it.py script. #!/usr/bin/python2.7 import subprocess subprocess.Popen(["python", '/home/pi/test/script1.py']) subprocess.Popen(["python", '/home/pi/test/script2.py']) subprocess.Popen(["python...
by Texas-Mark
Tue Mar 14, 2017 3:33 am
Forum: Troubleshooting
Topic: Desktop shortcut problem
Replies: 1
Views: 344

Desktop shortcut problem

Pi 3 running Jessie with Pixel I have created desktop shortcuts that work fine, so I know how to do that. I have created several Python scripts that use Tkinter. I need to run all of these scripts at the same time. I use the following Python script to start all of them at the same time. Maybe it's n...

Go to advanced search