Go to advanced search

by Douglas6
Tue Oct 01, 2013 3:30 am
Forum: Advanced users
Topic: GPIO - Circuit Monitoring
Replies: 13
Views: 6160

Re: GPIO - Circuit Monitoring

Looking forward to following along. As Gordon noted, the physical wiring alone for this project will be epic. :)
As to the programming, I'll try and help if called upon.
by Douglas6
Tue Oct 01, 2013 12:57 am
Forum: Troubleshooting
Topic: Using i2c
Replies: 9
Views: 2083

Re: Using i2c

As far as I can tell, you're ok: set all the MCP23017 port B pins as output using the IODIRB register (0x01), and then write to the OLATB register. Double and triple check your wiring against the pin outs in the datasheets. As far as I know, the MCP23017 powers up with the same config for both A and...
by Douglas6
Mon Sep 30, 2013 10:43 pm
Forum: General discussion
Topic: COBOL Forum
Replies: 24
Views: 3795

Re: COBOL Forum

Heater, glad to meetchya. COBOL paid my bills (and then some) for many years back when IBM made and sold computers. From Wall Street to LaSalle street, COBOL owned the financial systems of the Eighties. But I think to do a proper COBOL forum, we should be magnanimous and allow RPG III programmers in...
by Douglas6
Mon Sep 30, 2013 8:47 pm
Forum: General discussion
Topic: Language threads?
Replies: 24
Views: 3059

Re: Language threads?

Seems that Java is so repulsive that more people would rather program in assembler, bare metal! Or at least "other".
Or perhaps Java is so easy and intuitive, there are just no questions and no help needed :)
by Douglas6
Mon Sep 30, 2013 1:19 pm
Forum: Advanced users
Topic: GPIO - Circuit Monitoring
Replies: 13
Views: 6160

Re: GPIO - Circuit Monitoring

Shouldn't be a problem. Pi4j lets you create a device for each i2c address. It wraps wiringpi after all, and adds a layer of Java goodness on top.
by Douglas6
Mon Sep 30, 2013 9:28 am
Forum: Troubleshooting
Topic: Using i2c
Replies: 9
Views: 2083

Re: Using i2c

I know next to nothing about stepper motors, but I think Joan has a good point. If you're driving 4(?) stepper motors from the Pi's 5v0 rail, you may run into power problems. And the more info you give, the more folks here can help. A simple circuit diagram or description, part numbers, and/or code ...
by Douglas6
Mon Sep 30, 2013 12:59 am
Forum: Troubleshooting
Topic: Using i2c
Replies: 9
Views: 2083

Re: Using i2c

Take a look at table 1-4 on page 9 of the datasheet. Address 0x14 is assigned to OLATA; that's 'output latch A' and that's the one you're writing to for the the port 'A' pins. OLATB is what you want for the port 'B' pins, and that's at address 0x15. A little later in the datasheet (pg. 23) it explai...
by Douglas6
Thu Sep 19, 2013 5:22 pm
Forum: Beginners
Topic: Bedroom OS - input asked
Replies: 5
Views: 1704

Re: Bedroom OS - input asked

I added an IR remote receiver to my bedside Pi, for turning on/off the radio, adjusting volume, changing stations and what-not. It's cheap and easy (no soldering, no programming required). I posted on it here: http://www.dkographicdetails.com/myPi/?p=20 And if you want to use your Android phone/tabl...
by Douglas6
Thu Sep 19, 2013 2:43 am
Forum: Java
Topic: PI4J + LCD
Replies: 19
Views: 11183

Re: PI4J + LCD

Here's a simple port of the Adafruit_CharLCDPlate.py module for Java and Pi4J. Provided as-is, without warranty, etc., etc. https://dl.dropboxusercontent.com/u/40726236/AdafruitLcdPlate.zip Usage is pretty straightforward; of course you'll need to include Robert Savage's excellent Pi4J libraries. im...
by Douglas6
Wed Sep 18, 2013 8:16 pm
Forum: Java
Topic: PI4J + LCD
Replies: 19
Views: 11183

Re: PI4J + LCD

Hmmmm, it appears you are correct. I apologize, when Denis linked to that in this thread, I assumed it was compatible with the Adafruit LCD Pi Plate. Tonight I'll find a place to park my port of the Adafruit Python module, and post a link here, with the caveat that it is pre-release alpha and not-re...
by Douglas6
Wed Sep 18, 2013 6:39 pm
Forum: Java
Topic: PI4J + LCD
Replies: 19
Views: 11183

Re: PI4J + LCD

I've never used that code, so I don't have any examples. Looks like it should be as easy as: // UNTESTED LiquidCrystal_I2C lcd = new LiquidCrystal_I2C(1, 0x20, 16, 2); lcd.init(); lcd.backlight(true); lcd.print("Hello World!"); lcd.shutdown(); This assumes I2C bus number 1 (0 for 256MB pi's, I belie...
by Douglas6
Wed Sep 18, 2013 4:48 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Serial interface - black magic?
Replies: 34
Views: 7518

Re: Serial interface - black magic?

mistofeles wrote:@ FTrevorGowen et al
Echoes of the past ... the PDP-8
I used to sneak into the local University (I was 14) with pockets full of yellow roles of paper tape. It was slow, but much more convenient than stacks of 80-column cards when dropped.

Sorry...back to your regularly scheduled thread.
by Douglas6
Tue Sep 17, 2013 7:32 pm
Forum: Java
Topic: PI4J + LCD
Replies: 19
Views: 11183

Re: PI4J + LCD

