Go to advanced search

by Pi-Plates
Wed Aug 30, 2017 10:33 am
Forum: Raspbian
Topic: Stretch broke my script that uses lxterminal
Replies: 3
Views: 788

Re: Stretch broke my script that uses lxterminal

Simple enough - thanks.
by Pi-Plates
Wed Aug 30, 2017 1:08 am
Forum: Raspbian
Topic: Stretch broke my script that uses lxterminal
Replies: 3
Views: 788

Stretch broke my script that uses lxterminal

Last month I spent many hours creating a script that installs some application on the back end of a pip installation which works great with Jessie. Last night after installing Stretch (and the obligatory update/upgrade to get a US keyboard), I discovered it no longer worked. I started trying to solv...
by Pi-Plates
Tue May 17, 2016 3:49 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Latest Version of Jessie and SPI
Replies: 3
Views: 872

Re: Latest Version of Jessie and SPI

I just heard from Simon over on the blog and apparently SPIDEV has to be manually installed again with this build of Raspian. So, if you're having problems with SPI, do this from the command line: sudo apt-get install python-spidev.
by Pi-Plates
Tue May 17, 2016 10:07 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Latest Version of Jessie and SPI
Replies: 3
Views: 872

Re: Latest Version of Jessie and SPI

But that's the point: starting with the first release of Jessie (I think), downloading and compiling SPIDEV was no longer necessary. All I had to do was enable SPI in the Raspberry Pi configuration window that's available in X.
by Pi-Plates
Tue May 17, 2016 1:41 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Latest Version of Jessie and SPI
Replies: 3
Views: 872

Latest Version of Jessie and SPI

After the initial release of Jessie, I could enable SPI simply by going to the Raspberry Pi Configuration window and clicking the Enable button for SPI. But that doesn't seem to work anymore with the Jessie update from 5/10. I am now getting message "ImportError: No module named spidev" after attemp...
by Pi-Plates
Tue Sep 29, 2015 4:49 pm
Forum: Raspbian
Topic: LibreOffice Issue on Jessie
Replies: 1
Views: 526

LibreOffice Issue on Jessie

So, I've installed Jessie and started playing around with LibreOffice Calc. The first thing I do whenever I try out a new spreadsheet program is to calculate and the graph sine, cosine, and tangent functions from 0 to 360 degrees. So, the calculations work just fine although vertical scrolling seems...
by Pi-Plates
Tue Sep 29, 2015 12:48 pm
Forum: Troubleshooting
Topic: Raspbian Jessie zip appears corrupt
Replies: 71
Views: 29113

Re: Raspbian Jessie zip appears corrupt

Same problem here using windows 7 as of 8:30AM EDT. ZIP file is small enough but when I try to copy the contents to another folder it says it needs 734 PB.
by Pi-Plates
Sun Jul 26, 2015 2:19 pm
Forum: Advanced users
Topic: The Problem with Overclocking and the SPI Bus
Replies: 0
Views: 394

The Problem with Overclocking and the SPI Bus

After much work and experimentation we summed everything up in a blog entry on our website:

https://pi-plates.com/the-problem-with- ... e-spi-bus/

In a nutshell, when the Pi2 overclock mode is enabled, the SPI clock behaves in an inconsistent manner.
by Pi-Plates
Mon Jul 20, 2015 8:35 pm
Forum: Advanced users
Topic: Read the core clock speed and set CDIV from Python?
Replies: 4
Views: 1277

Re: Read the core clock speed and set CDIV from Python?

Actually, SPIDEV lets you change the SPI clock frequency. And this value gets saved into the structure that is then passed to IOCTL whenever a transfer occurs. You can change the SPI clock frequency with this . But, I'm having a hard time pinning down it's behavior when overclocking is employed. If ...
by Pi-Plates
Mon Jul 20, 2015 5:36 pm
Forum: Advanced users
Topic: Read the core clock speed and set CDIV from Python?
Replies: 4
Views: 1277

