Go to advanced search

by Douglas6
Sun Dec 29, 2013 3:47 pm
Forum: General discussion
Topic: Battery / non mains power recommendations for the pi
Replies: 9
Views: 1866

Re: Battery / non mains power recommendations for the pi

heidiangove wrote:I am very new to the power consumption side of things and very much enjoying learning more. Can anyone recommend any good beginner reading?
This is a good site for all things battery: Battery University
by Douglas6
Sat Dec 28, 2013 11:36 pm
Forum: General discussion
Topic: Amazon Basic keyboard layout
Replies: 19
Views: 4568

Re: Amazon Basic keyboard layout

W. H. Heydt wrote: This is probably a good thing, as an Americanized version would undoubtedly be 3 times bigger, take 4 times the power input, and fall apart from planned obsolesence in a year so you'd have to buy another one.
And send your Minecraft scores to the NSA.
by Douglas6
Sat Dec 28, 2013 2:42 pm
Forum: General discussion
Topic: Amazon Basic keyboard layout
Replies: 19
Views: 4568

Re: Amazon Basic keyboard layout

DougieLawson wrote:Don't forget to set locale and TZ.
Yeah, good point. For those I use raspi-config. It's just the keyboard menus I find onerous. Why can't everybody just type American? (Kidding, KIDDING!)
by Douglas6
Sat Dec 28, 2013 4:10 am
Forum: Troubleshooting
Topic: First attempt at automating a program
Replies: 1
Views: 712

Re: First attempt at automating a program

I'm not the one to answer this, because I don't ever use a GUI (windowed) environment on my Pi, but I suspect that you do, and you expect that a GUI app like Filezilla is like any other process in Linux. But a GUI app needs a windowing environment to run in, and trying to start it before that GUI en...
by Douglas6
Fri Dec 27, 2013 10:54 pm
Forum: Advanced users
Topic: Powering Raspberry Pi on P1 pin 2
Replies: 20
Views: 5398

Re: Powering Raspberry Pi on P1 pin 2

mahjongg wrote:Connecting to GPIO pins needs less skills, and thought, so it is simply easier.
Isn't that the point of GPIO pins? :)
by Douglas6
Fri Dec 27, 2013 10:38 pm
Forum: Arch
Topic: Lirc not working
Replies: 4
Views: 4400

Re: Lirc not working

I hesitated to answer this, because I have no experience with Arch, and my Linux experience in general is trial-and-error (mostly error), but....when I installed LIRC on Raspian, I had to include the lirc modules by editing (sudo nano) /etc/modules, and adding lirc_dev lirc_rpi gpio_in_pin=18 Then r...
by Douglas6
Fri Dec 27, 2013 9:00 pm
Forum: Python
Topic: Sleep Timer
Replies: 3
Views: 2331

Re: Sleep Timer

Start a separate thread in your python code when the sleep timer is requested. For single-shot functions like this, I'd say the Python threading.Timer object is ideal.
by Douglas6
Fri Dec 27, 2013 6:39 pm
Forum: Camera board
Topic: camera vs noir vs web cam
Replies: 2
Views: 17394

Re: camera vs noir vs web cam

I'm sure the experts will chime in, but I think I can provide some basic starter information. 1. Yes, the USB webcam can be used on other systems whereas the Pi Cam cannot. However, it will take up an extra USB port, while the Pi cam has it's on port on the Pi. 2. Because the Pi cam has it's own por...
by Douglas6
Fri Dec 27, 2013 3:50 am
Forum: General discussion
Topic: Amazon Basic keyboard layout
Replies: 19
Views: 4568

Re: Amazon Basic keyboard layout

When setting up a new card, I typically go with (as Rick suggested)

Code: Select all

sudo nano /etc/default/keyboard
XKBLAYOUT="us"
It's just faster and easier for me than all those internationalization menus.
by Douglas6
Fri Dec 27, 2013 3:09 am
Forum: General discussion
Topic: Adobe flash player can it be done? raspian
Replies: 37
Views: 6517

Re: Adobe flash player can it be done? raspian

Congratulations on your Christmas Pi. It's a wonderful device, and does amazing things, but playing Flash videos is not one of them. Instead, take a look at the Magpi magazine to get some ideas on what you can do with it.
by Douglas6
Thu Dec 26, 2013 8:58 pm
Forum: General discussion
Topic: Purchase a UK made Raspberry Pi
Replies: 6
Views: 3335

Re: Purchase a UK made Raspberry Pi

As far as I know, any of the (reputable) distributors in the US sell UK-made Pi's. I get mine from Adafruit, and all 5 (and counting) were made in the UK.
by Douglas6
Wed Dec 25, 2013 10:41 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Abel Electronics IO 32
Replies: 1
Views: 693

Re: Abel Electronics IO 32

The definitive source will be the MCP23017 datasheet, but I might be able to give some background. Each MCP23017 on that board has two 'ports' of 8 GPIO pins. Each port also has an interrupt pin, INTA or B. This pin can be configured to go high when any of the port's GPIOs are triggered. And it will...
by Douglas6
Wed Dec 25, 2013 3:05 pm
Forum: Off topic discussion
Topic: Looking for a new soldering iron.
Replies: 17
Views: 5833

Re: Looking for a new soldering iron.

