Go to advanced search

by tedhale
Mon Jan 14, 2013 5:33 pm
Forum: Python
Topic: Mounting remote windows partition on to pi using python
Replies: 9
Views: 1729

Re: Mounting remote windows partition on to pi using python

Files placed onto the SD card from windows will end up in the /boot directory.
by tedhale
Thu Jan 10, 2013 2:45 pm
Forum: Other projects
Topic: Aluminium case
Replies: 25
Views: 9761

Re: Aluminium case

A lot of people think they need more cooling on the Pi. They are wrong. Remember, the chips on this board were designed to run things like cell phones - no ventilation or cooling of any kind. That said, I do like the idea of an aluminum case because I may need a "less destructible" case for hard mob...
by tedhale
Thu Jan 10, 2013 2:32 pm
Forum: Beginners
Topic: Single Web Page
Replies: 3
Views: 997

Re: Single Web Page

I sounds to me like he wants to run a browser that loads a page from elsewhere - not serve the page. The page requires a login, and he wants that handled automatically. You could mod your login script to start X and mod the X config to load a browser with the startup page set to the page you want. (...
by tedhale
Mon Jan 07, 2013 1:37 pm
Forum: Automation, sensing and robotics
Topic: Raspberry Pi - Sunrise/Sunset Timer for Christmas Lights
Replies: 29
Views: 29987

Re: Raspberry Pi - Sunrise/Sunset Timer for Christmas Light

I solved the sunrise/sunset problem in my home automation code by using CURL and pulling today's times for sunrise and sunset for my location from the US Naval Observatory site. This is called every time the program starts and when a new day is detected (i.e. it passed midnight) Here is the code I u...
by tedhale
Thu Jan 03, 2013 6:43 pm
Forum: Automation, sensing and robotics
Topic: GPIO Ignorance
Replies: 6
Views: 1697

Re: GPIO Ignorance

The simplest way to read temperature is with a One Wire Digital Temperature Sensor such as the DS18B20.
https://www.sparkfun.com/products/245

Here is a good tutorial on how to use it.
http://www.cl.cam.ac.uk/freshers/raspbe ... mperature/
by tedhale
Wed Dec 12, 2012 6:30 pm
Forum: General discussion
Topic: have i been scammed by raspberrypi.rsdelivers.com? (solved)
Replies: 6
Views: 1579

Re: have i been scammed by http://raspberrypi.rsdelivers.com

I ordered mine in July and just got it last week.
RS simply wasn't prepared for the huge demand for the Pi and they are still trying to catch up.
They received shipments from China but can only process about 5000 per day.
by tedhale
Tue Dec 11, 2012 7:20 pm
Forum: C/C++
Topic: C error
Replies: 10
Views: 4244

Re: C error

Looks OK to me, but I didn't try to run it. What problem are you having? Two possible problems I will mention since I have so little info to go on: You initialized using wiringPiSetup, which implies that you will be using the Wiring Pi pin numbering, not the standard GPIO pin numbering. See https://...
by tedhale
Wed Dec 05, 2012 2:25 pm
Forum: General discussion
Topic: Sticky Keys - Tried Everything
Replies: 19
Views: 2843

Re: Sticky Keys - Tried Everything

Pluggy is absolutely right about not trusting the label on a power supply.
I bought three USB chargers that were sold as "for the raspberry pi"
They say they are 1A but I seriously doubt it. They can power the Pi, but as soon as I plug in a keyboard and mouse, it fails.
by tedhale
Wed Dec 05, 2012 2:18 pm
Forum: Automation, sensing and robotics
Topic: Raspberry Pi - Sunrise/Sunset Timer for Christmas Lights
Replies: 29
Views: 29987

Re: Raspberry Pi - Sunrise/Sunset Timer for Christmas Light

I have a home automation/alarm system running now on the Pi. It uses the serial port on the GPIO pins. I have had a lot of problems with USB to Serial adapters on normal Linux systems, so I didn't want to go that route on the Pi. I haven't written up my blog post on the X10 interface yet, but you ca...
by tedhale
Wed Dec 05, 2012 2:11 pm
Forum: Raspbian
Topic: What programs are installed?
Replies: 10
Views: 48004

Re: What programs are installed?

the command dpkg -l will list all installed packages, but I doubt that is what you really want. do a "man smartsim" and see what the command line should be for what you want and then create a link on your desktop to run that. I almost never use X - all my systems are headless - but it seems that if ...
by tedhale
Tue Dec 04, 2012 4:10 pm
Forum: General discussion
Topic: Update Pi competitor
Replies: 23
Views: 6170

Re: Update Pi competitor

These magazines you speak of; Do they have batteries or must read them on-line. ;)
by tedhale
Tue Dec 04, 2012 4:04 pm
Forum: Advanced users
Topic: Persistant SSH connection
Replies: 11
Views: 2351

Re: Persistant SSH connection

If your program has a graphical interface, then you probably need screen (I prefer to use a VNC server on the Pi and a VNC client on my PC. Search this forum for instructions.) If the program is text based, you can just use the nohup command to keep the program running after you log off. When I have...
by tedhale
Tue Dec 04, 2012 3:56 pm
Forum: Python
Topic: Mounting remote windows partition on to pi using python
Replies: 9
Views: 1729

Re: Mounting remote windows partition on to pi using python

