Go to advanced search

by Richard-TX
Sun Dec 29, 2013 5:11 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: GPIO 2& 3 -> I2C, 28 & 29 -> relay control
Replies: 6
Views: 1450

Re: GPIO 2& 3 -> I2C, 28 & 29 -> relay control

You can but you have to reassign the pins.

This chart should help.

http://elinux.org/RPi_BCM2835_GPIOs
by Richard-TX
Sun Dec 29, 2013 9:48 am
Forum: Automation, sensing and robotics
Topic: multiple GPIO triggering issue
Replies: 26
Views: 4527

Re: multiple GPIO triggering issue

I happen to like this 3 part tutorial. http://raspi.tv/2013/how-to-use-interrupts-with-python-on-the-raspberry-pi-and-rpi-gpio http://raspi.tv/2013/how-to-use-interrupts-with-python-on-the-raspberry-pi-and-rpi-gpio-part-2 http://raspi.tv/2013/how-to-use-interrupts-with-python-on-the-raspberry-pi-and...
by Richard-TX
Sun Dec 29, 2013 9:42 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: MCP23017 Pins @ boot (Initial State)
Replies: 30
Views: 5347

Re: MCP23017 Pins @ boot (Initial State)

All the really needs to happen is to jumper out the leds. Then the circuit will work.
by Richard-TX
Sun Dec 29, 2013 4:41 am
Forum: Advanced users
Topic: 25W Power supply
Replies: 17
Views: 7848

Re: 25W Power supply

Very true,but not the point, the point is that PSU's designed to deliver 25A often do not deliver 5V when the current is less than 2% of that 25A, the regulation may fail when the load is too low, and it may output more than the allowable 5.25V. Not in my experience. I have had 5 volt 500 amp (2500...
by Richard-TX
Sun Dec 29, 2013 4:23 am
Forum: Beginners
Topic: Using VIM Text Editor
Replies: 9
Views: 7095

Re: Using VIM Text Editor

bubbl wrote: and that's a great mug there! where could I get one?
http://www.amazon.com/vi-Reference-Mug- ... B009YNIBTG
by Richard-TX
Sat Dec 28, 2013 4:09 pm
Forum: Beginners
Topic: Get started with Pi without any external hardware?
Replies: 26
Views: 4129

Re: Get started with Pi without any external hardware?

I run many headless Rpis. The way I do it is to use Raspian. Once Raspian has initially booted, then I discover it's IP address using nmap. Then I ssh into it and it tells me to run raspi-config. The rest is academic.
by Richard-TX
Sat Dec 28, 2013 3:06 pm
Forum: Troubleshooting
Topic: raspistill: command not found
Replies: 4
Views: 3169

Re: raspistill: command not found

Did you go through the raspi-config menu and select the camera add-on support option?

Image
by Richard-TX
Sat Dec 28, 2013 3:00 pm
Forum: Beginners
Topic: RPI reboots when powering motor with relay
Replies: 10
Views: 2881

Re: RPI reboots when powering motor with relay

It is likely that the regulation of the power supply isn't 100%. Try powering your pi from another source. I'll bet your issue goes away.
by Richard-TX
Sat Dec 28, 2013 2:38 pm
Forum: Advanced users
Topic: 25W Power supply
Replies: 17
Views: 7848

Re: 25W Power supply

You could try, after you measure if the unloaded output voltage is below 5.25V! These PSU's are not designed to deliver so little current. Also If they deliver too much voltage (>6V) and you connect the PSU through the GPIO you stand a good chance to burn out the PI's overvoltage protector device. ...
by Richard-TX
Sat Dec 28, 2013 2:31 pm
Forum: Beginners
Topic: Using VIM Text Editor
Replies: 9
Views: 7095

Re: Using VIM Text Editor

For those that are wondering why they should learn vi and it's brethren, it really boils down to this: Not every *nix system has nano, etc. However every *nix system has vi. So if you ever decide to venture into a career in IT, it is best to learn vi now. My daughter made personalized Valentines car...
by Richard-TX
Sat Dec 28, 2013 1:09 pm
Forum: Automation, sensing and robotics
Topic: RaPI and relays?
Replies: 9
Views: 2313

