Go to advanced search

by Idahowalker
Wed Aug 15, 2018 7:22 pm
Forum: Beginners
Topic: Distributing computing load
Replies: 2
Views: 65

Re: Distributing computing load

Set-em to work on the SETI project.

https://boinc.berkeley.edu/
by Idahowalker
Tue Aug 14, 2018 11:33 am
Forum: Other projects
Topic: RPI-Z as compass feedback
Replies: 8
Views: 134

Re: RPI-Z as compass feedback

I, recently, built a GPS unit using the AdaFruit Ultimate GPS. I get and use directional information from the Ultimate GPS module.
by Idahowalker
Fri Aug 03, 2018 12:21 am
Forum: Beginners
Topic: Continuous running python script exit
Replies: 2
Views: 85

Re: Continuous running python script exit

Enter into your favorite search thingy "Python Try Except Finally" to find a plethora of information that should suit your request.
by Idahowalker
Tue Jul 31, 2018 6:27 pm
Forum: Python
Topic: control gpio with a db
Replies: 2
Views: 93

Re: control gpio with a db

Excellent.
by Idahowalker
Tue Jul 31, 2018 6:08 pm
Forum: Advanced users
Topic: Using GPIO.add_event_detect in a threading class
Replies: 3
Views: 98

Re: Using GPIO.add_event_detect in a threading class

snippets: import threading oTriggerOLED = threading.Event() def fOperatingDisplayOLED(): while (bIsGPIO_CleanUp == False): oTriggerOLED.wait() do some stuff oTriggerOLED.clear() bOLED_ContinueTriggerCount = True return; def fHandleonePPS_Triggers(iChannel): if (bOLED_ContinueTriggerCount): iTriggerO...
by Idahowalker
Fri Jul 27, 2018 11:08 pm
Forum: Beginners
Topic: 3.3V, GPIO and GND max current
Replies: 32
Views: 22804

Re: 3.3V, GPIO and GND max current

I’m still a bit confused on that part, why would the 6 volt with two motors work and a 11 volt with 4 motors not work? I’m not connected to the 3v or 5V pins, just the GPIOs and gnd 6.0 does not equal 11.1. As you do not have a schematic, I can only surmise that the RPi got, through the GPIO pins, ...
by Idahowalker
Fri Jul 27, 2018 10:38 pm
Forum: Beginners
Topic: 3.3V, GPIO and GND max current
Replies: 32
Views: 22804

Re: 3.3V, GPIO and GND max current

