Go to advanced search

by Schorschi
Mon Jan 08, 2018 7:15 pm
Forum: Troubleshooting
Topic: Weird Wifi Behavior?
Replies: 0
Views: 232

Weird Wifi Behavior?

Ok, this is not the typical... Wifi not working topic. This is a bit weirder than that. Here is the scenario: 1) Have 5 USB Dongles, all purchased at the same time, all from the same source, 4 of the 5 work as expected. 1 seems to work, but it does not discover the various Wifi networks comparable t...
by Schorschi
Fri Jan 05, 2018 5:29 am
Forum: Other programming languages
Topic: Ruby script to parse debian stretch variant of iwlist?
Replies: 1
Views: 1196

Ruby script to parse debian stretch variant of iwlist?

Ruby script to parse debian stretch variant of iwlist? I found a lot of sample scripts, but they all seem to break, fail to parse iwlist output right. And I am not great with regular expressions. Any help appreciated.
by Schorschi
Sun Dec 31, 2017 6:46 am
Forum: Advanced users
Topic: Get Kernel Headers Package Updated?
Replies: 5
Views: 2221

Get Kernel Headers Package Updated?

Get Kernel Headers Package Updated? Seems the latest raspberrypi-kernel-headers package is not current, it stops short of 4.9.72-v7? Seems the latest is 4.9.59-v7+? I am trying to compile rtl8812au driver, and I can do this on 4.9.59-v7 just fine because the package has the build information. But no...
by Schorschi
Sat Dec 30, 2017 9:59 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C not reliable on a Pi3
Replies: 12
Views: 11096

Re: I2C not reliable on a Pi3

Can you post the code you used to reset the i2c bus via python? I found a odd but infrequent issue where the i2c bus slows down or hangs, and once this happens, the only fix appears to be a reboot of the Pi. I have tried dropping and reloading the various drivers, but this does not seem to work. I a...
by Schorschi
Wed Oct 11, 2017 11:17 pm
Forum: Troubleshooting
Topic: Newer version of Ruby on Debian Jessie?
Replies: 2
Views: 526

Newer version of Ruby on Debian Jessie?

How to get newer version of Ruby on Debian Jessie? The twist is that I need to get it on a Raspberry Pi model 1b that only has 256 MB, in other words a pretty old Pi. The issue is I can't compile ruby because I run out of memory, cc1 compile aborts. Anyone tackled this one? Any help appreciated. I f...
by Schorschi
Sun Jun 11, 2017 1:29 am
Forum: Advanced users
Topic: Using AD7705 ADC Module SPI (TM7705)?
Replies: 1
Views: 1098

Using AD7705 ADC Module SPI (TM7705)?

Any one have example of using AD7705 Dual 16-bit ADC Data Acquisition Module SPI Precise TM7705 with Raspberry Pi?

Like this one...
http://www.ebay.com/itm/AD7705-Dual-16- ... SwcUBYTlR7
by Schorschi
Sat Jun 10, 2017 12:48 am
Forum: Beginners
Topic: Opto isolator board direction?
Replies: 5
Views: 1960

Re: Opto isolator board direction?

Everyone, thanks for the input, replies. The v6 source is actually an LED lead (to a blue diode) from a PC main board, which already split, 1st lead goes to the PC case, the 2nd line is connected to INT1, I have tested this with a voltmeter and the maximum voltage from the PC mainboard is between 5v...
by Schorschi
Fri Jun 09, 2017 4:39 am
Forum: Beginners
Topic: Opto isolator board direction?
Replies: 5
Views: 1960

Opto isolator board direction?

I have a small D213 Opto-isolator board (ILD213T IC), like the link below, https://www.sparkfun.com/products/9118 But I am not sure I can use it the way I intended? All the examples I have found refrence this board for an output scenario, where GPIO pin is set for output connected to INT1 to drive s...
by Schorschi
Sun May 07, 2017 6:21 pm
Forum: Python
Topic: Python code for detecting I2C ports?
Replies: 11
Views: 16561

Re: Python code for detecting I2C ports?

Python code example that reads a data from the bus, can lockup or change the i2C bus, such that it slows down or freezes. For example... The exception result of Errno 5 does not cause and issue but once Errno 110 returned the i2C bus is hung or slows way down. No Device At 55, [Errno 5] Input/output...
by Schorschi
Sun May 07, 2017 3:16 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Length for Temperature Sensor
Replies: 10
Views: 5715

Re: Length for Temperature Sensor

Does anyone have any code examples that determine which sensor is connected? I need to know if SHT31D or MCP9808 is connected, before attempted to read data from said sensor? Walking /sys/ does not seem to show this detail? # ls /sys/bus/i2c/devices/i2c-1 delete_device device i2c-dev name new_device...
by Schorschi
Tue Apr 25, 2017 7:52 pm
Forum: Advanced users
Topic: External Power To Avoid Over Loading Pi
Replies: 5
Views: 1361

Re: External Power To Avoid Over Loading Pi

Yes, common ground of power supply connected to ground on LED bar. Only connections from Pi to LED bar is the two communication lines, GPIO ports.
by Schorschi
Sat Apr 22, 2017 7:09 pm
Forum: Advanced users
Topic: External Power To Avoid Over Loading Pi
Replies: 5
Views: 1361

External Power To Avoid Over Loading Pi

Ok, so far most of my projects have within reason avoided over loading or over drawing power from the 3.3v and 5v sources on-board the Pi. However, the next project will. So the next project on the bread board uses an external 5v supply, and a common ground between Pi and the 5v power supply feed ci...
by Schorschi
Sat Apr 22, 2017 2:57 am
Forum: General discussion
Topic: 10 Segment LED bar?
Replies: 5
Views: 2113