If you want to use it once and throw it away there is Radio Shack.. If you want it to last a long time, then that is something else. I bought a soldering iron at Radio Shack about 40 years ago. Used it for a number of Heathkits in my teens and twenties, and brought it out again about a year ago whe...
by Douglas6
Tue Dec 24, 2013 1:55 am
Forum: Beginners
Topic: E-bay usb/serial. Is this one safe ?
Replies: 14
Views: 3285

Re: E-bay usb/serial. Is this one safe ?

Thanks to all the great sources of information here, one day I hope the knowledge will sink in to my brain. No wonder people tell me I"m not grounded.
by Douglas6
Mon Dec 23, 2013 11:47 pm
Forum: Beginners
Topic: E-bay usb/serial. Is this one safe ?
Replies: 14
Views: 3285

Re: E-bay usb/serial. Is this one safe ?

I think it's safe to say: you lose. :)
by Douglas6
Mon Dec 23, 2013 9:28 pm
Forum: Beginners
Topic: Learning Networking
Replies: 4
Views: 1696

Re: Learning Networking

Living in a small apartment, I'd never have thought I'd need to know networking. Recently I realized that, with a desktop PC, a laptop, a tablet, a phone, 2 wifi BD players, and 3 or 4 Pis all connected at once, I can't help but be a network administrator.
by Douglas6
Mon Dec 23, 2013 5:08 pm
Forum: Beginners
Topic: Leds and resistors
Replies: 21
Views: 3270

Re: Leds and resistors

Ok, I think my brain is starting to thaw. It's BECAUSE they are multiplexed, no two LED's are in series at any one time. Current is still an issue (5 LEDs could be on at once), but since each has it's own path to ground (in parallel), voltage drop is not an issue?

Yes? Finally?
by Douglas6
Mon Dec 23, 2013 4:52 pm
Forum: Beginners
Topic: Leds and resistors
Replies: 21
Views: 3270

Re: Leds and resistors

I don't have this circuit here to check what are traces, but I'm quite sure that "ordinary" matrix is not used. Might be that charlieplexing is used, maybe with some additional smart approach... I'm not so sure. Gert himself says in the comments: "It is multiplexed, one row at a time. Each LED uses...
by Douglas6
Mon Dec 23, 2013 4:15 pm
Forum: Beginners
Topic: Leds and resistors
Replies: 21
Views: 3270

Re: Leds and resistors

I'm confused. What about the Gertenlights ? He's got five LEDs on one GPIO. He does mention they are low current, but do those LEDS drop that much less voltage? [EDIT: And is that a general rule with LEDs? Current draw is proportional to forward voltage?] [EDIT-EDIT: Wait, LEDs don't "draw current",...
by Douglas6
Mon Dec 23, 2013 12:42 pm
Forum: Networking and servers
Topic: Bluetooth Access Point
Replies: 56
Views: 42846

Re: Bluetooth Access Point

was just curious/mad about Bluetooth and Pis and trying things out in hope to make a practical project someday, maybe for agricultural or anything useful/interesting... Yup, I agree, the Pi and Bluetooth seem like a good match. Next, I'm thinking a mash-up to make a wireless AVR programmer might be...
by Douglas6
Mon Dec 23, 2013 3:37 am
Forum: Networking and servers
Topic: Bluetooth Access Point
Replies: 56
Views: 42846

Re: Bluetooth Access Point

Kasidit, That's a ton of good information, thank you. I'm not seeing the dmesg error you mentioned, but it looks suspiciously like what I'm seeing in /var/log/messages (NETDEV WATCHDOG: bnep0 (): transmit queue 0 timed out). The only other BT dongle I have is an IOGear 2.1 based on the Broadcom chip...
by Douglas6
Mon Dec 23, 2013 2:28 am
Forum: Networking and servers
Topic: Network Crashes when Bridging Bluetooth to Ethernet
Replies: 0
Views: 1058

Network Crashes when Bridging Bluetooth to Ethernet

I've been trying to share a Pi's ethernet connection with my Nexus 4 phone over bluetooth. I've set up a bridge, Bluez will add the phone's bnep0 device to it, and it seems to work fine...for simple web browsing. As soon as I try something more data intensive like a speed test, or a YouTube video, t...
by Douglas6
Mon Dec 23, 2013 1:39 am
Forum: Networking and servers
Topic: Bluetooth Access Point
Replies: 56
Views: 42846

Re: Bluetooth Access Point

After further testing, using a wired connection, the problems with the network crashing still remain. It seems to work alright for browsing web pages, like this forum, but as soon as I try anything intensive, like a speed test, or a YouTube video, the connection drops. I don't have the networking ch...
by Douglas6
Sat Dec 21, 2013 7:31 pm
Forum: Python
Topic: Python Christmas Lights
Replies: 11
Views: 3427

Re: Python Christmas Lights

Untested, but this is what I had in mind:

Code: Select all

def alert():
    global sequence
    sequence += 1
    if (sequence > 3):
        sequence = 1

GPIO.add_event_detect(16, GPIO.RISING, callback=alert, bouncetime=150)
by Douglas6
Sat Dec 21, 2013 6:55 pm
Forum: Python
Topic: Python Christmas Lights
Replies: 11
Views: 3427

Re: Python Christmas Lights

You didn't hear it from me, but I'd simply make sequence a global variable. And then read up on why global variables are evil, while you enjoy your festive holiday light display.

Go to advanced search