Go to advanced search

by texy
Fri Jul 27, 2012 6:00 pm
Forum: Python
Topic: WiringPython - WiringPi for Python
Replies: 205
Views: 72610

Re: WiringPython - WiringPi for Python

... Change that now but still cant get it to work... #!/usr/bin/env python import wiringpi wiringpi.wiringPiSetupGpio def main(): print "test" ... I haven't tried Inputs yet, but those numbers work for my LCD, obviously as Outputs. Update : confirmed it works ;) I have a wire coming ...
by texy
Tue Jul 24, 2012 3:09 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: GPIO, PWM, Python drivers
Replies: 7
Views: 5840

Re: GPIO, PWM, Python drivers

Many thanks Gordon. I just wanted confirmation that just the one channel will be available to drive an LCD's LED backlight.
Even if the code is not actually available now (in python), I,m sure it will be before long ;)

Cheers,

Texy
by paaland
Tue Jul 24, 2012 9:29 am
Forum: Python
Topic: Python driving 44780 LCD
Replies: 101
Views: 49065

Re: Python driving 44870 LCD

There's an even better drawing that someone else made here:
http://pbambridge.brunelweb.net/blog/wp ... CD2_bb.png

Read the full post at http://pbambridge.brunelweb.net/blog/?p=64
by kghunt
Tue Jul 24, 2012 8:01 am
Forum: Python
Topic: Python driving 44780 LCD
Replies: 101
Views: 49065

Re: Python driving 44870 LCD

Awesome although on mine I have trim pots on VD (pin 3) and K (pin 16) so I can vary the contrast and brightness.

This should go on the elinux RPi wiki.
by paaland
Tue Jul 24, 2012 7:44 am
Forum: Python
Topic: Python driving 44780 LCD
Replies: 101
Views: 49065

Re: Python driving 44870 LCD

For anyone else interested in this project I've made this schematic overview of the connections involved.

Image

http://i303.photobucket.com/albums/nn12 ... piGPIO.png
by PikeyMk2
Mon Jul 23, 2012 10:29 pm
Forum: Automation, sensing and robotics
Topic: Mechanical Camera Intervalometer
Replies: 0
Views: 1482

Mechanical Camera Intervalometer

... the Raspberry Pi which some form of simple script running, most likely Python. Then I was going to write some form of a timer program to operate ... to get it done If I can get it this far, I'd like to then attach an LCD/LED display with an input button so the time setting can be adjusted ...
by paaland
Mon Jul 23, 2012 8:57 pm
Forum: Python
Topic: Python driving 44780 LCD
Replies: 101
Views: 49065

Re: Python driving 44870 LCD

I paid $9 (usd) including shipping from the US to Norway. Can't complain since it's much cheaper than purchasing locally.
by kghunt
Mon Jul 23, 2012 8:40 pm
Forum: Python
Topic: Python driving 44780 LCD
Replies: 101
Views: 49065

Re: Python driving 44870 LCD

Awesome. Out of interest how much did you pay for your LCD mine was £1.66 I have another that I bought with a USB controller attached (£16) and also a 4 line that I harvested from an embedded device but that one doesn't have a back light. The price ...
by paaland
Mon Jul 23, 2012 8:34 pm
Forum: Python
Topic: Python driving 44780 LCD
Replies: 101
Views: 49065

Re: Python driving 44870 LCD

... and the 2K resistor, but nothing helped. Then I decided to start from scratch with the new Raspbian image. Turned out the problem was the RPi.GPIO python library I was using. Version 0.3.0a had a major bug where the high and low's were inverted on outputs. Upgraded to 0.3.1a and all is now working. ...
by texy
Mon Jul 23, 2012 7:25 pm
Forum: Python
Topic: Python driving 44780 LCD
Replies: 101
Views: 49065

Re: Python driving 44870 LCD

kghunt wrote:
texy wrote:Are DB0 - DB3 and the R/W line also tied to 0volts?
Texy

I'm the winner :-)
....by 1 seconds, lol :lol:

Texy
by paaland
Mon Jul 23, 2012 7:19 pm
Forum: Python
Topic: Python driving 44780 LCD
Replies: 101
Views: 49065

Re: Python driving 44870 LCD

... is unconnected, I assumed a default value of something visible. I'll try a 2k resistor between pin 2 and Vcc. The statement "I've also connected LCD pins 1 and 16 to 0V (GRND) and 1 and 15 to V5+" was ofcause a typo. It's 1 and 16 to 0V and 2 and 15 to Vcc. Thank you both for your assistance.
by kghunt
Mon Jul 23, 2012 7:09 pm
Forum: Python
Topic: Python driving 44780 LCD
Replies: 101
Views: 49065

Re: Python driving 44870 LCD

texy wrote:Are DB0 - DB3 and the R/W line also tied to 0volts?
Texy

I'm the winner :-)
by texy
Mon Jul 23, 2012 7:07 pm
Forum: Python
Topic: Python driving 44780 LCD
Replies: 101
Views: 49065

Re: Python driving 44870 LCD

Are DB0 - DB3 and the R/W line also tied to 0volts?
Texy
by kghunt
Mon Jul 23, 2012 7:06 pm
Forum: Python
Topic: Python driving 44780 LCD
Replies: 101
Views: 49065

