Go to advanced search

by stevech
Sat May 10, 2014 6:45 am
Forum: Python
Topic: Python socket server, NAT port forwarding
Replies: 3
Views: 2415

Re: Python socket server, NAT port forwarding

better to load, onto their computer(s), freeware like logmein.com No router issues, no DDNS issues, etc. The software on their PC makes an outward connection to a server at logmein. To remote access w/password, you login to that same server. https://welcome.logmein.com/welcome/freeremotecontrola/?de...
by stevech
Thu Mar 06, 2014 9:39 pm
Forum: General discussion
Topic: How do I notify phone when input changes?
Replies: 5
Views: 667

Re: How do I notify phone when input changes?

I have these tags. One tells my phone when the garage door opens or closes, and the free phone app allows me to view door status at any time. Other tags report temperature out of bounds, motion, movement, water presence, etc. Their server is free. http://www.caogadgets.com/ http://www.mytaglist.com/
by stevech
Thu Mar 06, 2014 9:34 pm
Forum: General discussion
Topic: The $200 RasPi
Replies: 8
Views: 1330

Re: The $200 RasPi

Z-wave switches, dimmers, wall outlets are very, very high-priced.
by stevech
Mon Feb 24, 2014 5:27 am
Forum: Python
Topic: Declaring global variables
Replies: 8
Views: 2191

Re: Declaring global variables

put globals into a class.
Then pass the class instance to functions
by stevech
Sun Feb 16, 2014 10:08 pm
Forum: C/C++
Topic: is there a real advantage to use C++ over Python?
Replies: 42
Views: 11883

Re: is there a real advantage to use C++ over Python?

In a recent large real time system, Python with its bytecode interpreter, on small embedded board with an ARM CPU, about 400MHz, MBs of RAM and Flash... was just barely fast enough for the application if I omitted a compute intensive function (encryption / decryption). Python should not be used for ...
by stevech
Sun Feb 09, 2014 9:25 pm
Forum: Python
Topic: getch() in Python
Replies: 14
Views: 22043

Re: getch() in Python

Opinion: For all but very advanced users, I'd avoid all things Python 3 and stay in the Python 2 world.
by stevech
Sun Feb 09, 2014 9:23 pm
Forum: Python
Topic: ticks instead of time.sleep() ?
Replies: 21
Views: 5628

Re: ticks instead of time.sleep() ?

the Python docs (on the Internet) explain both functions.
Explaining the differences is too much for here, so take a read.

example
http://docs.python.org/2/library/time.html

and see time.clock()
by stevech
Wed Feb 05, 2014 12:47 am
Forum: General discussion
Topic: What power sources provide 9-12 volts?
Replies: 5
Views: 843

Re: What power sources provide 9-12 volts?

I have a small screen that has just arrived finally, it's power consumption I now know is at minimum 9 volts and maximum 12 volts. I want to have it mobile but if that's not possible (I guess) I'll live. The screen is powered by a positive and negative cable that needs soldering onto another positi...
by stevech
Fri Jan 10, 2014 4:15 am
Forum: Python
Topic: RS232 reading data with PI
Replies: 5
Views: 1351

Re: RS232 reading data with PI

use pyserial library
by stevech
Fri Jan 10, 2014 4:14 am
Forum: General discussion
Topic: First steps with Raspberry Pi: not enough space on SD card
Replies: 2
Views: 580

Re: First steps with Raspberry Pi: not enough space on SD ca

I configured SMB on the RPi, so a shared folder on the LAN can be used by the RPi
by stevech
Sat Jan 04, 2014 6:18 pm
Forum: Other programming languages
Topic: C# - Access to all GPIO functionality?
Replies: 22
Views: 38364

Re: C# - Access to all GPIO functionality?

I'm happy to see coders using C# on the Raspberry Pi! Isn't C# considered proprietary to Microsoft and their run time JIT compilation? Wikipedia " It was developed by Microsoft within its .NET initiative" and there is an ECMA standard for it. But truly, does it make sense in a Linux operating system?
by stevech
Sat Jan 04, 2014 6:16 pm
Forum: Python
Topic: Geany - Python Syntax Error - HELP NEEDED!
Replies: 6
Views: 1501

Re: Geany - Python Syntax Error - HELP NEEDED!

Dear original poster

using upper case text as in your subject "PLEASE HELP" is like shouting in a loud voice. Please avoid doing this.
by stevech
Sat Jan 04, 2014 6:10 pm
Forum: General discussion
Topic: Best way to learn Python and Rpi???
Replies: 10
Views: 1808

Re: Best way to learn Python and Rpi???

learn python on a PC. Then tackle the RPi's Python.
The trick to Python coding is to have a good Python-aware editor. Perhaps Komodo's free one.
by stevech
Sun Dec 22, 2013 8:08 am
Forum: Python
Topic: GPIO Event Handler
Replies: 2
Views: 3037