Re: RaPI and relays?

I don't understand why they would not use the other contacts on the relay either. What a mess.
by Richard-TX
Sat Dec 28, 2013 12:44 pm
Forum: Automation, sensing and robotics
Topic: RaPI and relays?
Replies: 9
Views: 2313

Re: RaPI and relays?

After studying the schematics I see the problem. The opto input is tied to VCC (+5 volts) . The opto input supply should be separate and selectable for use with the Rpi. Actually to do it right,the attached diagram is how it should be. Even it the opto input were tied to +3 volts, the logic is rever...
by Richard-TX
Sat Dec 28, 2013 11:55 am
Forum: Troubleshooting
Topic: Prevent SD-Card Corruption
Replies: 242
Views: 257306

Re: Prevent SD-Card Corruption

Run the command sync before removing power. That should help.
by Richard-TX
Sat Dec 28, 2013 11:33 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: MCP23017 Pins @ boot (Initial State)
Replies: 30
Views: 5347

Re: MCP23017 Pins @ boot (Initial State)

There are no coding headaches one way or the other. There are no special considerations either. In my experience the chip isn't going to self destruct because of the lack of pull-ups or pull downs. In olden days, it was a consideration with 5 volt TTL logic chips but in my experience not with this c...
by Richard-TX
Sat Dec 28, 2013 10:34 am
Forum: Networking and servers
Topic: web server rpi
Replies: 13
Views: 3353

Re: web server rpi

It sounds like you have a firewall/router and a NAT to access the internet from your internal 10.n.n.n network. What you need to do is to advertise the external IP address of your firewall via DNS and then reverse proxy to your raspberry pi using squid.
by Richard-TX
Fri Dec 27, 2013 11:25 pm
Forum: General discussion
Topic: The Raspberry Pi Backup Thread
Replies: 82
Views: 92967

Re: The Raspberry Pi Backup Thread

I happen to like rsync. It copies the files so that I can restore individual files as needed.

On the plus side, incrementals only updates those files that have changed.

Creating a tar archive would work too but tar ignores special files like devices.

The program cpio does save device files.
by Richard-TX
Fri Dec 27, 2013 11:19 pm
Forum: Off topic discussion
Topic: connectors for screens?
Replies: 4
Views: 1386

Re: connectors for screens?

Image
by Richard-TX
Fri Dec 27, 2013 11:09 pm
Forum: Troubleshooting
Topic: Disk full after fresh installation - nothing is working
Replies: 11
Views: 2390

Re: Disk full after fresh installation - nothing is working

DougieLawson wrote:What operating system did you choose from the NOOBS installation menu?
On a 4GB card you can only fit one OS on the card.
Agreed! A 4 gig card is the minimum size for raspian 12-20-2013 .
by Richard-TX
Fri Dec 27, 2013 11:07 pm
Forum: Troubleshooting
Topic: Starting up (solved)
Replies: 8
Views: 1144

Re: Starting up

After highlighting an option, the space bar will select or deselect it. This is helpful when more than one option is desired.
by Richard-TX
Fri Dec 27, 2013 11:04 pm
Forum: Beginners
Topic: I screwed up my networking and can't figure out how I did it
Replies: 5
Views: 1338

Re: I screwed up my networking and can't figure out how I di

I recommend a ifconfig -a to see all of the interfaces.

Then a netstat -rn to see the routing table.
by Richard-TX
Fri Dec 27, 2013 8:51 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: MCP23017 Pins @ boot (Initial State)
Replies: 30
Views: 5347

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 7:57 pm
Forum: Beginners
Topic: Stuck: Need switch controled by GPIO
Replies: 30
Views: 4467

Re: Stuck: Need switch controled by GPIO

Peak current is not the same as continuous current.

Try a transistor like this:

Image
http://www.adafruit.com/products/355

Go to advanced search