Go to advanced search

by tedhale
Thu Mar 05, 2015 10:25 pm
Forum: Troubleshooting
Topic: Problem using 1-wire
Replies: 2
Views: 636

Re: Problem using 1-wire

That fixed it. Thanks you very much.

I guess if I had been keeping up with my reading on the Pi, I would have already known this.

Thanks again.
by tedhale
Thu Mar 05, 2015 4:58 pm
Forum: Troubleshooting
Topic: Problem using 1-wire
Replies: 2
Views: 636

Problem using 1-wire

I am having trouble using 1-wire devices on a few of my systems. Other systems have no problem. The first clue that something was odd is that the "/sys/bus/w1/devices/w1_bus_master" file does not exist. Yes, the driver modules are loaded as shown by lsmod lsmod Module Size Used by w1_therm 3325 0 w1...
by tedhale
Thu Aug 21, 2014 7:52 pm
Forum: Beginners
Topic: Displaying an HTML file remotely
Replies: 10
Views: 3642

Re: Displaying an HTML file remotely

I had to solve a similar problem - how to interface a web page to a program running on the Pi. What I do is create program that does all of the GPIO, sensor reading, etc needed for the task. Then I add a thread to that program that listens on a socket. I use Apache and PHP to run a PHP script to gen...
by tedhale
Thu Jul 10, 2014 6:57 pm
Forum: General programming discussion
Topic: Serial Sniffer & Send XON
Replies: 6
Views: 6307

Re: Serial Sniffer & Send XON

If the terminal server is sending an XOFF, it is because the fire panel is sending data faster than the terminal can receive it and it is about to overflow it's buffer. The Pi solution may be able to receive data faster and not have this problem. If it does have the same problem, then you could turn...
by tedhale
Tue May 20, 2014 5:23 pm
Forum: General discussion
Topic: how to view datas of raspberry pi SD card in windows
Replies: 2
Views: 546

Re: how to view datas of raspberry pi SD card in windows

Windows will only mount the first partition of a removable device. I don't know of any way to access the other partitions.
by tedhale
Tue May 20, 2014 5:16 pm
Forum: Advanced users
Topic: Controlling 32 lights with the Raspberry Pi
Replies: 9
Views: 3962

Re: Controlling 32 lights with the Raspberry Pi