Re: GPIO Event Handler

No, but I'd get a polling loop to work before using interrupts. Typically, the polling loop scheme is like: button state = False a = read I/O bit delay 20 msec or so b = read I/O bit If a not equal to b, loop again until a = b (debounce), no cap in hardware that can be too long of a time constant Bu...
by stevech
Thu Dec 12, 2013 4:38 am
Forum: Python
Topic: Python script to send RF 433MHZ signal
Replies: 5
Views: 7961

Re: Python script to send RF 433MHZ signal

This seems to be what you're looking for... http://thegaragelab.com/posts/wireless-communications-433mhz-modules.html Dave. For a wireless Newbie, an XBee Series 1 (not 2) is the way to go. Costs more but does all the protocols for you. Overkill for really simple garage door opener type apps. This ...
by stevech
Thu Dec 12, 2013 4:34 am
Forum: Python
Topic: Debug Python with Eclipse on remote linux host
Replies: 6
Views: 3911

Re: Debug Python with Eclipse on remote linux host

I avoid FTP by having an SMB folder share on my LAN, from a PC or NAS. RPi just uses that folder, mounted automatically each time I boot the RPi. When desired, I can copy the folder to the RPi itself. Using my small NAS, the folder is always available via the LAN/WiFi. Doing python without Eclipse (...
by stevech
Wed Dec 11, 2013 4:26 am
Forum: Python
Topic: Debug Python with Eclipse on remote linux host
Replies: 6
Views: 3911

Re: Debug Python with Eclipse on remote linux host

Haven't seen that.
Can you simply develop/debug on Linux the copy code to RPi (or are you dependent on custom I/O)?
by stevech
Sat Dec 07, 2013 5:12 am
Forum: Python
Topic: How to send a byte through GPIO
Replies: 12
Views: 7278

Re: How to send a byte through GPIO

How do I send a byte through the gpio pins? In parallel you need 9 pins. 8 for the data, 1 to go high on data ready. (Hence the reason why 7-bit ASCII was so popular for printing, that saved a bit and saved a wire.) . quibble... the 8th bit in serial data transfers of ASCII was used for for parity ...
by stevech
Thu Oct 24, 2013 2:50 am
Forum: General discussion
Topic: Power supply amperage
Replies: 10
Views: 3245

Re: Power supply amperage

Think of amperage this way... In you home, you have a light bulb that consumes 100 watts which, for US power, is equivalent to about 1 amp of current flow. The wall outlet will supply 20 times that before the current-limiting circuit breaker opens (blows). Rule of thumb: the power source should have...
by stevech
Tue Oct 15, 2013 4:40 am
Forum: General discussion
Topic: Need help choosing which OS to use
Replies: 2
Views: 462

Re: Need help choosing which OS to use

And VNC for remote access
by stevech
Wed Oct 09, 2013 6:38 am
Forum: General discussion
Topic: USB Flash Drive 24/7 read/write
Replies: 17
Views: 6468

Re: USB Flash Drive 24/7 read/write

3tb external drive which has no backup
Isn't that a big risk?

You could get a 64GB SSD drive. Put in a USB enclosure. Plug in to RPi. It'll last years. Mine have.
by stevech
Tue Oct 08, 2013 2:57 am
Forum: Python
Topic: I would like to learn some python please.
Replies: 3
Views: 782

Re: I would like to learn some python please.

Have you purchased a paper/on-line book and read it? Lots of them exist. Then, with that foundation, spend a lot of time looking at code others have written. You'll learn techniques, then how to ignore badly written code, and so on. Then take some good code, use it, alter it, etc. Do so for several ...
by stevech
Tue Oct 08, 2013 2:54 am
Forum: General discussion
Topic: Does Raspberry has an unique identification?
Replies: 8
Views: 4093

Re: Does Raspberry has an unique identification?

One should not alter a factory-assigned network interface's MAC address. There should be no need to do so.
by stevech
Fri Oct 04, 2013 2:47 am
Forum: General discussion
Topic: Language threads?
Replies: 24
Views: 2882

Re: Language threads?

The problem with Java (now)... is Oracle. They'd toss the whole Java world in the gutter in a heartbeat if they could make a dollar.
by stevech
Wed Oct 02, 2013 12:01 am
Forum: General discussion
Topic: Blutooth knocks out my wifi conection.
Replies: 1
Views: 318

Re: Blutooth knocks out my wifi conection.

Bluetooth and WiFi both use 2.4GHz. BUT! Bluetooth is a frequency hopping system - meaning it rapidly changes channels, many times a second. As long as the Bluetooth devices are, say, 8 ft. away from your WiFi devices and WiFi router/AP, they normally co-exist fine. Too close, and the receivers can ...

Go to advanced search