Go to advanced search

by Richard-TX
Fri Dec 27, 2013 4:05 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: i2c and EEPROMS
Replies: 7
Views: 2527

Re: i2c and EEPROMS

Here is a little demo program that writes 2 blocks of data (8 bytes) at a time. I like doing things in /bin/sh first and then translate that into the programming language of choice. I find it saves time. #!/bin/sh #set the variable "BUS" to an appropriate I2C bus number BUS=0 #set the memory pointer...
by Richard-TX
Fri Dec 27, 2013 3:18 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: MCP23017 Pins @ boot (Initial State)
Replies: 30
Views: 5328

Re: MCP23017 Pins @ boot (Initial State)

He was referring to the MCP23017, not the RPI. Since you are using the 23017 ports as outputs, the caution does not apply. Furthermore Microchip says nothing about applying external pullups so I believe it is immune from floating inputs. If you want to play it safe, enable the pullups on-board when ...
by Richard-TX
Fri Dec 27, 2013 2:49 pm
Forum: General discussion
Topic: Need free space
Replies: 5
Views: 1305

Re: Need free space

Here is what the latest raspian looks like. I removed the top two. I don't have any use for mathmatica, oracle, or java. dpkg-query -f '${installed-size;8} KB ${package}@${status}\n' -W '*' | grep " installed$" | cut -d'@' -f 1 | sort -nr 419002 KB wolfram-engine 155282 KB oracle-java7-jdk 55920 KB ...
by Richard-TX
Fri Dec 27, 2013 2:31 pm
Forum: General discussion
Topic: Adafruit down?
Replies: 8
Views: 1239

Re: Adafruit down?

Someone fixed something last night. Adafruit is accessible again.

I have seen routers just start blocking ip addresses for no apparent reason. A reboot usually fixes it.
by Richard-TX
Fri Dec 27, 2013 6:36 am
Forum: Python
Topic: Sleep Timer
Replies: 3
Views: 2329

Re: Sleep Timer

Turn the volume down to zero?

What you need is to have a seperate process be able to mute the sound.

I suggest you look at mpc/mpd. It will accept outside commands.
by Richard-TX
Fri Dec 27, 2013 6:31 am
Forum: Automation, sensing and robotics
Topic: RaPI and relays?
Replies: 9
Views: 2307

Re: RaPI and relays?

There is a problem with some of the relay boards on the market. Due to the design, they need a hard path to ground, not a TTL low.

I have asked for a schematic of the board that you have. The seller is going to send me one. I will post it when I get it.

Richard
by Richard-TX
Fri Dec 27, 2013 1:12 am
Forum: Beginners
Topic: Followed Quick Start Guide. Not enough disc space
Replies: 6
Views: 3605

Re: Followed Quick Start Guide. Not enough disc space

The recommended minimum for Raspian is now 4 gb. http://downloads.raspberrypi.org/raspbian/release_notes.txt 2013-12-20: * Firmware updated, includes V4L2 fixes * Update omxplayer 2013-12-18: * Firmware updated and now using kernel 3.10. Many, many improvements * fbturbo XOrg driver is now included ...
by Richard-TX
Fri Dec 27, 2013 1:08 am
Forum: General discussion
Topic: Adafruit down?
Replies: 8
Views: 1239

Re: Adafruit down?

Agreed.

Not sure why Verizon's network would be blocked.

I might call around tomorrow.
by Richard-TX
Fri Dec 27, 2013 1:03 am
Forum: Troubleshooting
Topic: User Pi does not exist
Replies: 3
Views: 1817

Re: User Pi does not exist

Does the pi account exist in /etc/passwd? How about /etc/shadow?
by Richard-TX
Thu Dec 26, 2013 11:10 pm
Forum: Automation, sensing and robotics
Topic: RaPI and relays?
Replies: 9
Views: 2307

Re: RaPI and relays?

Hi, But it's only the led on the relayboard that is affected, the relay doent click. I have this problem on 3, 4, 17, 27, 22, 11, 8, 25, 24, 23 and 18. On 2, 10, 9, 7 and 15 it works just fine. I'd really love som help here. Any ideas? Sounds like you are using a Sainsmart relay board. If so, take ...
by Richard-TX
Thu Dec 26, 2013 10:59 pm
Forum: General discussion
Topic: Help buying SD card
Replies: 8
Views: 1653

Re: Help buying SD card

I stopped buying cheap cards. I have been buying Toshiba Exceria cards. I am very happy. It is a little more money but they do last and the speed is very good.
by Richard-TX
Thu Dec 26, 2013 10:57 pm
Forum: Raspberry Pi OS
Topic: Update-rc won't remove links to user daemon
Replies: 2
Views: 1727

Re: Update-rc won't remove links to user daemon

Sometimes I just add "exit 0" to a script. Yes, I know it is not ideal, but it works.
by Richard-TX
Thu Dec 26, 2013 10:28 pm
Forum: General discussion
Topic: Adafruit down?
Replies: 8
Views: 1239

Re: Adafruit down?