Re: Python driving 44870 LCD

I've also connected LCD pins 1 and 16 to 0V (GRND) and 1 and 15 to V5+. Any help is appreciated. Have you connected rw to ground? Also you say above you have connected pin 1 to 5v and ground? On mine I connected db0 - 3 to gnd also. ...
by paaland
Mon Jul 23, 2012 6:52 pm
Forum: Python
Topic: Python driving 44780 LCD
Replies: 101
Views: 49065

Re: Python driving 44870 LCD

I need some help here. I bought a 44870 LCD off Ebay. Specs are here: http://www.fcb-electronics.com/pdf/FCB162-LCD.pdf I'm trying to use the h44870.py provided on this forum. I've got the LCD connected as follows: LCD E (6) | RS (4) | DB4 (11) ...
by guidol
Mon Jul 23, 2012 2:34 pm
Forum: General discussion
Topic: A 5$ 1.5" LCD screen for all your projects !
Replies: 53
Views: 39621

Re: A 5$ 1.5

Quote from magnitux on August 22, 2011, 16:58 this lcd 2.4 screen is compatible with lcd4linux on debian(seagate dockstart) http://www.pearl.de/a-HPM1184-5618.shtml ... did use: apt-get install libtool automake1.10 autoconf zlib1g-dev libssl-dev python-dev libc6 libusb-dev libibus-1.0-dev subversion ...
by solidpace
Sat Jul 21, 2012 7:47 pm
Forum: Other projects
Topic: (Yet Another) Internet Radio
Replies: 3
Views: 3874

(Yet Another) Internet Radio

... start a (still to be chosen) streaming audio player, the necessary Python to adjust the volume or change the channel being listened to given ... lose sleep at the moment. I'd like to use something like a 2x16 or 4x20 LCD for displaying what's currently playing, a click-/scrollwheel to adjust ...
by kghunt
Sat Jul 21, 2012 7:03 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Raspberry Pi plus Hitachi HD44780-compatible LCD using GPIO
Replies: 28
Views: 10182

Re: Raspberry Pi plus Hitachi HD44780-compatible LCD using G

A few of us have these displays running usin Python too.

http://www.raspberrypi.org/phpBB3/viewt ... 49#p128449

Someone even wrote a class for it.
by ax206geek
Sat Jul 21, 2012 12:48 am
Forum: Other projects
Topic: Photo keyring as screen
Replies: 144
Views: 42298

Re: Photo keyring as screen

... dpf-ax sudo apt-get install libtool automake autoconf libusb-dev python-dev cd dpf-ax/trunk make #ignore sdcc errors as compiling firmware ... ./build-dpf-lcd4linux.sh Testing cd lcd4linux ./lcd4linux -l LCD4Linux 0.11.0-SVN-1092 Copyright (C) 2005, 2006, 2007, 2008, 2009 The ...
by kghunt
Fri Jul 20, 2012 10:19 am
Forum: Python
Topic: Python driving 44780 LCD
Replies: 101
Views: 49065

Re: Python driving 44870 LCD

... Things are much better now we can address 2 lines and/or 4 lines on an LCD. I`ve started working on some LCD screens (programs) now. The first one ... and the LCD view changes content too, without making up a fresh Python program for the new contents. Steve this is what I went for. It pads ...
by kghunt
Fri Jul 20, 2012 8:18 am
Forum: Python
Topic: Python driving 44780 LCD
Replies: 101
Views: 49065

Re: Python driving 44870 LCD

I am way ahead of you. My app gets the idle display details from an ini file and outputs it to the LCD. If my keypad is pressed the program changes and the prompts change to match then when I present a Mifare card to my reader it calculates the UID of the card does a look ...
by Reider
Fri Jul 20, 2012 8:12 am
Forum: Python
Topic: Python driving 44780 LCD
Replies: 101
Views: 49065

Re: Python driving 44870 LCD

... Things are much better now we can address 2 lines and/or 4 lines on an LCD. I`ve started working on some LCD screens (programs) now. The first one ... and the LCD view changes content too, without making up a fresh Python program for the new contents. Steve
by Reider
Thu Jul 19, 2012 9:56 pm
Forum: Beginners
Topic: INSTALLING RPI.GPIO PACKAGE
Replies: 7
Views: 7461

Re: INSTALLING RPI.GPIO PACKAGE

All I did in a clean install of Raspbian, from the downloads page, was this;

http://www.raspberrypi-spy.co.uk/2012/0 ... -raspbian/

Worked a treat and my Python LCD programs, which rely on RPi.GPIO, started working again after my move from Wheezy to Raspbian.

Steve
by kghunt
Thu Jul 19, 2012 8:50 am
Forum: Python
Topic: Python driving 44780 LCD
Replies: 101
Views: 49065

Re: Python driving 44870 LCD

I did consider adding lines 3 and 4 but my main use is 2 line although I do have a couple of 4 lines kicking around maybe add it in for good measure.
by texy
Thu Jul 19, 2012 5:56 am
Forum: Python
Topic: Python driving 44780 LCD
Replies: 101
Views: 49065

Re: Python driving 44870 LCD

Good stuff. What about lines 3 and 4 ;-)
Texy

Go to advanced search