Go to advanced search

by lantzvillian
Mon Jan 19, 2015 8:07 pm
Forum: C/C++
Topic: Button Detection Using WiringPi in C
Replies: 2
Views: 1552

Button Detection Using WiringPi in C

Hi all, I am having some difficulties detecting button presses, sometimes they are detected if held long enough, and other times not at all. I am using regular buttons, but not those on the ADAfruit LCD backpack. Maybe you all have some inputs: #include <stdio.h> #include <stdlib.h> #include <unistd...
by lantzvillian
Wed Nov 12, 2014 2:53 pm
Forum: Troubleshooting
Topic: No Serial Output Via Pins 14/15
Replies: 26
Views: 3626

Re: No Serial Output Via Pins 14/15

Hi everyone, problem solved - I went and bought an ftdi RPI specific cable. No modifications needed !
by lantzvillian
Sun Nov 09, 2014 5:36 pm
Forum: Troubleshooting
Topic: No Serial Output Via Pins 14/15
Replies: 26
Views: 3626

Re: No Serial Output Via Pins 14/15

Excellent thanks Joan; it looks like your util is showing: pi@atom ~/dev/PIGPIO $ pigs modeg 14 4 pi@atom ~/dev/PIGPIO $ pigs modeg 15 4 I'll have a look at more info later, but I managed through Digikey to get an actual FTDI pi adapter; I am curious to see if it will change anything. However, I sen...
by lantzvillian
Sun Nov 09, 2014 4:51 pm
Forum: Troubleshooting
Topic: No Serial Output Via Pins 14/15
Replies: 26
Views: 3626

Re: No Serial Output Via Pins 14/15

Standard Python libraries - you mention this ALT0 which I assume means alternate output.

* Is more information available and where?
* Can this be done manually?


If so; IMHO there is something wrong with the default configuration or detection of serial output (it is the era of plug-and-work)
by lantzvillian
Sun Nov 09, 2014 7:11 am
Forum: Troubleshooting
Topic: No Serial Output Via Pins 14/15
Replies: 26
Views: 3626

Re: No Serial Output Via Pins 14/15

Hi guys, So I opened two SSH terminals to the PI and logged in as root. I ran in the 1st terminal: stty -F /dev/ttyAMA0 -crtscts & in the second terminal: cat /dev/ttyAMA0. I then looped pins 8 & 10, and echo'd "test" using: echo "test" > /dev/ttyAMA0. The second terminal that was monitoring the ser...
by lantzvillian
Sun Nov 09, 2014 1:51 am
Forum: Troubleshooting
Topic: No Serial Output Via Pins 14/15
Replies: 26
Views: 3626

Re: No Serial Output Via Pins 14/15

Yes, you are correct it is the 2303 chipset.
by lantzvillian
Sun Nov 09, 2014 12:54 am
Forum: Troubleshooting
Topic: No Serial Output Via Pins 14/15
Replies: 26
Views: 3626

Re: No Serial Output Via Pins 14/15

I haven't had a moment to hook my PI up, but I know there is an immense amount of beginners and that I am not one of them; I've written kernel modules, performed physical and software modifications to the PCM in my race car and develop embedded industrial security appliances. I read the documentatio...
by lantzvillian
Sat Nov 08, 2014 10:03 pm
Forum: Troubleshooting
Topic: No Serial Output Via Pins 14/15
Replies: 26
Views: 3626

Re: No Serial Output Via Pins 14/15

I just tried OpenWRT and I have the same issue it seems. Polyfuse?
by lantzvillian
Sat Nov 08, 2014 8:56 pm
Forum: Troubleshooting
Topic: No Serial Output Via Pins 14/15
Replies: 26
Views: 3626

Re: No Serial Output Via Pins 14/15

ahh sorry, micro-USB; I am dumbfounded as I use serial almost daily on several appliances I develop on (albeit using the USB-to-serial)....
by lantzvillian
Sat Nov 08, 2014 8:26 pm
Forum: Troubleshooting
Topic: No Serial Output Via Pins 14/15
Replies: 26
Views: 3626

Re: No Serial Output Via Pins 14/15

hmm.. maybe. The only other thing to note is I am powering the PI by mini-USB. Maybe there is some board erratta..
by lantzvillian
Sat Nov 08, 2014 8:05 pm
Forum: Troubleshooting
Topic: No Serial Output Via Pins 14/15
Replies: 26
Views: 3626

Re: No Serial Output Via Pins 14/15

Yes that is what I am trying to do, and yes it is not commented out. Unfortunately, what can I do to troubleshoot this because this is stupid. I also just tried jigging up a FTDI usb DB9 connection which I know works and its receiving nothing. The pins can/do work as I can light up LEDs using them.....
by lantzvillian
Sat Nov 08, 2014 7:41 pm
Forum: Troubleshooting
Topic: No Serial Output Via Pins 14/15
Replies: 26
Views: 3626

Re: No Serial Output Via Pins 14/15

No, I am running minicom on ONLY the end trying to communicate to the PI (the VM).

Nothing regardless of speed settings (115200, 38400) and wire placement. Potentially the adapter is a dud...
by lantzvillian
Sat Nov 08, 2014 7:30 pm
Forum: Troubleshooting
Topic: No Serial Output Via Pins 14/15
Replies: 26
Views: 3626

Re: No Serial Output Via Pins 14/15

Confirming that is a bit tricky (do you need a photo?) - I have the Black wire from the TTL/USB cable as ground, white for pin 14 and green for pin 15. I left off the power (red). I also tried flipping the green and white wires; RX/TX around, but no luck. On the receiving end of the male USB, I have...
by lantzvillian
Sat Nov 08, 2014 7:17 pm
Forum: Troubleshooting
Topic: No Serial Output Via Pins 14/15
Replies: 26
Views: 3626

Re: No Serial Output Via Pins 14/15

As said above - I am using the Broadcom (BCM) number so I guess that is physical pins 6(for ground)/8/10
by lantzvillian
Sat Nov 08, 2014 5:49 pm
Forum: Troubleshooting
Topic: No Serial Output Via Pins 14/15
Replies: 26
Views: 3626

No Serial Output Via Pins 14/15

Hello all, I have spent a good while attempting to figure out why I cannot get any output to the serial console from GPIO pins 14/15 (BCM numbering). I am using Rasbian 2014-09-09 on a Raspberry B+ , and have verified that the pins are operational via LEDs on a breakout board. stty -F /dev/ttyAMA0 -...

Go to advanced search