Re: 10 Segment LED bar?

Since I had some 74HC595 ICs, I used them. :) They are only 8-bit and the LED bar is 10 LEDs, so not a great match, but I am sure I will find something to use the extra 74HC595 outputs on.
by Schorschi
Fri Apr 21, 2017 7:07 pm
Forum: Advanced users
Topic: Read 74HC595 State?
Replies: 4
Views: 1512

Read 74HC595 State?

I have playing around with shift registers. And in writing a (simple) python class to drive SPI to one or more 74HC595 ICs, I don't believe there is anyway to read the state of the 74HC595 ICs? So I have to track the bit settings (of the parallel output) external to the circuit. This a bit of PITA. ...
by Schorschi
Wed Apr 05, 2017 3:28 am
Forum: General discussion
Topic: Any one setup KY-016 RGB LED Module
Replies: 1
Views: 678

Any one setup KY-016 RGB LED Module

Any one setup KY-016 RGB LED Module with a Raspberry Pi?
by Schorschi
Sun Apr 02, 2017 2:47 pm
Forum: Advanced users
Topic: Can someone explain how to create a dts overlay?
Replies: 0
Views: 314

Can someone explain how to create a dts overlay?

Can someone explain how to create a dts overlay? That I can enable via config.txt? Reference... https://www.raspberrypi.org/documentation/configuration/device-tree.md#part3 I need help creating a really simple overlay, or so I think? Need to ensure the following GPIO pins are set to OUTPUT and HIGH ...
by Schorschi
Sun Apr 02, 2017 1:53 pm
Forum: Advanced users
Topic: Way to find state of GPIO pin?
Replies: 1
Views: 486

Way to find state of GPIO pin?

Way to find state of GPIO pin? This appears to be the way to do it? But is reference of pin BOARD mode or BCM mode? Thinking the pin number is board mode?

# echo 24 > /sys/class/gpio/export
# cat /sys/class/gpio/gpio24/value
0
# echo 24 > /sys/class/gpio/unexport
by Schorschi
Tue Mar 28, 2017 10:51 pm
Forum: General discussion
Topic: Using external pull down resistor board?
Replies: 4
Views: 1487

Re: Using external pull down resistor board?

Mapping the board to GPIO pins was expected to be needed, I did not expect to just drop it in, like say a Pi face board or such. And the board apparently is no long available as well, which makes that potential option a dead end. I was looking for a very simple way to make sure any GPIO pin is pulle...
by Schorschi
Tue Mar 28, 2017 3:14 am
Forum: General discussion
Topic: Using external pull down resistor board?
Replies: 4
Views: 1487

Using external pull down resistor board?

Not being one that loves soldering, I found this small external pull down resistor board. http://microcontrollershop.com/product_info.php?products_id=4247&gclid=CIu85Jyc-NICFVKFfgodD3MFSQ I was wondering if this could be used to protect against floating state of GPIO pins on Raspberry Pi boot? I hav...
by Schorschi
Thu Jan 26, 2017 4:54 am
Forum: General discussion
Topic: Pi Zeros Hard to Find Again?
Replies: 8
Views: 2554

Pi Zeros Hard to Find Again?

Pi Zeros Hard to Find Again? Can't seem to find a Pi Zero for less than $20 US? That just should not be the case, right?
by Schorschi
Mon Jan 02, 2017 12:17 am
Forum: Troubleshooting
Topic: Screen Blanking Still
Replies: 1
Views: 746

Screen Blanking Still

So, I set the following settings in the config.txt file.

POWERDOWN_TIME=0
BLANK_TIME=0

And thus the HDMI connected monitor from going into sleep or power save mode? The monitor still seems to be blanking? How to disable the console session screensaver?
by Schorschi
Sat Jul 23, 2016 5:54 am
Forum: Troubleshooting
Topic: Use HDMI Switch?
Replies: 1
Views: 1210

Use HDMI Switch?

I have 3 Raspberry Pi devices, and I want to share a monitor between them. I have a monoprice 4x1 HDMI switch, that does not have auto sense, but can switch between 4 separate inputs to 1 output. This works fine for computer monitors, and when the input is a desktop PC. But when I connect any 1 of t...
by Schorschi
Sun Aug 23, 2015 8:15 pm
Forum: Windows 10 for IoT
Topic: Windows 10 IoT fails to load on Pi2?
Replies: 4
Views: 2339

Windows 10 IoT fails to load on Pi2?

I have a new Pi2, can load Debian Wheezy (latest version 5/2015) just fine, boots just fine. On the same Micro SD card, can (re)flash IoT image fine, seems to boot fine, but then IoT just hangs in an endless loop stating it is setting or preparing the system, that damn spinning circle of dots foreve...
by Schorschi
Mon Feb 24, 2014 6:02 am
Forum: Automation, sensing and robotics
Topic: Pi sensors
Replies: 3
Views: 4631

Re: Pi sensors

Check out the tutorials on Adafruit. Once you learn how to setup digital versus analog sensors, SPI versus i2c based sensors, the world is open!

For example...
http://learn.adafruit.com/large-pi-base ... -and-clock
by Schorschi
Mon Feb 24, 2014 5:55 am
Forum: General discussion
Topic: Running a constant background program along w others
Replies: 3
Views: 1417

Re: Running a constant background program along w others

Given the Linux heritage, & (i.e. run in background) is often used to detach an interactive process, have on process execute another as background process. But for non-interactive parallel processes, cron is an option, or run code/script as service (i.e. daemon). Background versus foreground paralle...

Go to advanced search