I am controlling lights in my house using the X10 protocol (see http://www.x10.com/ for more info. Cheaper but compatible devices can be found elsewhere.) This is connected to my Pi via an X10 computer interface on a serial connection. I don't control anywhere near that many lights, but the X10 prot...
by tedhale
Tue May 13, 2014 6:41 pm
Forum: Troubleshooting
Topic: Run shell script at boot
Replies: 1
Views: 580

Re: Run shell script at boot

/etc/rc.local is the usual place to do this. Be sure to run the script in the background (add a & to the end of the line) otherwise rc.local won't exit until your script completes and startup will hang. Of course, if that's the behavior you want, the leave off the &.
by tedhale
Wed May 07, 2014 7:45 pm
Forum: C/C++
Topic: Convert Java to C?
Replies: 4
Views: 1317

Re: Convert Java to C?

You would have to de-compile the java source from the jar file, then convert all the java code to C, including replacements for all libraries used. That would be a LOT of work. But, yes, assuming you did all of that, it would run in native mode and be faster. My guess is that it would only be a litt...
by tedhale
Sun Mar 30, 2014 7:25 pm
Forum: Other projects
Topic: CPU and I/O Utilization Display
Replies: 0
Views: 489

CPU and I/O Utilization Display

I have now posted details on how I display CPU and I/O utilization data on 10 segment LED bargraphs on my latest RasPi Server. The code is in C and is available via google code. The functions should be easily re-usable. See the post here: http://raspberrypihobbyist.blogspot.com/2014/03/cpu-and-io-ut...
by tedhale
Thu Mar 27, 2014 4:39 pm
Forum: Automation, sensing and robotics
Topic: Beer Brewing Automation
Replies: 3
Views: 1510

Beer Brewing Automation

I now have an automation system controlling the process of home brewing beer. The raspi is connected to an interface for 1-wire temperature probes, and relays for a propane valve, flame ignitor, and chiller pump. The same interface has now been slightly reconfigured to control the temperature during...
by tedhale
Sat Nov 30, 2013 2:53 pm
Forum: Beginners
Topic: USB HDD
Replies: 28
Views: 25134

Re: USB HDD

The poster that I was responding to now reports that his problem seems to have been caused by a flaky USB hub.
by tedhale
Wed Nov 27, 2013 9:16 pm
Forum: Beginners
Topic: USB HDD
Replies: 28
Views: 25134

Re: USB HDD

Thanks for letting me know you posted here also. Here, the info will help more people. try this: apt-get install sdparm then sdparm --clear=STANDBY /dev/sdX (where X is the appropriate letter for your drive) if that works, then you can run it at each boot by adding it to /etc/rc.local As a last reso...
by tedhale
Thu May 09, 2013 7:31 pm
Forum: General discussion
Topic: Can linux be made to service one application.
Replies: 6
Views: 958

Re: Can linux be made to service one application.

The best you can do is load a minimal system with all un-needed services disabled.
Several people have posted links to minimal Raspian images on this board.
by tedhale
Thu May 09, 2013 7:28 pm
Forum: Beginners
Topic: PI MOTD
Replies: 2
Views: 550

Re: PI MOTD

if you put that code at the end of /etc/bash.bashrc it will be run every time someone logs in.

(Or is it every time a bash shell runs? That might not be what you want.)
by tedhale
Thu May 09, 2013 7:19 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: how to trigger gpio pin with 24v
Replies: 31
Views: 41415

Re: how to trigger gpio pin with 24v

check out
http://raspberrypihobbyist.blogspot.com ... it_19.html

you would likely need a different optocoupler than I used.
by tedhale
Mon May 06, 2013 7:43 pm
Forum: Beginners
Topic: Accessing Other Computers On the Network
Replies: 7
Views: 12862

Re: Accessing Other Computers On the Network

the smbmount command will do what you want.
by tedhale
Mon May 06, 2013 7:31 pm
Forum: General discussion
Topic: copy32to8Gb
Replies: 4
Views: 627

Re: copy32to8Gb

Hi I want to copy a 32Gb SD-card to a 8Gb SD-card first,then make a systemdisc on a usb-stick. booting up from the SD and let the usb-stick take over. Theres only about 5Mb of data on the 32Gb SD-card but rasperian had taken all 32GB. Can I change the partitions,making it possible to copy to a smal...
by tedhale
Mon May 06, 2013 7:22 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: how to trigger gpio pin with 24v
Replies: 31
Views: 41415

Re: how to trigger gpio pin with 24v

I suggest a simple voltage divider http://en.wikipedia.org/wiki/Voltage_divider use resistors of 1.5K and 10K and you can drop the 24v to 3.1v the current will be greatly limited as well. Since I don;t know what your input current is, I suggest you measure it before and after the divider to see if i...
by tedhale
Sat Mar 09, 2013 5:05 am
Forum: General discussion
Topic: Forcing a USB hub to back feed power
Replies: 3
Views: 1372

Forcing a USB hub to back feed power

There are varying opinions on whether back feeding power through the USB port is a good idea or not. However, for one project this is what I wanted. The following post on my blog describes how to modify a USB hub to force it to backfeed power. http://raspberrypihobbyist.blogspot.com/2013/03/usb-hub-...
by tedhale
Tue Feb 12, 2013 4:43 am
Forum: Graphics, sound and multimedia
Topic: Instructions for creating a digital picture frame
Replies: 4
Views: 2889

Re: Instructions for creating a digital picture frame

I just responded to your comment on my blog: Sure. FreeNAS supports NFS and SMB. I haven't used NFS in years, but it is fairly simple to install samba to support SMB (Windows file shares) and then mount a shared folder on the NAS. You could also pull files as needed using FTP or SCP, but I would go ...
by tedhale
Sat Feb 09, 2013 9:34 am
Forum: Graphics, sound and multimedia
Topic: Instructions for creating a digital picture frame
Replies: 4
Views: 2889

Instructions for creating a digital picture frame

Step by step instructions for creating a digital picture frame have been posted on my blog
http://raspberrypihobbyist.blogspot.com ... frame.html
by tedhale
Sat Feb 09, 2013 9:30 am
Forum: Other projects
Topic: instructions for creating a digital picture frame
Replies: 3
Views: 4079

instructions for creating a digital picture frame

Step by step instructions for creating a digital picture frame have been posted on my blog
http://raspberrypihobbyist.blogspot.com ... frame.html
by tedhale
Sat Feb 09, 2013 9:27 am
Forum: Other projects
Topic: JPG Slideshow from Network Share
Replies: 3
Views: 5788

Re: JPG Slideshow from Network Share

I have just posted instructions for creating a digital picture frame on my blog. http://raspberrypihobbyist.blogspot.com/2013/02/jumbo-digital-picture-frame.html But to answer your immediate question - samba is the package that you need. It provides support for MS Windows networking. It is typically...
by tedhale
Mon Jan 14, 2013 5:38 pm
Forum: Other projects
Topic: Complete Home Security/Monitoring System
Replies: 24
Views: 21250

Re: Complete Home Security/Monitoring System

Typically, a pre-recorded message sent to 911 will be ignored. That is their policy.
They may send an officer to check it out, or not, depending on the localities resources.

Go to advanced search