Go to advanced search

by VeryNoob
Mon Jun 10, 2013 10:00 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Phantom Button Presses
Replies: 10
Views: 3801

Re: Phantom Button Presses

Or should GPIO2(P1-3) & GPIO3(P1-5) have nothing but a switch between them and ground?
by VeryNoob
Mon Jun 10, 2013 9:45 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Phantom Button Presses
Replies: 10
Views: 3801

Re: Phantom Button Presses

See attachment for how I wired the switches. So you suggest that I should remove the 1k ohm resistor for GPIO2(P1-3) and GPIO3(P1-5)? Gordon, you said " Not that 22 is a Rev 1 pin, Rev 2's use 27 instead of 22 ". I thought there was a GPIO22(P1-15) & GPIO27(P1-13) on the rev2's. I've probably confus...
by VeryNoob
Mon Jun 10, 2013 1:26 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Phantom Button Presses
Replies: 10
Views: 3801

Re: Phantom Button Presses

These are the GPIO and what happens when I assign them in software GPIO2(P1-3) - Always pressed GPIO3(P1-5) - Always pressed GPIO17(P1-11) - Does Nothing GPIO22(P1-15)- Does Nothing GPIO23(P1-16)- Does Nothing GPIO24(P1-18) - Works GPIO25(P1-22) - Works GPIO27(P1-13) - Works GPIO18(P1-12) - reserved...
by VeryNoob
Mon Jun 10, 2013 1:03 pm
Forum: Graphics, sound and multimedia
Topic: LCD Scrolling text - internet radio
Replies: 54
Views: 27244

Re: LCD Scrolling text - internet radio

Hi, I've built much the same system, with similar code. Do you have a wiring diagram. Of my 8 buttons, only three work propperly. I can't see all your wiring, but the only thing I see that looks different it I have 1k ohm resistors to the +ve line in case I accidently set the input as an output. But...
by VeryNoob
Sat Jun 08, 2013 1:11 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Phantom Button Presses
Replies: 10
Views: 3801

Phantom Button Presses

I've hooked up and LCD and 8 buttons to my GPIO. I did it via a breadboard, but was having some issues, so I've now soldered it to a humble pi to get rid of any connection errors. A schematic is in a previous thread here with some of the GPIO swapped around to make it fit on the humble pi easier. I'...
by VeryNoob
Tue Apr 30, 2013 11:25 pm
Forum: Graphics, sound and multimedia
Topic: LCD Scrolling text - internet radio
Replies: 54
Views: 27244

Re: LCD Scrolling text - internet radio

Does the Adafruit CharLCD library cover this?

I'll be honest, I want you to figure this out, to save me doing it
:D
by VeryNoob
Fri Apr 26, 2013 1:04 pm
Forum: Graphics, sound and multimedia
Topic: LCD Scrolling text - internet radio
Replies: 54
Views: 27244

Re: LCD Scrolling text - internet radio

I'm at about the same stage in my build as you. I haven't tried this yet, but this link looks helpful.

http://www.root9.net/2012/10/raspberry- ... orial.html
by VeryNoob
Sun Mar 17, 2013 2:48 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: More than 8 GPIO
Replies: 17
Views: 3475

Re: More than 8 GPIO

The part which worries me are the data lines.... As per the other posts, I am going to tie the RW pin on the LCD to ground, so that even if I stuff up the coding the LCD can't send data. Is there a bettery way other than a level converter? As I don't plan on using this as an experimentation kit, I ...
by VeryNoob
Thu Mar 14, 2013 12:31 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: More than 8 GPIO
Replies: 17
Views: 3475

Re: More than 8 GPIO

Thank you everyone for your help. I really do appreciate it. As I am only very new at this, I'm going to stick with using heaps of GPIO for my first run. I like the idea of being able to wire up just the LCD first, get that going, test it out, then adding pieces bit by bit so I can easily see where ...
by VeryNoob
Wed Mar 13, 2013 11:51 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: More than 8 GPIO
Replies: 17
Views: 3475

New diagram

Here is the new diagram. I've added a 27k ohm resistor as per Pi Spy. Missed that one, and I've moved the backlight to GPIO2 (pin P1-3). How critical are the resistor values? Can the 560 ohm be replaced with a 470 or a 680? Is it better to go higher resistance or lower? Might save me a trip if I can...
by VeryNoob
Wed Mar 13, 2013 11:21 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: More than 8 GPIO
Replies: 17
Views: 3475

Re: More than 8 GPIO

joan wrote:By gpio 2 do you mean pin 2 (the 5V power rail)?
There are so many labels for everything, it gets confusing. I mean GPIO2, which is Pin P1-3, which has the alternative function of i2c.
by VeryNoob
Wed Mar 13, 2013 2:30 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: More than 8 GPIO
Replies: 17
Views: 3475

Re: More than 8 GPIO

Anyone? Does that look workable?
by VeryNoob
Tue Mar 12, 2013 3:05 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: More than 8 GPIO
Replies: 17
Views: 3475

Re: More than 8 GPIO

