Go to advanced search

by xl97
Tue Mar 26, 2019 4:03 pm
Forum: Other programming languages
Topic: PHP raspberry pi servo control help
Replies: 8
Views: 883

Re: PHP raspberry pi servo control help

^ agreed.

:)
by xl97
Tue Mar 26, 2019 11:57 am
Forum: Other programming languages
Topic: PHP raspberry pi servo control help
Replies: 8
Views: 883

Re: PHP raspberry pi servo control help

@Heater I think you need re-read the posts here. * not my requirements at all.. * Arduino mentioned as one way I have done this using PHP (as I dont have many RPi projects under my belt yet especially with the GPIO pins).. and was done to give an understanding of the whole process. * I mentioned ESP...
by xl97
Mon Mar 25, 2019 7:20 pm
Forum: Other programming languages
Topic: PHP raspberry pi servo control help
Replies: 8
Views: 883

Re: PHP raspberry pi servo control help

The PHP part is VERY easy... However.. as mentioned.... this may not be the correct language (or easiest at least) to be working with for this type of project. That being said, I usually ONLY do PHP web development.... but being as this a WEB (server side scripting language)... how do you believe th...
by xl97
Thu Mar 21, 2019 2:51 pm
Forum: Beginners
Topic: Chess engine communication with arduino
Replies: 2
Views: 107

Re: Chess engine communication with arduino

I dont know anything about the PiChess app.. but there are many ways to pass data back and forth.. I have done a project where the Pi is hosting a webpage, and I use PHP/AJAX to send data back and forth to each component over USB (ie: treated as a serial connection) I have recently worked on a proje...
by xl97
Fri Mar 15, 2019 9:00 pm
Forum: Beginners
Topic: Can I setup display by making changes in /boot ? If yes, then How ?
Replies: 8
Views: 525

Re: Can I setup display by making changes in /boot ? If yes, then How ?

I suppose OP didnt state if it was a GPIO connection or not (unless I missed something?)

I took it as he has access to the desktop, but is asking how to change things once he gets to the 'cyber cafe' and only has a portable 3.5" display..
by xl97
Fri Mar 15, 2019 3:14 pm
Forum: Beginners
Topic: Can I setup display by making changes in /boot ? If yes, then How ?
Replies: 8
Views: 525

Re: Can I setup display by making changes in /boot ? If yes, then How ?

