Go to advanced search

by henryhanselscott
Wed Mar 18, 2015 12:15 pm
Forum: General discussion
Topic: Powering the Pi through GPIO?
Replies: 4
Views: 976

Re: Powering the Pi through GPIO?

I am powering my pi through the GPIO pins. I have a support board that provides 5 volt power to the pi BUT it does use a fuse so that an over-current situation is dealt with. The 5 volt source from the board has a 1000uf capacitor (downstream from the fuse) in the circuit to deal with surges associa...
by henryhanselscott
Sun Mar 15, 2015 12:32 pm
Forum: General discussion
Topic: Proper Automatic Shutdown Procedure
Replies: 4
Views: 975

Re: Proper Automatic Shutdown Procedure

Thank you for the replies!

I will program the support board micro (pic16F88) to turn off power 2 minutes after giving the Rpi2 the shutdown signal on the GPIO. This should give the Rpi time to fully shutdown before power interruption.

Henry
by henryhanselscott
Sun Mar 15, 2015 11:03 am
Forum: General discussion
Topic: Proper Automatic Shutdown Procedure
Replies: 4
Views: 975

Proper Automatic Shutdown Procedure

My project uses a "support board" that powers the Rpi. When the support board detects that the main power has been lost (Rpi continues to run on a supercap bank/buck boost power supply) it signals through one of the GPIO pins to the pi to start the shutdown procedure. The python code on the Rpi uses...
by henryhanselscott
Thu Mar 12, 2015 4:34 pm
Forum: General discussion
Topic: Strange Behavior/Python Script
Replies: 5
Views: 941

Re: Strange Behavior/Python Script

So I am answering my own post here just for the sake of others who may have programmed themselves into the same situation. After further study, and killing sections of my code at a time it became apparent that the memory hog was this function, def read_barcode(). It is recursive every 1/2 second. As...
by henryhanselscott
Wed Mar 11, 2015 5:41 pm
Forum: General discussion
Topic: Strange Behavior/Python Script
Replies: 5
Views: 941

Re: Strange Behavior/Python Script

More info..... As I stated at the first this script autostarts. Using task manager I have determined that Python 3.2 uses more and more memory after boot as time goes on. HOWEVER, if I stop the script right after boot, start Geany (my IDE) and launch the same exact python script and then open the ta...
by henryhanselscott
Wed Mar 11, 2015 4:59 pm
Forum: General discussion
Topic: Strange Behavior/Python Script
Replies: 5
Views: 941

Re: Strange Behavior/Python Script

At this point the Rpi has been booted for about 3 hours. Looking at the task manager Python 3.2 started out using 50mb of memory when everything first started out. Now, python 3.2 is at 66mb and is still climbing. Nothing else has been touched since boot? If I post my script could someone take a qui...
by henryhanselscott
Wed Mar 11, 2015 2:28 pm
Forum: General discussion
Topic: Strange Behavior/Python Script
Replies: 5
Views: 941

Re: Strange Behavior/Python Script

Looking at the task manager is shows that I am currently using 96 mb. However, I just restarted the Rpi so it may increase over time. I am using a RS232 serial barcode reader coming into the pi via a USB to Serial adapter. I have also read this same barcode reader using the GPIO UART port and the sy...
by henryhanselscott
Wed Mar 11, 2015 2:10 pm
Forum: General discussion
Topic: Strange Behavior/Python Script
Replies: 5
Views: 941

Strange Behavior/Python Script

I have a Python Script that autostarts on boot. All is fine.........program executes perfectly. Now the issue.. If I manually close the Python script (uses the x environment with tkinter) with the X button it closes normally ONLY if I close it within 30 minutes of bootup/program start. If I wait lon...
by henryhanselscott
Mon Mar 09, 2015 4:17 pm
Forum: General discussion
Topic: android usb keyboard
Replies: 11
Views: 2645

Re: android usb keyboard

Probably no help to you but..................on the RPI install x11vnc, set up autostart to run on boot. On the Android device install VNC viewer app (free). You will have a keyboard available on the VNC viewer app that can keystroke the RPI. I use this solution and it works just fine.

Henry
by henryhanselscott
Mon Mar 02, 2015 10:59 am
Forum: General discussion
Topic: Scheduled reboot for system health?
Replies: 5
Views: 1102

Scheduled reboot for system health?

Being a noob to linux and also new to the RPI platform I am wondering if a scheduled reboot helps insure up time. My project will have several hours a day that really nothing is happening and I could cause a reboot to happen during those times. Is there any benefit to this at all?

Thanks,
Henry
by henryhanselscott
Sun Mar 01, 2015 3:36 pm
Forum: General discussion
Topic: Alternative to SD card for deployed RPI
Replies: 4
Views: 1032

Re: Alternative to SD card for deployed RPI

Mounting the SD card read-only and only remounting it read-write while performing updates is a approach that seems to work well. [/b] 1. So I have read post about making the SD image read only for the pi1........has it changed for the pi2, I have not seen any instructions for the pi2 regarding read...
by henryhanselscott
Sun Mar 01, 2015 2:15 pm
Forum: General discussion
Topic: Alternative to SD card for deployed RPI
Replies: 4
Views: 1032

Alternative to SD card for deployed RPI

