Go to advanced search

by John Public
Sun Jul 09, 2017 11:45 am
Forum: Troubleshooting
Topic: Why is Samba no longer working for me?
Replies: 2
Views: 1015

Re: Why is Samba no longer working for me?

path = /media/pi/foo-bar-foo-bar/PiMedia browseable = yes read only = no public = yes only guest = yes force user = pi force group = pi After struggling to get Samba working for most situations I used above configuration. I am not an expert on Samba. Above just works for me. Note that user is "...
by John Public
Sun Jul 09, 2017 9:43 am
Forum: General discussion
Topic: step-up regulator, buck converter 5V->3.3V
Replies: 12
Views: 2936

Re: step-up regulator, buck converter 5V->3.3V

Just to recap: I used an inexpensive pair of 433MHZ sender & receiver (http://bit.ly/2sCDikI). I connected both to a single Raspberry (RPi3) and used two GPIO pins. One gpio would send and the other would receive. It worked reasonably well - not too much noise. However, when I plugged the same s...
by John Public
Tue Jun 20, 2017 8:17 pm
Forum: Troubleshooting
Topic: Power RPi3 from GPIO pins?
Replies: 4
Views: 1461

Power RPi3 from GPIO pins?

I faulty power source broke down with sparks an all on when connecting it to Rpi3 miniusb connector. The Raspberry looks ok with no visible damage after careful inspection. I connected a good power source but I could not get the RPi3 to boot up: no lights, nothing. Since it looks ok I suspect the us...
by John Public
Tue Jun 20, 2017 8:03 pm
Forum: General discussion
Topic: For want of a nail...
Replies: 7
Views: 1633

Re: For want of a nail...

Hi, I broke the same part on an Orange Pi. I managed to gently push the part back to hold the ribbon in place. It sort of stuck there. You could try to see if you can manouver the broken part to hold the ribbon again. Failing than that how about hot glue?
by John Public
Tue Jun 20, 2017 7:54 pm
Forum: General discussion
Topic: step-up regulator, buck converter 5V->3.3V
Replies: 12
Views: 2936

Re: step-up regulator, buck converter 5V->3.3V

How did you come up with the receiver (3.3 kOhm + 1.8kOhm) to get 5v down to 3.3V. I tried an online calculator http://www.gtsparkplugs.com/Dropping_Resistor_Calc.html Just trying to learn something useful. Actually I got the Receiver and Transmitter work on the same Raspberry using just the 3.3V (a...
by John Public
Tue Jun 20, 2017 4:56 pm
Forum: General discussion
Topic: step-up regulator, buck converter 5V->3.3V
Replies: 12
Views: 2936

step-up regulator, buck converter 5V->3.3V

I have an RF transmitter and a receiver https://goo.gl/ymf1ca. Their operating voltage is 3.5V-12V and transmit power: 10mW. I uppply them 3.3V and got them to work on Raspberry GPIO. I'd like to test them using 5V. Since RPi 3 GPIO uses 3.3V how do I step down voltage? I don't know if down conversi...
by John Public
Sun Jun 11, 2017 3:38 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RFID-RC522 problem
Replies: 8
Views: 2638

Re: RFID-RC522 problem

I got it to work. I just reinstalled Debian 8 (a bare bones version) on a new SD card and followed the youtube example.
I just wonder what was wrong with the NOOBS SD? Some driver must have clobbered the SPI interface.
by John Public
Fri Jun 09, 2017 2:00 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RFID-RC522 problem
Replies: 8
Views: 2638

Re: RFID-RC522 problem

It's advertised as using SPI. Did you connect it as shown on the github page I linked to? Your config.txt is correctly configured for SPI, so that's fine. Check if SPI devices are created with 'ls /dev/spi*' pi@raspi05:~$ ls /dev/spi* /dev/spidev0.0 /dev/spidev0.1 I checked the wires once again and...
by John Public
Thu Jun 08, 2017 9:31 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RFID-RC522 problem
Replies: 8
Views: 2638

Re: RFID-RC522 problem

I just followed the tutorial as best I could and ran the Read.py at the end. Well, I'm not going to watch that video, but the info refers to https://github.com/mxgxw/MFRC522-python and that uses SPI, not I2C... Do you have a link to the board you're using? Most of the ones I have seen can use UART,...
by John Public
Thu Jun 08, 2017 5:42 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RFID-RC522 problem
Replies: 8
Views: 2638

Re: RFID-RC522 problem

We need more information: * is your reader (shield?) set to use I2C? * is your device connected correctly? I don't believe there are any settings on the reader. I just followed the tutorial. I checked the wire connection a couple of times and AFAIK they are ok. * What is the output of 'i2cdetect -y...
by John Public
Thu Jun 08, 2017 1:01 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RFID-RC522 problem
Replies: 8
Views: 2638

RFID-RC522 problem

I've followed this youtube tutorial to set up RC522 reader: https://www.youtube.com/watch?v=tZPWXnMdIRU If set i2c interface "on" from raspi-config. My /etc/config.txt has these settings ... # Uncomment some or all of these to enable the optional hardware interfaces dtparam=i2c_arm=on #dtp...
by John Public
Wed Jun 07, 2017 10:03 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Wiring connector or receptable
Replies: 2
Views: 752

Wiring connector or receptable

I have a bunch Micro USB Type B Female Sockets (for example https://goo.gl/76xIVB ). Soldering wires is difficult due to small size. Are the any connectors or that I could just push there and not weld wires. I know of breakout boards but they are a bit overkill and tight space in my enclosure preven...
by John Public
Sat May 13, 2017 11:36 am
Forum: Networking and servers
Topic: Z-wave (Razberry) input, receiving data
Replies: 1
Views: 1005

Z-wave (Razberry) input, receiving data

I have Rp3 and the GPIO versio of Razberry. I'd like to receive input from a Z-wave device. Usually when I atatch a USB or GPIO device it's simply a question of opening /dev/ttyS0 or /dev/ttyUSB0 or whatever and receiving data (numbers, text etc) which makes my task very easy. The API reference for ...
by John Public
Tue May 09, 2017 12:47 pm
Forum: Graphics, sound and multimedia
Topic: c source code to record audio and display graph
Replies: 1
Views: 858

c source code to record audio and display graph

Where could I find C source code to record audio and save it to file. I am using RPi3. The simpler (but C source) the better. Later I would need to know how to "view" or draw a graph on the sound. Examples that I've found are way too complicated. I am not looking for a huge sound recording...
by John Public
Tue May 09, 2017 12:37 pm
Forum: Graphics, sound and multimedia
Topic: RTMP stream to remote server with low latency?
Replies: 5
Views: 10590

Re: RTMP stream to remote server with low latency?

Is UV4L available for commercial projects?
by John Public
Sat May 06, 2017 2:45 pm
Forum: Troubleshooting
Topic: Flickering HDTV screen after startx on Debian
Replies: 7
Views: 25289

Re: Flickering HDTV screen after startx on Debian

I also had the same problem with a Raspberry Zero. Monitor kept flickering. I had had previously no problem so I knew the PSU was ok. The only thing I had changed was teh USB cable from a short cable to a foot longer. Changed it back to the shorter one and everything was ok again. The problem USD ca...
by John Public
Wed Apr 26, 2017 12:50 pm
Forum: Networking and servers
Topic: RPi as a network datalogger/filter
Replies: 1
Views: 942

RPi as a network datalogger/filter

I'd like to use an RPi 3 (or Zero) as a network datalogger or filter of sorts. I would set it like like this Now I have this: Wall/Internet ----router----ComputerA ie cat5/6 cable going from wall to a laptop computer (ComputerA) What I would like is have RPi in between. Wall/Internet -----router----...
by John Public
Thu Mar 30, 2017 7:47 pm
Forum: C/C++
Topic: Raspberry Zero program freezes under heavy load
Replies: 1
Views: 465

Raspberry Zero program freezes under heavy load

I have a simple raspberry zero program (written by me) that creates an array of all filenames, dates and size in a directory. In Raspberry 3 it works fine but if I use it on Zero the program freezes if I have thousands of files. After a week of testing and testing and trying to find what freezes the...
by John Public
Mon Mar 13, 2017 11:34 am
Forum: Networking and servers
Topic: Share clipboard between two programs
Replies: 0
Views: 288

Share clipboard between two programs

I need a rudimentary messaging system between two programs. Just short text message.I am using Raspberry Zero with X11 Debian. I Windows I have an easy clibboard copy & paste. Is there an equivalent for Debian and X11? Both progras are written in C. After searching on the net there does not seem...
by John Public
Wed Mar 08, 2017 10:45 am
Forum: Camera board
Topic: Raspiyuv source code?
Replies: 2
Views: 714

Raspiyuv source code?

Where can I find raspiyuv source code?
What I'd like to do is capture raw camera data - preferably plain uncompressed rgb. I am looking for the simplest c source with least overhead - I don't need the jpg or bmp conversion etc.
by John Public
Wed Mar 01, 2017 7:37 pm
Forum: Troubleshooting
Topic: Login won't take pi and raspberry - SSH works fine
Replies: 1
Views: 436

Re: Login won't take pi and raspberry - SSH works fine

Forget it. I installed everything again and all went ok. Probably some install was unfinished.
by John Public
Wed Mar 01, 2017 7:26 pm
Forum: Troubleshooting
Topic: Login won't take pi and raspberry - SSH works fine
Replies: 1
Views: 436

Login won't take pi and raspberry - SSH works fine

I usuallu install a Rasbien Jessie lite on a brand new SD card and added X11. I don't want the other software that is unnecessary for me. Now when it boot up I get a graphical Debian 8 windows (as usual) but it asks for a username and a password. No matter what i give ("pi" and "raspb...
by John Public
Tue Feb 21, 2017 10:09 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: GPIO not working as expected (wiringPi)
Replies: 5
Views: 1847

Re: GPIO not working as expected (wiringPi)

Whilst trying to find a solution I wrote this: int main (void) { wiringPiSetup () ; pinMode (21, OUTPUT) ; // 21=GPIO5 digitalWrite (21, LOW) ; return 0; } Then another program: int main (void) { wiringPiSetup () ; iz=digitalRead (21) ; printf("iz is %d\n",iz); return 0; } The first progra...
by John Public
Tue Feb 21, 2017 9:49 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: GPIO not working as expected (wiringPi)
Replies: 5
Views: 1847

Re: GPIO not working as expected (wiringPi)

Actually I was trying to use GPIO5 for input. But it seems to be on HIGH by default. If i set it to low it "bumps" back to high. I want to know the logic behind the GPIO pins that are "free for use". For example if I connect a PIR to GPIO5 and then read is the PIR signal on GPIO5...
by John Public
Tue Feb 21, 2017 9:20 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: GPIO not working as expected (wiringPi)
Replies: 5
Views: 1847

GPIO not working as expected (wiringPi)

I am trying to use GPIO5 for input as well as output. #include <stdio.h> #include <stdlib.h> #include <wiringPi.h> int main (void) { int iz; wiringPiSetup () ; pinMode (21, OUTPUT) ; // 21=GPIO5 digitalWrite (21, LOW) ; // GPIO5 should be now low, let find out ... delay(500); pinMode (21, INPUT) ; /...

Go to advanced search