Go to advanced search

by pksato
Mon Jun 18, 2018 6:50 pm
Forum: Beginners
Topic: ssh .... I became a little headless..
Replies: 4
Views: 91

Re: ssh .... I became a little headless..

Hi mccpi,
You are sure that using the correct rpi0 ip?
Is not clear if you ssh attempt done using wifi or usb tethering.
On case of usb, you are not using PC ip? Check auth log or IDS on gentoo.
by pksato
Mon Jun 18, 2018 11:59 am
Forum: General discussion
Topic: Interfacing an LCD display to the Pi
Replies: 4
Views: 156

Re: Interfacing an LCD display to the Pi

Hi,
I found this datasheet of some LB070WV1 panel.
It use a LVTTL (3v3) parallel interface, can be connected to Raspberry Pi DPI (Parallel Display Interface).
Also, need to provide the backlight power (can be removed from original circuit).
Using DPI you lost most of GPIO pins.
by pksato
Fri Jun 15, 2018 12:16 pm
Forum: Troubleshooting
Topic: Can't connect to domain name, but with IPv4 it works
Replies: 3
Views: 162

Re: Can't connect to domain name, but with IPv4 it works

Hi, Internet is moving to IPv6, and it cause some problems if you not have IPv6 connectivity. IPv6 stack is present even if you not have a IPv6 connection to internet, and IPv6 have preference. To mitigate this IPv6 issues: Not configure IPv6 on network interfaces (inclusive lo) Disable IPv6 on kern...
by pksato
Fri Jun 15, 2018 11:39 am
Forum: Beginners
Topic: How to stop multiple detection of button press?
Replies: 8
Views: 201

Re: How to stop multiple detection?

Hi, You need to use debouncing to prevent multiple trigger. A simple debouncing is to add a little delay after action (email sent). Also have hardware debouncing methods, like a capacitor in parallel with switch. A long wiring can act as electric field antenna and trigger the input, a capacitor from...
by pksato
Wed Jun 13, 2018 11:49 am
Forum: Beginners
Topic: Radio Receiver
Replies: 7
Views: 190

Re: Radio Receiver

Hi finnbo11, You need to be more clear about you needs. I don,t know other FM module that use other chip. SiLab have a series of broadcast radio chips, but, I don't know if have a cheap modules using it. I find one: https://www.sparkfun.com/products/12938 tea5767 can power from 3V to 5V, can be conn...
by pksato
Sat Jun 09, 2018 12:41 pm
Forum: Beginners
Topic: CGI Bash script
Replies: 5
Views: 153

Re: CGI Bash script

Hi,
quote the testing string variable.

Code: Select all

if [ [ "$ACT1" != "IN1=on" -a "$ACT1" != "IN1=off"] -o [$ACT2 != "IN2=on" && $ACT2 != "IN2=off"] ];
These conditional are correct?

If have a php, why cgi using bash?
Use php popen() to call you script or other executable. Or proc_open().
by pksato
Sat Jun 09, 2018 12:17 pm
Forum: Beginners
Topic: Static IPs for 45 Raspberry Pis!
Replies: 16
Views: 513

Re: Static IPs for 45 Raspberry Pis!

You need to each SD card have a unique IP or each board have a unique IP? For SD, a symlink on /etc/network/interfaces.d to a file on /boot. I not sure if work. For each board, need to use some unique information from hardware, board serial, mac address, eeprom, etc... And use a init script or some ...
by pksato
Sat Jun 09, 2018 11:51 am
Forum: Beginners
Topic: rpi3 gpio speakers
Replies: 14
Views: 415

Re: rpi3 gpio speakers

Hi,
In addition to the speaker you will need a power amplifier, like PAM8403 module (search on you favorite electronic gadget store).
It is a small class D audio amplifier.
And a TRRS plug (old/cheap smartphone earphone/mic cable). Or solder wires direct to pads of A/V jack.
by pksato
Fri Jun 01, 2018 5:43 pm
Forum: Beginners
Topic: external power supply
Replies: 3
Views: 153