I can’t attach an image but in this video( https://m.youtube.com/watch?v=AZSiqj0NZgU&list=LL5UckXHa-_7e1PRGrtkDSug&t=543s&index=2 ) at 9:04 are how my pins are set up and connected. However, I do have two motors on each side of the motor drive, that is why I’m using an 11 volt instead of the 6V lik...
by Idahowalker
Fri Jul 27, 2018 9:46 pm
Forum: Beginners
Topic: 3.3V, GPIO and GND max current
Replies: 32
Views: 22804

Re: 3.3V, GPIO and GND max current

Ok, so I have a 11.1 V battery hooked up to a L298N motor controller that’s connected to 4 servo motors, and the ground on the motor drive connects to the rpi, and I think that blew out the pi is this a plausible cause that the voltage is too high or something? If you connected the GND or common re...
by Idahowalker
Fri Jul 27, 2018 9:39 pm
Forum: Beginners
Topic: 3.3V, GPIO and GND max current
Replies: 32
Views: 22804

Re: 3.3V, GPIO and GND max current

I was reading the thread and I couldn’t find an answer to the third question, does the GND have a max voltage? Yes. ~0 Volts. Sorry does it have a max accepted voltage, I know the board is supposed to on have 5V for power, so does that mean if I send more than 5V to the ground it will blow? It may ...
by Idahowalker
Fri Jul 27, 2018 8:40 pm
Forum: Beginners
Topic: 3.3V, GPIO and GND max current
Replies: 32
Views: 22804

Re: 3.3V, GPIO and GND max current

Elmanhands wrote:
Fri Jul 27, 2018 7:44 pm
I was reading the thread and I couldn’t find an answer to the third question, does the GND have a max voltage?
Yes.

~0 Volts.
by Idahowalker
Fri Jul 27, 2018 3:08 am
Forum: Automation, sensing and robotics
Topic: Automation and Control
Replies: 10
Views: 423

Re: Automation and Control

I guess this is true. How would you guys go about setting a sample time for my control/sensing and GUI/IoT loops? Do i need to run some scheduling software or can I hard code it? An RTC and using alarms, that you configure through code, is one way. Setting the RTC to cause an interrupt once every X...
by Idahowalker
Fri Jul 27, 2018 1:32 am
Forum: Automation, sensing and robotics
Topic: Automation and Control
Replies: 10
Views: 423

Re: Automation and Control

Instead of looping and sleeping, how about using interrupts?
by Idahowalker
Thu Jul 26, 2018 4:14 pm
Forum: Python
Topic: Write and red 24LC1026 with i2c or SMBus
Replies: 2
Views: 60

Re: Write and red 24LC1026 with i2c or SMBus

The RTC module I use for the RPi has an included serial EEPROM. I use the following code to read/write from/to the serial EEPROM: import smbus EEPROMbus = smbus.SMBus(1) Device_Address = 0x57 #note EEPROM address may be 0X56 ''' Check your EEPROM address using: sudo i2cdetect -y 1 ''' ##############...
by Idahowalker
Thu Jul 26, 2018 2:28 am
Forum: Python
Topic: Inconsistent Behavior Using Python Recording Program
Replies: 2
Views: 66

Re: Inconsistent Behavior Using Python Recording Program

I did a very quick look at the code and noticed that you use Time quite a bit. Are the units connected to the Internet at all times? Time is done on the Pi by a software clock and is, for my purposes, not all that accurate if the Pi has to spend some time disconnected from the Internet. I installed ...
by Idahowalker
Wed Jul 25, 2018 10:35 pm
Forum: Automation, sensing and robotics
Topic: Are these 'sensors' useful?
Replies: 1
Views: 127

Re: Are these 'sensors' useful?

Most likely those are PN junction devices (diode), not looking them up, where the reverse leakage current is read (A to D conversion) to determine the tempreture. Sure, they'd be fine to use as temp probes. You are just gonna have to figure them out.
by Idahowalker
Wed Jul 25, 2018 9:47 pm
Forum: Beginners
Topic: Connecting a display via GPIO
Replies: 9
Views: 210

Re: Connecting a display via GPIO

For a .96 OLED display I use this class, modified from the original, note the "#" to comment out what I did not use or like. Also note that the orginal way the I2C buss was access did not work, that code has been overwritten/deleted. If you uncomment the "#" you are on your own. If you need to insta...
by Idahowalker
Wed Jul 25, 2018 8:12 pm
Forum: Beginners
Topic: active vs passive gps for raspi car nav?
Replies: 3
Views: 114

Re: active vs passive gps for raspi car nav?

I'll 2nd the Adafruit Ultimate GPS. I am in the portable supply testing phase for an Adafruit Ultimate GPS unit I am in process of building and I am, also, 'plating', putting the unit into a proto box (cardboard). The easiest component to get going was the GPS. Surprisingly, I get 5 to 8 satellites ...
by Idahowalker
Wed Jul 25, 2018 8:02 pm
Forum: Beginners
Topic: Do I need a breadboard??
Replies: 10
Views: 252

Re: Do I need a breadboard??

A breadboard is a good place to start laying the ground work of the circuit you want to build. Whiles electronics has many wonderful and accurate formulas, electronics is still a theory, and thing do not, always work they way one thought they would. A breadboard allows on to make quick adjustments. ...
by Idahowalker
Wed Jul 25, 2018 4:43 pm
Forum: Python
Topic: Pins Getting HIGH when setup to OUT
Replies: 13
Views: 243

Re: Pins Getting HIGH when setup to OUT

finally: GPIO.cleanup() Some pins have default levels and the above code may be returning the pin to its default state which may be a high or 'something' is preventing the above code from running. Try putting a 2nd GPIO.cleanup() on a non-indent line after the finally to see if that works. Also, so...
by Idahowalker
Wed Jul 25, 2018 4:29 pm
Forum: Python
Topic: Pins Getting HIGH when setup to OUT
Replies: 13
Views: 243

Re: Pins Getting HIGH when setup to OUT

Sort of like turning on the light in RoomA, walking into RoomB, and turning off and on the light in RoomB and expecting the light in RoomA to change state? When one programs a pin 37 to go high, typically pin 37 will stay high, until programmed otherwise. That's what i'm telling you guys that when ...
by Idahowalker
Wed Jul 25, 2018 1:10 pm
Forum: Python
Topic: Pins Getting HIGH when setup to OUT
Replies: 13
Views: 243

Re: Pins Getting HIGH when setup to OUT

Yes, i tested them all with a 470Ω resistor in series with an LED connected between one of the GPIO pins and ground for all the Digital-I/O pins out there. And i noticed that if i HIGH the pin 37 first and then change the pin number to 15, in while loop. Pin 15 works fine but 37 Gives the constant ...
by Idahowalker
Tue Jul 24, 2018 2:08 am
Forum: Troubleshooting
Topic: Raspberry pi GPIO Boolean doesn't work
Replies: 28
Views: 604

Re: Raspberry pi GPIO Boolean doesn't work

Have you tried wiring one end of the resistor to the 3.3V power, the other end of the resistor to one end of the button and the other end of the button to the anode of the led and the cathode of the led to ground? Such a wiring scheme will remove software from the mix and insure you got 'everything...
by Idahowalker
Mon Jul 23, 2018 6:38 pm
Forum: Troubleshooting
Topic: Raspberry pi GPIO Boolean doesn't work
Replies: 28
Views: 604

Re: Raspberry pi GPIO Boolean doesn't work

I guess the button is a momentary contact button? Are you just pressing the button are are you holding the button pressed? Have you tried wiring one end of the resistor to the 3.3V power, the other end of the resistor to one end of the button and the other end of the button to the anode of the led a...
by Idahowalker
Fri Jul 06, 2018 11:14 pm
Forum: Troubleshooting
Topic: trouble with GPIO Pins
Replies: 28
Views: 685

Re: trouble with GPIO Pins

You are really trying to directly drive a motor from a RPi GPIO output?
by Idahowalker
Tue Jul 03, 2018 9:10 pm
Forum: Python
Topic: Regular expression that turns into a python syntax question
Replies: 11
Views: 366

Re: Regular expression that turns into a python syntax question

Fixed your link. Thanks. The answer ericcooper provided was what I was looking for, reason that m is considered as True. Can you explain any advantage of testing None? The tutorials point link and python doc both test True. Just my preference. An Object, which has State, can be True or False or Nul...

Go to advanced search