I'm slowly working on a high level java library to handle the Adafruit LCD Pi Plate in a way vaguely similar to JavaFX or Swing; scenes, menus, scrolling text fields, action handlers, etc. But it turns out I'm much dumber than I thought, and it's taking awhile, so don't hold your breath. I've got th...
by Douglas6
Thu Sep 12, 2013 5:24 pm
Forum: Media centres
Topic: [Solved] Gmediarenderer and USB audio
Replies: 3
Views: 3686

Re: [Solved] Gmediarenderer and USB audio

I'll have to check when I get home on what I ended up with, but someone will probably chime in here before that, tho we'll need more information: 1. Are you using a USB audio device or the Pi's audio jack? 2. Can you successfully use aplay to get sound output? for example: aplay /usr/share/sounds/al...
by Douglas6
Thu Sep 12, 2013 3:29 am
Forum: General discussion
Topic: Your daily head/desk
Replies: 47
Views: 5676

Limited edition: Cousin It Pi case

This is a limited edition raspberry Pi case and is a beta version, future editions will include fingernail clippings for additional structural integrity.

Parts list:
A recent haircut
Lots of hair gel, I used L.A. Looks Absolute Styling Sport

[image removed]
by Douglas6
Wed Sep 11, 2013 11:39 pm
Forum: General discussion
Topic: Your daily head/desk
Replies: 47
Views: 5676

Re: Your daily head/desk

"I told a friend that I have a Pi and his response was, 'Why didn't you just buy a cheap Android tablet?'" Well, the Foundation was predicated in part on combating just this kind of attitude. It should be encouraging to be reminded you're not tilting at windmills; it's serious problem you're address...
by Douglas6
Tue Sep 10, 2013 6:52 pm
Forum: Beginners
Topic: Complete noob
Replies: 5
Views: 887

Re: Complete noob

The good folks at Adafruit also have great tutorials for beginners looking to do advanced stuff (like me):
http://learn.adafruit.com/category/raspberry-pi
by Douglas6
Tue Sep 10, 2013 6:21 pm
Forum: General discussion
Topic: Cache music from pi
Replies: 2
Views: 806

Re: Cache music from pi

BubbleUPnP for Android caches it's music I think, and the cached songs can be made available to the Android music library with a settings option, if I understand correctly. I'm not sure how it manages the cache. It will also let you download to the phone, but then you'd have to delete them manually.
by Douglas6
Mon Sep 09, 2013 2:09 pm
Forum: Automation, sensing and robotics
Topic: Alarm clock
Replies: 5
Views: 6421

Re: Alarm clock

I too use a Pi internet radio as an alarm clock, using cron, as has been suggested. I can also turn it off/on/adjust volume/change stations/etc. with a cheap, simple IR remote solution described on my blog here: http://www.dkographicdetails.com/myPi/?p=20
by Douglas6
Thu Sep 05, 2013 10:49 pm
Forum: Other projects
Topic: Case incorporating AdaFruit 16x2 LCD Plate
Replies: 39
Views: 18432

Re: Case incorporating AdaFruit 16x2 LCD Plate

Following with interest. It would be the perfect case for the upnp control point I'm working on.
Have you considered a version with holes for panel mount switches, or better a panel mount 5-way nav switch (if I could find one for less than the cost of the Pi itself)?
by Douglas6
Thu Sep 05, 2013 2:31 pm
Forum: Advanced users
Topic: GPIO - Circuit Monitoring
Replies: 13
Views: 6160

Re: GPIO - Circuit Monitoring

For a few bucks each, you can get GPIO expander chips, like this MCP23017 from Adafruit: http://www.adafruit.com/products/732 "You can set the i2c address by tying the ADDR0-2 pins to power or ground, for up to 8 unique addresses. That means 8 chips can share a single i2c bus - that's 128 I/O pins! ...
by Douglas6
Fri Aug 23, 2013 10:52 pm
Forum: Beginners
Topic: I'm a noob in electronic, should I buy Rpi?
Replies: 11
Views: 1447

Re: I'm a noob in electronic, should I buy Rpi?

Start by lighting up an LED. There will be no turning back. Check out the Adafruit website Pi tutorials; they assume no prior electronics experience. Pretty soon you'll have more project ideas than time.
by Douglas6
Tue Aug 20, 2013 11:17 pm
Forum: Other projects
Topic: How would I, permenant audio link?
Replies: 3
Views: 821

Re: How would I, permenant audio link?

I would look into Pulseaudio. It should be straightforward to loop the source (microphone) to a sink on another PA server. But as you've discovered, nothing is straightforward when it comes to audio in Linux. Someone should come up with a turn-key baby-monitor solution (with optional video) for Rasp...
by Douglas6
Thu Aug 08, 2013 5:23 am
Forum: Media centres
Topic: [Solved] Gmediarenderer and USB audio
Replies: 3
Views: 3686

[Solved] Gmediarenderer and USB audio

I give up. After several hours, I'm asking for help. I want to use Gmediarenderer with my new Logitech USB DAC, without using PulseAudio, if possible. I'm using BubbleUpnp on an android tablet as my control point, but that's probably not relevant. So far: 1. Gmediarenderer is installed and working, ...
by Douglas6
Mon Aug 05, 2013 12:51 pm
Forum: General discussion
Topic: Apt-get upgrade trashes the OS
Replies: 6
Views: 903

Re: Apt-get upgrade trashes the OS

Filesystem 1M-blocks Used Available Use% Mounted on rootfs 7402 1813 5271 26% / /dev/root 7402 1813 5271 26% / devtmpfs 212 0 212 0% /dev tmpfs 44 1 44 1% /run tmpfs 5 0 5 0% /run/lock tmpfs 88 1 88 1% /run/shm /dev/mmcblk0p1 56 19 38 34% /boot Looks ok, right? There were no errors indicated during ...

Go to advanced search