My feeling is that either there is a problem with either servint.net or the connectivity between them and the next hop Whatever that is). Aren't the Internets supposed to route round that sort of failure. It's working via my very excellent Scottish ISP (http://ifb.net). Only if there is a redundant...
by Richard-TX
Thu Dec 26, 2013 10:23 pm
Forum: General discussion
Topic: Adafruit down?
Replies: 8
Views: 1239

Re: Adafruit down?

My feeling is that either there is a problem with either servint.net or the connectivity between them and the next hop (whatever that is).
by Richard-TX
Thu Dec 26, 2013 10:19 pm
Forum: General discussion
Topic: Adafruit down?
Replies: 8
Views: 1239

Re: Adafruit down?

I was trying to contact their nameserver but below is to their web server # traceroute 207.58.139.247 traceroute to 207.58.139.247 (207.58.139.247), 30 hops max, 60 byte packets 1 10.33.34.55 (10.33.34.55) 3.787 ms 3.761 ms 3.750 ms 2 G0-14-2-3.DLLSTX-LCR-21.verizon-gni.net (130.81.223.164) 8.726 ms...
by Richard-TX
Thu Dec 26, 2013 9:43 pm
Forum: General discussion
Topic: Adafruit down?
Replies: 8
Views: 1239

Adafruit down?

I cannot reach Adafruit. Anyone else have this problem? # traceroute 207.58.139.247 traceroute to 207.58.139.247 (207.58.139.247), 30 hops max, 60 byte packets 1 10.33.34.55 (10.33.34.55) 3.396 ms 3.364 ms 3.354 ms 2 G0-14-2-3.DLLSTX-LCR-21.verizon-gni.net (130.81.223.164) 8.334 ms 8.324 ms 8.315 ms...
by Richard-TX
Thu Dec 26, 2013 3:26 pm
Forum: Beginners
Topic: RPI.GPIO
Replies: 12
Views: 3617

Re: RPI.GPIO

I forgot to mention that I am using a RPI with two solid state relays in my shop. The SSRs control the drain valves on my compressor tanks. The SSRs are directly driven from GPIO pins. The Rpi is also a music server for the stereo receiver in the shop.
by Richard-TX
Thu Dec 26, 2013 3:20 pm
Forum: Beginners
Topic: RPI.GPIO
Replies: 12
Views: 3617

Re: RPI.GPIO

Plain GPIO has it's place but for anything beyond 2 or 3 i-o ports, I find it easier just to throw a MCP23017 at it and go. For a cost of about $1 the additional 16 ports gives a lot of bang for the buck. Then there is the level converter built into some i2c chips so interfacing with 5 volt ttl is e...
by Richard-TX
Thu Dec 26, 2013 3:03 pm
Forum: HATs and other add-ons
Topic: potmot not working
Replies: 6
Views: 1973

Re: potmot not working

Assuming are using a servo motor, are you certain that the motor is connected correctly and that is has power and ground? Many servos have 3 different colored leads. Red for +volts, black for ground and white for the PWM signal. If you still cannot get the motor to move, try hooking up a LED with re...
by Richard-TX
Thu Dec 26, 2013 2:49 pm
Forum: Beginners
Topic: Stuck: Need switch controled by GPIO
Replies: 30
Views: 4461

Re: Stuck: Need switch controled by GPIO

My advice is to reconfigure your array so that it can be powered from 5 volts from the RPI. You can use a power MOSFET to control the array. The following should help

http://learn.adafruit.com/rgb-led-strips/usage
by Richard-TX
Thu Dec 26, 2013 1:52 pm
Forum: Beginners
Topic: RPI.GPIO
Replies: 12
Views: 3617

Re: RPI.GPIO

Except for controlling one or two solid state relays, the GPIO is just a rite of passage to I2C. I resisted I2C for a long time and then discovered how easy it is to control peripherials with the built in commands i2cget and i2cset. I2C has the advantage of almost unlimited I-O capabilities. For mos...
by Richard-TX
Thu Dec 26, 2013 1:40 pm
Forum: HATs and other add-ons
Topic: potmot not working
Replies: 6
Views: 1973

Re: potmot not working

Are you using a Gertboard?
by Richard-TX
Thu Dec 26, 2013 1:36 pm
Forum: Media centres
Topic: Full control with Smartphone/tablet
Replies: 4
Views: 2585

Re: Full control with Smartphone/tablet

TightVNC?
by Richard-TX
Thu Dec 26, 2013 1:21 pm
Forum: Graphics programming
Topic: Advice on where to start
Replies: 5
Views: 2795

Re: Advice on where to start

The last time I messed with a kiosk was to bail out a Ivy League University that spent a few hundred thousand dollars on software from a company that went out of business 9 months after they bought the software. Most browsers at that time had a unadvertised yet supported kiosk mode. Against my recom...
by Richard-TX
Wed Dec 25, 2013 8:06 pm
Forum: General discussion
Topic: Raspbian help
Replies: 3
Views: 669

Re: Raspbian help

According to the latest release notes, a 4 gig card is the minimum size.

http://downloads.raspberrypi.org/raspbi ... _notes.txt

Go to advanced search