Re: external power supply

Hi,
Didoes can be used switch between two or more power sources.
Each power source have a diode in series.
The main power need voltage little bit high that others.
Use Schottky diodes (1N5820) with low voltage drop.
by pksato
Wed Jan 24, 2018 11:24 am
Forum: Beginners
Topic: Powering Pi3b from car battery, need some advice on capacitors.
Replies: 7
Views: 506

Re: Powering Pi3b from car battery, need some advice on capacitors.

Hi,
A quick schematics about my idea to power RPI from a car electric system.
Its is a not tested circuity.
Image
by pksato
Mon Oct 24, 2016 10:47 am
Forum: Beginners
Topic: Pi 1 Model B Video compatibility issue
Replies: 10
Views: 1235

Re: Pi 1 Model B Video compatibility issue

Hi, If you TV is exact same model of radiomuseum, the have a video input on back. Connect RPi video out (RCA) to video input on TV. Change AV/TV switch to AV. TV still working? Tune open air analog TV station (if have one)? Or if on all digital region, TV screen show noise? Next, need to for raspber...
by pksato
Fri Aug 05, 2016 6:32 pm
Forum: Beginners
Topic: RasPi as a print server (without Linux drivers)
Replies: 2
Views: 586

Re: RasPi as a print server (without Linux drivers)

Hello,
You can use a Raw Queue.
But, I don't know if work with any printer.
One problem can is to configure printer driver on windows/linux/mac to use this raw queue.
by pksato
Fri Aug 05, 2016 1:02 pm
Forum: General discussion
Topic: Switching on a 220v AC Mains bulb
Replies: 26
Views: 3205

Re: Switching on a 220v AC Mains bulb

Hi, Incandescent light bulb some time are used on chicken egg incubators. And on a paper dry box (?). 8A at 12VDC is more harder to handle that 100W at 220VAC (0.45A). Both can hurt you and start a fire. SSR like Fotek SSR25 have only the screws exposed, if used correct terminals, it is very safe. R...
by pksato
Thu Aug 04, 2016 1:44 pm
Forum: Beginners
Topic: access a Windows PC USB printer to print from the PI?
Replies: 6
Views: 1771

Re: access a Windows PC USB printer to print from the PI?

Hi, need to install smbclient. (if not installed) sudo aptitude install smbclient sudo service cups restart Now, new option (Windows Printer via SAMBA) can be appears on "Other Network Printers:" list. Need to manually provide service name, as: smb://host/printername I suggest to rename printer shar...
by pksato
Wed Aug 03, 2016 8:15 pm
Forum: General discussion
Topic: Switching on a 220v AC Mains bulb
Replies: 26
Views: 3205

Re: Powering a light bulb

Hi,
After warnings about uses of mains ACs...

I recommend to use SSR (Solid State Relay), Its is safe and have circuitry to proper control AC.
SSR for 25A or more, like Fotek SSR-25 DA-H.
by pksato
Wed Aug 03, 2016 8:07 pm
Forum: Beginners
Topic: Disabling TTY Switching
Replies: 3
Views: 1687

Re: Disabling TTY Switching

Hi, The xorg.conf is not mandatory, you can create it if need to change some default configuration parameter. You can create one using this command (on console, without any X session running). X -configure The file xorg.conf.new is created, you can copy to /etc/X11/xorg.conf and edit. Or just create...
by pksato
Wed Aug 03, 2016 7:55 pm
Forum: Beginners
Topic: Cannot get relay board to release relays
Replies: 5
Views: 789

Re: Cannot get relay board to release relays

Hi, I don't recommend to use these relay board (sainsmart and clones) to control mains AC. Don't have popper isolation and protection. If relay is activated on low state (0V), and logic/coil side is powered by 5V or 12V, the described situation can happen. To solve it, use ULN2308 transistor array, ...
by pksato
Thu Jul 28, 2016 8:05 pm
Forum: General discussion
Topic: Lighttpd doesn't restart after reboot.
Replies: 5
Views: 798

