Go to advanced search

by robbes
Mon Jun 22, 2015 3:49 pm
Forum: General discussion
Topic: is this a fake raspberry pi 2
Replies: 17
Views: 3254

Re: is this a fake raspberry pi 2

@Massi -
Yes, I forgot the HDMI cable. With that extra value, I decided to order the package.
Having read the fine details of my PayPal and credit card accounts, I hope to recover my funds troublefree after minor delays!
by robbes
Mon Jun 22, 2015 3:27 pm
Forum: General discussion
Topic: is this a fake raspberry pi 2
Replies: 17
Views: 3254

Re: is this a fake raspberry pi 2

That's a pretty good deal, but his store lists an even better one - US$20.99:
Rasp B2
wifi dongle
Samsung 8GB micro SD card
2.5A power supply

http://www.ebay.com/itm/331586188853

Odds of receiving this - approximately zero.
by robbes
Sun Jun 21, 2015 4:57 pm
Forum: Python
Topic: programme.py not working
Replies: 3
Views: 450

Re: programme.py not working

Is the executable bit set?
by robbes
Sun Jun 14, 2015 4:43 pm
Forum: Python
Topic: Correct way to download and install modules into Python?
Replies: 17
Views: 9020

Re: Correct way to download and install modules into Python?

" I'm recycling the same YouTubes " .... time to try sites with more of a Python focus! Most modules you will want are available at pypi.python.org, and can be installed with the pip command. sudo apt-get install python-pip if you are using Python2.7 and don't have pip installed. I think RPi.GPIO is...
by robbes
Mon Jun 08, 2015 11:14 pm
Forum: Python
Topic: End ssh connection using python
Replies: 5
Views: 821

Re: End ssh connection using python

The module sh is worth looking at:

Code: Select all

http://amoffat.github.io/sh/
The tutorials on logging and on passwords are good, too.
by robbes
Wed Apr 29, 2015 4:38 pm
Forum: Automation, sensing and robotics
Topic: DS18B20 GPIO problem
Replies: 4
Views: 4671

Re: DS18B20 GPIO problem

Have you uncommented your config.txt line #dtparam=i2c1 arm=on ?
by robbes
Sat Nov 01, 2014 7:23 pm
Forum: Python
Topic: Running scikit-learn
Replies: 7
Views: 7866

Re: Running scikit-learn

According to my .bash_history file:
wget http://repo.continuum.io/pkgs/minonda/M ... -armv6l.sh
md5sum
/bin/bash Minonda-1.4.1-Linux-armv6l.sh

This was some time ago; I expect there is a newer version around.
by robbes
Sat Nov 01, 2014 6:33 pm
Forum: Python
Topic: Running scikit-learn
Replies: 7
Views: 7866

Re: Running scikit-learn

Yes, I run it under Raspian, with python2.7
I don't recall any installation problems.
by robbes
Sat Nov 01, 2014 5:41 pm
Forum: Python
Topic: Running scikit-learn
Replies: 7
Views: 7866

Re: Running scikit-learn

You can install the anaconda package on the Raspberry, and then type
conda install scikit-learn
by robbes
Thu Sep 25, 2014 6:02 am
Forum: Python
Topic: Is there a way to make this faster.
Replies: 1
Views: 962

Re: Is there a way to make this faster.

I expect the lack of replies reflects the amount of time it would take to analyze your code.

http://www.huyng.com/posts/python-performance-analysis/ may be of interest.
by robbes
Wed Sep 24, 2014 6:16 am
Forum: Python
Topic: PLEASE HELP ROBOT ARM
Replies: 1
Views: 662

Re: PLEASE HELP ROBOT ARM

Access denied/insufficient permissions suggests to me that you should try :
sudo robotprogram1.py
by robbes
Tue Mar 04, 2014 9:48 pm
Forum: Python
Topic: creating icon for python script
Replies: 1
Views: 497

Re: creating icon for python script

It depends on your desktop environment; with LXDE you need to create a .desktop file in /usr/share/applications with this structure: [Desktop Entry] Name=Something Exec=/usr/bin/x-terminal-emulator - e 'FullPathtoYourPythonProgram' Icon=YourIcon Category=Programming This should create an entry calle...
by robbes
Tue Feb 25, 2014 1:19 am
Forum: Beginners
Topic: Raspberry Pi component "map"
Replies: 0
Views: 245

Raspberry Pi component "map"