Ah. Now I have some useful info. I think this may be caused by a side effect of how the script was created. The ^M is a "carriage return" but Linux uses ^J or "Line Feed" as the line terminator. These are often referred to as CR and LF. I suspect that your script actually has ^M at the end of the li...
by tedhale
Mon Dec 03, 2012 5:07 pm
Forum: General discussion
Topic: Better SD Card Slot
Replies: 20
Views: 4441

Re: Better SD Card Slot

As I noted in another thread, the half size uSD adapter (like the one sold by Adafruit) is too thick to fit through the slot of any case that I have seen. Removing the SD card when transporting the Pi would seem like a good way to reduce the odds of breaking the SD card slot, but you probably alread...
by tedhale
Mon Dec 03, 2012 5:02 pm
Forum: Python
Topic: Mounting remote windows partition on to pi using python
Replies: 9
Views: 1729

Re: Mounting remote windows partition on to pi using python

chmod changes the access settings on a file or directory. The su commmand changes what user you are, although that is deprecated and sudo should be used instead. I was referring to the whether you were running the command as root. But you have a point. I tested and a normal user can not create a dir...
by tedhale
Mon Dec 03, 2012 1:48 pm
Forum: Troubleshooting
Topic: Can't login cause shutdown command
Replies: 7
Views: 3175

Re: Can't login cause shutdown command

When a time delay or specific time is used in the shutdown command, the file /etc/nologin is created. The existence of this file causes the login process to give you that error. I see two options. The hard one is to mount the sdcard on another linux system and delete the /etc/nologin file. The easie...
by tedhale
Mon Dec 03, 2012 1:24 pm
Forum: Python
Topic: Mounting remote windows partition on to pi using python
Replies: 9
Views: 1729

Re: Mounting remote windows partition on to pi using python

Permissions perhaps?
You must be root to mount anything.

Do you get any error messages when you run the script from a shell?
by tedhale
Mon Dec 03, 2012 1:13 pm
Forum: Beginners
Topic: Using Linux in a commercial application?
Replies: 5
Views: 4021

Re: Using Linux in a commercial application?

The answer is - it depends, but basically no - no license fees. (Who would you pay them to anyway?) The basic foundation of Linux is licensed under GPL (or something similar.) This means that you are free to use it in a commercial application. However, because it is GPL'ed, other people could give i...
by tedhale
Fri Nov 30, 2012 9:48 am
Forum: General discussion
Topic: Naive question: Why have an sd card slot at all?
Replies: 25
Views: 8536

Re: Naive question: Why have an sd card slot at all?

I wouldn't mind soldering a Micro-SD holder instead of the SD card holder but I can't find any sold via eBay. Could anyone recommend a site that sells them (preferably the spring loaded type)?? Richard S. adafruit has an awesome "short" adapter so the card doesn't stick out. Their idea is super sim...
by tedhale
Thu Nov 29, 2012 8:49 pm
Forum: Advanced users
Topic: Opening up a udp port
Replies: 3
Views: 36725

Re: Opening up a udp port

There is nothing on the typical RasPi images that would block any networking. I suspect that the problem is elsewhere. Windows firewall is a common culprit. (assuming that the "other device" is Windows) You can use the command: netstat -a and look for the listening ports to see if SNMP is actually l...
by tedhale
Thu Nov 29, 2012 8:27 pm
Forum: General discussion
Topic: Better SD Card Slot
Replies: 20
Views: 4441

Re: Better SD Card Slot

I wish the raspberrypi technicians and scientist would update or design the supermini raspberrypi computer so that it will function using my HP Probook laptop monitor. If and when they decide, please notify me. Please advise. Thank you. Joe Pereira(age 77) P.S. I have been into electronic since I w...
by tedhale
Thu Nov 29, 2012 8:15 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: UART
Replies: 22
Views: 19764

Re: UART

BTW, you will see a lot of views and few posts because most people coming here are looking for answers, not giving them out. Most likely, the first 50 viewers had no clue how to solve your problem. I read this forum for two reasons 1. I need to find answers myself sometimes, but mostly 2. I enjoy he...
by tedhale
Thu Nov 29, 2012 8:11 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: UART
Replies: 22
Views: 19764

Re: UART

stedew is correct, another process already has the device open, so you get that error.

Look at my blog post
http://raspberrypihobbyist.blogspot.com ... -port.html

Look at the 2nd half of the post for instructions on how to "free up" the serial port.
by tedhale
Mon Nov 26, 2012 6:18 pm
Forum: HATs and other add-ons
Topic: RFID reading equipment??
Replies: 2
Views: 1722

Re: RFID reading equipment??

That device is intended for NFC use, which is typically 4 inches or less.
For typical RFID tags, like those used in many consumer products, you would probably be better of with this:
http://www.parallax.com/tabid/768/Produ ... fault.aspx
by tedhale
Mon Nov 26, 2012 6:04 pm
Forum: Other projects
Topic: Complete Home Security/Monitoring System
Replies: 24
Views: 21887

Re: Complete Home Security/Monitoring System

I have had several variations of this running at home for over ten years. Now I am converting the system to use a RasPi. The system has 8 inputs for hard wired motion detectors and door sensors. Also, 4 relays for output Serial port connected to a CM11a X10 interface. There are several X10 motion de...

Go to advanced search