I've had a go a laying out my proposed schematics. Please see attached. I notice raspberry pi spy uses GPIO 15 for the back-light control, but this is UART by default. Should I move this to GPIO 2?
by VeryNoob
Tue Mar 12, 2013 1:14 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: More than 8 GPIO
Replies: 17
Views: 3475

Re: More than 8 GPIO

So that means I can use 15 pins as GPIO, inc the SPI and i2c as GPIO? (GPIO's 2, 3, 4, 7, 8, 9, 10, 11, 17, 23, 22, 23, 24, 25, 27) That would be perfect. 6 for the LCD, 1 for the back-light control, leaving 8 for buttons. I don't need more than that, so won't bother trying to get the UART as GPIO. ...
by VeryNoob
Mon Mar 11, 2013 11:24 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: More than 8 GPIO
Replies: 17
Views: 3475

More than 8 GPIO

I'm building a pi powered internet radio. I'm going to use raspberry pi spy and meistervision's guides as a basis. Meistervision only has 2 buttons. I would like a couple more. Can I get these straight from the GPIO? Spy uses the following for the display GPIO7 P1-26 GPIO8 P1-24 GPIO18 P1-12 GPIO23 ...
by VeryNoob
Tue Feb 26, 2013 4:34 am
Forum: General discussion
Topic: RaspBerry Pi(e) Model C (imaginations & wants)
Replies: 431
Views: 160670

Re: RaspBerry Pi(e) Model C (imaginations & wants)

I'd love to see a Raspberry Pi with LESS features. Start with a Model A, and swap the audio, composite, USB, and power in for header pins. Make it a super embedded system. Then people could produce boards you plug into that didn't have to have all the wires hanging out. For example you could connect...
by VeryNoob
Fri Feb 22, 2013 11:10 pm
Forum: Troubleshooting
Topic: DHCP Works - Static IP Doesn't
Replies: 14
Views: 3282

Re: DHCP Works - Static IP Doesn't

those last two that were posted give weird results. Wired works, wired+wirless works (SSH on both IP at the same time), but wireless on it's own doesn't.
by VeryNoob
Thu Feb 21, 2013 11:38 pm
Forum: Troubleshooting
Topic: DHCP Works - Static IP Doesn't
Replies: 14
Views: 3282

Re: DHCP Works - Static IP Doesn't

Hey Mobius, if you want to post the full contents of your interfaces file (minus passwords) to show how you do it, that would be appreciated.

It's taking me a while to get used to this linux thing.
by VeryNoob
Thu Feb 21, 2013 1:03 pm
Forum: Troubleshooting
Topic: DHCP Works - Static IP Doesn't
Replies: 14
Views: 3282

Re: DHCP Works - Static IP Doesn't

SirLagz wrote:You want WiFi to be a static IP address ?
IT WORKED!!!!
I also tried to get my own version that I posted with static for the wired and wireless, but no luck. Any tips would be nice, but not too fussed now wireless works.

Off to image my SD card so I never have to do that again. Thanks everyone!
by VeryNoob
Thu Feb 21, 2013 4:09 am
Forum: Troubleshooting
Topic: DHCP Works - Static IP Doesn't
Replies: 14
Views: 3282

Re: DHCP Works - Static IP Doesn't

Excellent to see the Anzac spirit alive and well. Thanks guys. I'll be trying this out when I get home later, but do you know if I can combine the two so I can make both interfaces static? Like below? And if I put my SSID and password into the interfaces file, so I need quotes around it? Also, do yo...
by VeryNoob
Thu Feb 21, 2013 12:39 am
Forum: Troubleshooting
Topic: DHCP Works - Static IP Doesn't
Replies: 14
Views: 3282

Re: DHCP Works - Static IP Doesn't

Actually can someone just post the full contents of their static IP files (without passwords). No scripts or anything. I just need a simple static IP to make SSH-ing easy. /etc/network/interfaces and /etc/wpa_supplicant/wpa_supplicant.conf All the guides I have found say add this, or take that. I th...
by VeryNoob
Wed Feb 20, 2013 9:59 pm
Forum: Troubleshooting
Topic: DHCP Works - Static IP Doesn't
Replies: 14
Views: 3282

Re: DHCP Works - Static IP Doesn't

Is there a way of doing it without scripts? Other people seem to manage, I think I've just made a mistake in my file somewhere.
by VeryNoob
Wed Feb 20, 2013 1:09 pm
Forum: Troubleshooting
Topic: DHCP Works - Static IP Doesn't
Replies: 14
Views: 3282

DHCP Works - Static IP Doesn't

Hi, I can get my wifi dongle to work with DHCP, but I want a static IP. my DHCP /etc/network/interfaces is auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp auto wlan0 allow-hotplug wlan0 iface wlan0 inet manual wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf iface default inet dhcp whe...
by VeryNoob
Fri Feb 15, 2013 12:19 am
Forum: Other projects
Topic: Looking for a guide for i2c, LCD and buttons
Replies: 3
Views: 2545

Looking for a guide for i2c, LCD and buttons

Hello, I am new to linux, and I need some help. I've been following some guides and doing some reading, and now I have my RPi working as a headless internet radio. Now I am working on getting an LCD screen going on it. Being too lazy to solder, I've bought a Bitwizard 20x4 LCD with buttons over i2c....

Go to advanced search