There is a nice mousable Raspberry Pi component map at http://raspmap.tsar.in/

Source document: http://embedsysweekly.com/issue18-volat ... ux-kernel/
by robbes
Sun Jan 26, 2014 5:43 pm
Forum: Python
Topic: bitwise operand from python2.7 to python3.2.3
Replies: 14
Views: 3213

Re: bitwise operand from python2.7 to python3.2.3

The worse thing is the colon on the conditional statements. The number of snytux errurs I've had from missing that is driving me towards writing everything on the RPi in C.
Any decent Python IDE should pick that up.
by robbes
Mon Dec 16, 2013 6:19 pm
Forum: Troubleshooting
Topic: Pi boots, but only after several minutes
Replies: 18
Views: 2175

Re: Pi boots, but only after several minutes

bootchart gives a nice graphic display of the boot sequence. It may give you an indication of the source of the delay.
by robbes
Wed Dec 11, 2013 6:56 pm
Forum: HATs and other add-ons
Topic: Programming the AVR from the Command Line with Ino
Replies: 4
Views: 8650

Re: Programming the AVR from the Command Line with Ino

cmatthews,
Your posted reference to http://www.ino.org should be to http://www.inotool.org
I don't know if it is possible for you to go back and edit the line.
by robbes
Fri Dec 06, 2013 6:01 pm
Forum: Beginners
Topic: pyserial
Replies: 9
Views: 1832

Re: pyserial

There is a package python3-serial for python >=3.1
by robbes
Mon Sep 16, 2013 9:31 pm
Forum: Raspbian
Topic: want to know Version of Raspbian
Replies: 3
Views: 1285

Re: want to know Version of Raspbian

The lsb_release command is in the lsb-release package. Do you have this package installed?
by robbes
Fri Aug 30, 2013 7:44 pm
Forum: Python
Topic: Python Performance Profiling
Replies: 7
Views: 1908

Re: Python Performance Profiling

There are other less-used python tools available for performance analysis. For instance, see http://www.huyng.com/posts/python-performance-analysis/ You can subscribe to http://pycoders.com/ and get a weekly email of interesting new python projects. Archives of the past weekly mailings are also acce...
by robbes
Tue Aug 27, 2013 4:15 pm
Forum: Python
Topic: Is SPE IDE for Python worth it ?
Replies: 2
Views: 907

Re: Is SPE IDE for Python worth it ?

I have been using SPE almost from the first release on my desktop, and it has been totally reliable and perfect for my needs. However, there is little development taking place and I think SPE is falling behind both in popularity and features. For alternatives, take a look at http://stackoverflow.com...
by robbes
Sun Aug 25, 2013 7:53 pm
Forum: Automation, sensing and robotics
Topic: RF Link between Arduino and Raspberry Pi
Replies: 19
Views: 9449

Re: RF Link between Arduino and Raspberry Pi

"Well, I finally achieved my goal. Everything it's working like I wanted to. "

How did you solve your last issue of the Python script startup time?
by robbes
Mon Aug 12, 2013 3:26 am
Forum: Python
Topic: cv2 module not found
Replies: 2
Views: 3546

Re: cv2 module not found

Take a look at http://stackoverflow.com/questions/1579 ... -installed

Reinstall opencv if there was any chance it was not installed properly, and make sure you have also installed all the required dependencies.
by robbes
Fri Aug 09, 2013 3:37 pm
Forum: Python
Topic: Run a python program on pi startup
Replies: 4
Views: 1863

Re: Run a python program on pi startup

Would PYTHONSTARTUP do the job for you?
See http://docs.python.org/2/using/cmdline. ... -variables

Also take a look at usercustomize in section 2.2.5 of the python docs:
http://docs.python.org/2/tutorial/interpreter.html
by robbes
Sun Jul 14, 2013 5:13 pm
Forum: Python
Topic: Tkinter clipboard_get()
Replies: 1
Views: 615

Re: Tkinter clipboard_get()

I ran your script and cannot duplicate your problem. Seems OK in my Python editor (SPE) and from the command line.
by robbes
Thu Jul 04, 2013 3:21 am
Forum: Automation, sensing and robotics
Topic: Bench power supply
Replies: 4
Views: 2207

Re: Bench power supply

If you are planning to use a computer power supply, this breakout board can save you a bit of trouble:
http://www.seeedstudio.com/depot/atx-br ... ml?cPath=1

Go to advanced search