Re: Lighttpd doesn't restart after reboot.

Hi,
You verified error log?
/var/log/lighttpd/error.log

Or, check config syntax
lighttpd -t -f /etc/lighttpd/lighttpd.conf
by pksato
Wed Jul 27, 2016 12:03 pm
Forum: General discussion
Topic: SMTP Email Error Issue
Replies: 5
Views: 827

Re: SMTP Email Error Issue

Hi, SSMTP not listen to port 25, It is not a email daemon. If need to listen tcp port, use proxsmtp. I suggest to set smtplib to direct contact gmail server (smtp.gmail.com), on port 587 (TLS), or 465 (SSL). Most ISP restrict connection to/from port 25. For more information: https://support.google.c...
by pksato
Mon Jul 25, 2016 11:49 am
Forum: Beginners
Topic: How Connect A Pi To A PC And Relay A Heartbeat Connection
Replies: 7
Views: 944

Re: How Connect A Pi To A PC And Relay A Heartbeat Connectio

Hi, Also, you can use RS232 (serial), RPi have one port, some PC main board have One or Two (need a ttl to rs232 converter). Or use a usb to serial adapter with 3v3 TTL. If is RPi Zero or As models, can use USB device mode to create a some kind of USB device to use as Heartbeat/Wachdog for PC/Server...
by pksato
Mon Jul 25, 2016 11:14 am
Forum: General discussion
Topic: Directly connect 3.3V 5mW laser diode to Pi Zero GPIO?
Replies: 31
Views: 6381

Re: Directly connect 3.3V 5mW laser diode to Pi Zero GPIO?

Hi, I did buy 3.3V 5mW laser diodes for my Arduino Dues originally, because Due did need motor driver to driver a 5V laser module I had. You bought a laser diode module, not a bare laser diodes, right? Laser diodes need a feedback circuit to work proper. Mounted/module laser diodes have this circui...
by pksato
Sat Jul 23, 2016 10:32 pm
Forum: General discussion
Topic: Can't upload file to apache server
Replies: 1
Views: 969

Re: Can't upload file to apache server

Hi. You don't want do upload file via insecure http post, right? File upload via http post is the way to gain access to you server. Attacker Install some malware, and make you RPi a zombie. If you really want to upload files, need to make it very secure. Don,t use relative path, always use full path...
by pksato
Sat Jul 23, 2016 12:07 pm
Forum: General discussion
Topic: Pi → USB to parallel (centronics) cable → HP Deskjet ?
Replies: 11
Views: 2472

Re: Pi → USB to parallel (centronics) cable → HP Deskjet ?

Only way to know of work, is testing.

On my x86 debiank, have a
Bus 002 Device 003: ID 067b:2305 Prolific Technology, Inc. PL2305 Parallel Port
Connected to HP Laserjet 5L, and working.

HP Deskjet 5xx is the vintage printer (no chip on cartridge)?
by pksato
Sat Jul 23, 2016 11:51 am
Forum: General discussion
Topic: Rpi 3 GPIO Opto Isolators
Replies: 12
Views: 1891

Re: Rpi 3 GPIO Opto Isolators

Hi, Hello, Can anyone recommend an opto-isolator to use with the GPIO pins on the RPI 3? PC817C, used in power supply, very cheap in quantity. Or, ideally, a kit or pre-built PCB that simply plugs in? I don't know. check ebay. Also, given that I want to switch 240v AC to switch a contactor to switch...
by pksato
Sat Jul 23, 2016 11:26 am
Forum: Beginners
Topic: 5V to 3.3V with 10K and 560R resistors ?
Replies: 11
Views: 2543

Re: 5V to 3.3V with 10K and 560R resistors ?

Hi, The other possible pitfall of using resistors in a voltage divider is if there's some capacitance in the source or the pi that either needs to be charged or discharged for the value to change. By having large value resistors in there you'll be limiting the current that can flow which could intro...

Go to advanced search