With some concerns still lingering about SD cards long term stability I would like to know more about options for operating without the SD card all together. I have been reading about external USB hard drives and that seems to be viable, but I am looking for a lower price point. My RPI projects will...
by henryhanselscott
Wed Feb 18, 2015 10:36 pm
Forum: General discussion
Topic: First taste of RPI2, Geany screams!
Replies: 0
Views: 287

First taste of RPI2, Geany screams!

Wow, I have always done all code generation and compiling on the rpi with Geany IDE. Once code gets over a few hundred lines Geany runs like a dog on the former models. I see no reason now why anyone would want to build code on another machine and load it to the pi now.

Great job foundation!

Henry
by henryhanselscott
Mon Feb 16, 2015 2:41 pm
Forum: General discussion
Topic: pi2 internet banking?
Replies: 10
Views: 1773

Re: pi2 internet banking?

OK, I think that I am good with just one more question. I really appreciate all the responses! On my MS Box, firefox will auto-update from the browser environment with security patches. Will it (IceWeasel) update itself on the RPI or will I have to manually update it from the command line from time ...
by henryhanselscott
Mon Feb 16, 2015 2:06 pm
Forum: General discussion
Topic: pi2 internet banking?
Replies: 10
Views: 1773

Re: pi2 internet banking?

I currently use Firefox with my MS box for banking and my bank is good with it. Do I simply sudo apt-get install firefox to get it on my pi2?
by henryhanselscott
Mon Feb 16, 2015 1:05 pm
Forum: General discussion
Topic: pi2 internet banking?
Replies: 10
Views: 1773

pi2 internet banking?

So with the advent of the pi2 and the possibilities of using it for a light weight desktop pc, what concerns would one have with using it for secure functions like online banking. I woke this morning to find a troubling popup on my windows box that indicates a possible infection, despite the fact th...
by henryhanselscott
Tue Feb 10, 2015 3:04 pm
Forum: General discussion
Topic: Undervolt on Pi 2, with 2A supply, why?
Replies: 29
Views: 9250

Re: Undervolt on Pi 2, with 2A supply, why?

It seems that wimpy micro USB cables are the norm. Building your own cable might be problematic. Probably been asked before, but if you properly fuse a 5VDC source into the GPIO could you not skip running power through the micro USB?
by henryhanselscott
Sun Feb 01, 2015 10:37 am
Forum: General discussion
Topic: RPI and brownouts?
Replies: 2
Views: 1016

RPI and brownouts?

My project will eventually be deployed in several dozen remote locations (its an inventory control system) and my concern is OS image corruption during brownouts and power loss. Yesterday while my prototype was running I had a brownout and my data got corrupted. The RPI booted back up and ran normal...
by henryhanselscott
Wed Jan 28, 2015 11:50 pm
Forum: General discussion
Topic: Auto-run application
Replies: 11
Views: 2089

Re: Auto-run application

Had it working, now its broke again? My finished project uses an SPI 3.2" touch screen, much like the most popular Adafruit units. However, I did all of my development using my pi connected to a full size monitor thru HDMI so that it would be easy to work with and debug. When I finally go my project...
by henryhanselscott
Wed Jan 28, 2015 12:46 pm
Forum: General discussion
Topic: XRDP to already running app?
Replies: 2
Views: 638

Re: XRDP to already running app?

Yes, it is a GUI app that is running 24/7. It also is a virtual type application where the entire screen is covered by the python app and no trace of Linux is seen by the user. When I log into it remotely, I want the GUI of my app to come up and NOT the standard RPI desktop.

Thanks!
Henry
by henryhanselscott
Wed Jan 28, 2015 10:50 am
Forum: General discussion
Topic: XRDP to already running app?
Replies: 2
Views: 638

XRDP to already running app?

My Pi project is designed to run 1 python script all the time. It serves as a remote inventory control system. What I would like to be able to do is use remote desktop and connect to my pi and have the program interface (this is a graphical program in tkinter and it also uses a small touch screen) c...
by henryhanselscott
Tue Jan 27, 2015 9:33 pm
Forum: General discussion
Topic: Auto-run application
Replies: 11
Views: 2089

Re: Auto-run application

OK, I finally got this to work. Many thanks for the help! I have a couple of questions still yet so that I am sure that I understand correctly what I am doing: 1. The last 2 things that I did to make this work was to right click the .desktop file and make it executable with the check box. I then did...
by henryhanselscott
Sun Jan 25, 2015 10:50 pm
Forum: General discussion
Topic: Auto-run application
Replies: 11
Views: 2089

Re: Auto-run application

So, I figured out that I am supposed to create a autostart folder; My program is named RAT 0.1.6.py and it is saved in /home/pi. So do I ? [Desktop Entry] Encoding=UTF-8 Name=RAT 0.1.6.py GenericName=pi Control Panel Comment=pi Control Panel TryExec=/home/pi/RAT 0.1.6.py Exec=/home/pi/RAT 0.1.6.py I...
by henryhanselscott
Sun Jan 25, 2015 9:11 pm
Forum: General discussion
Topic: Auto-run application
Replies: 11
Views: 2089

Re: Auto-run application

Yes Dougie, you are right...I need the X environment so that tkinter can run. But, I am lost as to how to create the files that you are describing.

/home/pi/.config/autostart/foobar.desktop

There is no autostart folder in my config folder, so do I create it?

Thanks

Go to advanced search