Really? * RE-imaging your card just set a screen resolution seems... well a bit stupid/odd. (and not very practical) directly form the desktop.. you can right click and change settings/resolution.. the problem is you only get to choose form a list of pre-set resolutions.. (none of which are for 480x...
by xl97
Thu Mar 14, 2019 9:32 pm
Forum: Beginners
Topic: Can I setup display by making changes in /boot ? If yes, then How ?
Replies: 8
Views: 525

Re: Can I setup display by making changes in /boot ? If yes, then How ?

I'm curious about setting the boot/native resolution to 480x320 as well.. However.. in testing ........(you can only set the resolution down to 720 or 6xx (or something) I think from the desktop? dont recall exactly off hand)......the 3.5" 480x320 screens do NOT look so great... especially if you ar...
by xl97
Thu Mar 14, 2019 7:56 pm
Forum: Beginners
Topic: Using GPIO for data pass through
Replies: 5
Views: 273

Re: Using GPIO for data pass through

Maybe just use a transistor/mosfet to accomplish this?

I dont have any experience with the RPi GPIIO stuff yet.... but I do on the Arduino platform..

and when its too much voltage/current.. (whatever) usually you use a transistor to 'toggle/switch' things for you.
by xl97
Thu Mar 14, 2019 7:49 pm
Forum: Beginners
Topic: FingerPrint Module Integration with SQLite in Rasp B+
Replies: 5
Views: 230

Re: FingerPrint Module Integration with SQLite in Rasp B+

^ exactly.

Are you under the impression that the "Finger Print Reader" was supposed to (somehow) communicate with the database by default?
by xl97
Tue Mar 12, 2019 12:38 pm
Forum: Beginners
Topic: RPi (LAMP) and open (serial?) communication with Arduino/Flash app
Replies: 8
Views: 392

Re: RPi (LAMP) and open (serial?) communication with Arduino/Flash app

Thanks.. yeah I know how to load variables/data from external sources like that.. the problem with that approach is you just polling over and over... never really knowing if you have any data there or not.. Using the XMLSocket approach.. it just stays open listening for the data.. and then fired a c...
by xl97
Mon Mar 11, 2019 9:58 pm
Forum: Camera board
Topic: Change/Configure camera settings?
Replies: 5
Views: 396

Re: Change/Configure camera settings?

Sorry about the lack of details. The default webpage that gets loaded has an embedded Adobe Flash app in it.. It detects any local webcam, and then 'turns it on' (after initial prompt that it is ok to do so) As of now in my project.. I do nothing else with the camera. I had an older post where yours...
by xl97
Mon Mar 11, 2019 9:10 pm
Forum: Camera board
Topic: Change/Configure camera settings?
Replies: 5
Views: 396

Re: Change/Configure camera settings?

Thank you for the reply.. Sorry to beat a dead horse here... (I'm VERY new to RPi and CLI all together).. Because my end project will just need to boot and 'run'.. (will boot with Chromium in fullscreen mode, and auto load a locally hosted page).. I have a few questions: 1.) If I run the commands: "...
by xl97
Mon Mar 11, 2019 5:18 pm
Forum: Camera board
Topic: Change/Configure camera settings?
Replies: 5
Views: 396

Change/Configure camera settings?

I ran into this page, that goes over some settings that can be used to configure the camera on your RPi. https://www.raspberrypi.org/documentation/raspbian/applications/camera.md My current project/set-up is a BIT different though... 1.) I ran this line: sudo sh -c 'grep "bcm2835-v4l2" /etc/modules ...
by xl97
Tue Mar 05, 2019 3:24 am
Forum: Beginners
Topic: Raspberry Pi 3B + no wifi
Replies: 11
Views: 699

Re: Raspberry Pi 3B + no wifi

I just started over and used Etcher to re-image the SD card..

from there.. I followed my normal steps.. and things have been as expected.
by xl97
Mon Mar 04, 2019 3:59 am
Forum: Networking and servers
Topic: SOCAT configuration to allow Adobe Flash app to connect to it
Replies: 1
Views: 204

SOCAT configuration to allow Adobe Flash app to connect to it

I am not clear where my trouble is stemming as I believe all things are set up properly, yet my Flash app STILL can not make a connection to 'SOCAT' to read the incoming serial data from a connected Arduino. Project Summary: **Adobe Flash app** - Written in ActionScript 2 (AS2.0) - This does have a ...
by xl97
Fri Mar 01, 2019 1:16 am
Forum: Beginners
Topic: How to start SOCAT at boot up?
Replies: 7
Views: 461

Re: How to start SOCAT at boot up?

I added it before... worked fine.

...........as I wasnt clear on that syntax.. I didnt know if it was part of the previous IP function (or whatever it was,.. not in front of me at the moment)
by xl97
Thu Feb 28, 2019 3:17 pm
Forum: Networking and servers
Topic: Configure LAMP on RPi to serve up security policy on PORT 843?
Replies: 5
Views: 321

Re: Configure LAMP on RPi to serve up security policy on PORT 843?

Hey @Andryroo Still around? LOL I still have not been able to get this Flash app to connect to.......................anything!!! I have SSL set-up (finally) I believe.. When I do a curl call using any of these lines: curl http://raspberrypi:843/flashpolicy.xml curl http://127.0.0.1843/flashpolicy.xm...
by xl97
Thu Feb 28, 2019 3:00 pm
Forum: Beginners
Topic: How to start SOCAT at boot up?
Replies: 7
Views: 461

Re: How to start SOCAT at boot up?

Doe this new line:

Code: Select all

socat -d -d -d -d -x TCP-LISTEN:7777,reuseaddr,fork FILE:/dev/ttyUSB0,b9600,raw&

go after the exit 0 line?

or before?
by xl97
Wed Feb 27, 2019 1:33 pm
Forum: Beginners
Topic: How to start SOCAT at boot up?
Replies: 7
Views: 461

Re: How to start SOCAT at boot up?

Perfect! I would prefer that start before the web page loads with will (attempt) to connect to it... My overall project goal here is to: 1.) Have the RPi host and serve up the webpage (Flash app).. that is store locally 2.) I have an Arduino connected to the USB (ie: ttyUSB0) I am attempting to have...
by xl97
Wed Feb 27, 2019 2:49 am
Forum: Beginners
Topic: How to start SOCAT at boot up?
Replies: 7
Views: 461

Re: How to start SOCAT at boot up?

Thanks! I'll give it a try.. Question: Does that fire/execute BEFORE the execution of starting Chromium on boot (and loading a predefined index page)?? I'm doing that like so: # chromium-browser --start-fullscreen http://my_URL.com # nano /home/pi/.config/lxsession/LXDE-pi/autostart @lxpanel --profi...
by xl97
Tue Feb 26, 2019 4:04 pm
Forum: Beginners
Topic: How to start SOCAT at boot up?
Replies: 7
Views: 461

How to start SOCAT at boot up?

For my current project.. and I am attempting to use SOCAT to receive incoming serial data and make it available for my Adobe Flash app to make an XMLSocket connection with.. (Still trying to work through that last step.. finally got https working...so now I need to figure out this Flash Security Pol...
by xl97
Tue Feb 26, 2019 12:51 pm
Forum: Beginners
Topic: Self-Signed Certificate for off-line localhost?
Replies: 12
Views: 1181

Re: Self-Signed Certificate for off-line localhost?

Doing this seemed to fix my old permissions (hope it was correct)

Code: Select all

sudo chown -R pi:pi /var/www
sudo chmod -R 777 /var/www 
by xl97
Tue Feb 26, 2019 5:47 am
Forum: Beginners
Topic: Self-Signed Certificate for off-line localhost?
Replies: 12
Views: 1181

Re: Self-Signed Certificate for off-line localhost?

After running these lines: (in an attempt to fix my previous 403:Forbidden https error) sudo chown -R www-data.www-data /var/www sudo chmod -R u+rwX,g+rX /var/www I go no longer access those directories.. (nor via FTP wither, as I was trying to transfer some files to my web files located there) How ...
by xl97
Mon Feb 25, 2019 3:12 pm
Forum: Beginners
Topic: Self-Signed Certificate for off-line localhost?
Replies: 12
Views: 1181

Re: Self-Signed Certificate for off-line localhost?

crap! I checked there (thanks to your comment in another thread).. and I thought I had posted it already!!! I see the entries... but I dont understand them.. or more so, how to fix them? I just cleared the logs.. re-opened the page (got the 403:Forbidden message again).. and went back to check the l...

Go to advanced search