Re: Read the core clock speed and set CDIV from Python?

I read a bit more after posting this message and found that SPIDEV passes a clock frequency value as part of a structure in every call to IOCTL. So there would be no point manipulating CDIV from my software since IOCTL will overwrite it. Now I'm trying to find the IOCTL source code...
by Pi-Plates
Mon Jul 20, 2015 12:14 am
Forum: Advanced users
Topic: Read the core clock speed and set CDIV from Python?
Replies: 4
Views: 1277

Read the core clock speed and set CDIV from Python?

We've had some issues lately with people overclocking their new RPi 2s. When they do this, the core clock is doubled to 500Mhz. This in turn doubles the SPI frequency since the SPI CLK=CORE_freq/CDIV. This can be problematic with our HW so we would like to be able to read the value of the CORE frequ...
by Pi-Plates
Mon Apr 27, 2015 5:44 pm
Forum: HATs and other add-ons
Topic: We have just introduced our newest product: the MOTORplate!
Replies: 1
Views: 667

We have just introduced our newest product: the MOTORplate!

MOTORplate is capable of driving two stepper motors or four DC motors. And it has 4 protected inputs that can be used as end stop inputs or 16bit tachometers. Like all Pi-Plates, these can be stacked eight high for a total of 16 stepper or 32 DC drivers. And they're compatible with all of our other ...
by Pi-Plates
Wed Mar 18, 2015 9:07 pm
Forum: For sale
Topic: Pi-Plates for Sale!
Replies: 1
Views: 806

Pi-Plates for Sale!

Stop by https://pi-plates.com and check out our product offerings. We will ship to anywhere in the known universe - except Russia.
by Pi-Plates
Thu Feb 12, 2015 8:01 pm
Forum: Python
Topic: import RPi.GPIO as GPIO RuntimeError
Replies: 47
Views: 34521

Re: import RPi.GPIO as GPIO RuntimeError

Just did an update/upgrade and saw the PiFace GPIO interface get updated.
by Pi-Plates
Mon Feb 09, 2015 12:07 pm
Forum: Python
Topic: Strange Python Problem with RPI2
Replies: 4
Views: 833

Re: Strange Python Problem with RPI2

And that was it - the while statement got indented somehow and became part of the function definition. Thanks for your help.
by Pi-Plates
Mon Feb 09, 2015 11:42 am
Forum: Python
Topic: Strange Python Problem with RPI2
Replies: 4
Views: 833

Re: Strange Python Problem with RPI2

I'm using 2.7.3 and like I said, it works on the B+ but not the new 2.
by Pi-Plates
Mon Feb 09, 2015 2:08 am
Forum: Python
Topic: Strange Python Problem with RPI2
Replies: 4
Views: 833

Strange Python Problem with RPI2

I was going to do some performance measurements tonight on my new RPI2 and decided to just calculate the first 50 Fibonacci numbers repeatedly: def fib(n): a,b = 1,1 for i in range(n-1): a,b = b,a+b return a while(1): for i in range(50): print fib(i) Simple enough, right? When I run this on a B+ I g...
by Pi-Plates
Sun Feb 08, 2015 8:20 pm
Forum: Python
Topic: import RPi.GPIO as GPIO RuntimeError
Replies: 47
Views: 34521

Re: import RPi.GPIO as GPIO RuntimeError

I already am - I'm looking for the final solution that my customers can apply.
by Pi-Plates
Sun Feb 08, 2015 12:39 pm
Forum: Python
Topic: import RPi.GPIO as GPIO RuntimeError
Replies: 47
Views: 34521

Re: import RPi.GPIO as GPIO RuntimeError

So, I hit this last night when I was bringing up my new RPI2. At first I thought it was because I was loading the GPIO module from inside my own module but soon realized that I could make it occur by simply typing import RPi.GPIO as GPIO from the command line.

Any idea when this may be resolved?

Go to advanced search