Go to advanced search

by MarkHaysHarris777
Sat May 28, 2016 8:17 pm
Forum: Troubleshooting
Topic: Screen size too small on Rpi3, Ubuntu Mate
Replies: 2
Views: 6286

Re: Screen size too small on Rpi3, Ubuntu Mate

How do I make the Pi use the correct resoultion here, for HD TV? I have not used any other OS on the PI except Raspbian; I'm assuming that the boot process into Ubuntu is the same, and that the system still uses the same /boot partition and the same /boot/config.txt-- if this is true, then you just...
by MarkHaysHarris777
Sat May 28, 2016 8:06 pm
Forum: HATs and other add-ons
Topic: Gertboard AVR Programming Counter.ino Demo
Replies: 5
Views: 2474

Re: Gertboard AVR Programming Counter.ino Demo

Edit: OP updated the code section (v.02h) I added serial interface command menus, help menu, and license menu. At this point I am very interested in playing around with serial commands and feedback over twisted pair. The IoT idea I'm working on is metrics and control being handled by the micro-contr...
by MarkHaysHarris777
Sat May 28, 2016 3:39 pm
Forum: General discussion
Topic: ifconfig and desktop icon show different IP addresses
Replies: 8
Views: 1515

Re: ifconfig and desktop icon show different IP addresses

broe23 wrote:dhpcd is a holdover from the early days of Linux. You will still find a few legacy files laying around that are no longer used.

They are kept for classroom training only.
What an ignorant comment ...

... there is no such thing as dhpcd ...

You can read about dhcpd and dhcp at these links.
by MarkHaysHarris777
Sat May 28, 2016 9:01 am
Forum: HATs and other add-ons
Topic: Gertboard AVR Programming Counter.ino Demo
Replies: 5
Views: 2474

Re: Gertboard AVR Programming Counter.ino Demo

'h' keypress -- 'hello, world' 'r' keypress -- AVR cycle counter reset request 'l' keypress -- 'LED counter = <current counter>' 's' keypress -- AVR LED counter high-low order swap request I modified the Counter.ino demo code to allow for sub-command loops(), which are controlled via serial interfa...
by MarkHaysHarris777
Sat May 28, 2016 8:42 am
Forum: General discussion
Topic: GPIO Pins Not Working
Replies: 6
Views: 1286

Re: GPIO Pins Not Working

All registers remember their state while the Pi is powered. That state isn't maintained over a power off/on. Right... I didn't mean to imply otherwise. I've never observed that behavior either. It's probably more accurate to say the GPIO peripheral is in the SoC. Thanks for the clarification. I'd l...
by MarkHaysHarris777
Sat May 28, 2016 6:12 am
Forum: General discussion
Topic: GPIO Pins Not Working
Replies: 6
Views: 1286

Re: GPIO Pins Not Working

The pinblock (which I have learned is actually on the GPU) remembers its state. So, when you exit you should set your outputs off, and call GPIO.cleanup(). edit: to make myself clear... ... if you initialize the GPIO, define a pin as output, and then set it HIGH-- and then call GPIO.cleanup() the pi...
by MarkHaysHarris777
Sat May 28, 2016 6:06 am
Forum: Advanced users
Topic: Will heat from RPi damage LiPo battery?
Replies: 2
Views: 707

Re: Will heat from RPi damage LiPo battery?

What are the specs on the battery? Test it. When enclosed in the case how hot does the zero get? Use this code to find out: (I think it will work on the zero) #!/bin/bash # Script: my-pi-temp.sh # Purpose: Display the ARM CPU and GPU temperature of Raspberry Pi 2/3 # Author: Vivek Gite <www.cybercit...
by MarkHaysHarris777
Sat May 28, 2016 1:01 am
Forum: General discussion
Topic: "Error moving file: Permission Denied" how to fix/remove it?
Replies: 10
Views: 13450

Re: "Error moving file: Permission Denied" how to fix/remove

... need to do that,move some of the files so I could host my website on it! How I could do that? Change the folder permissions temporary and after moving them,change it back to it's older condition or there is any other way? Thanks :) What permissions does your html folder have now? You could try ...
by MarkHaysHarris777
Fri May 27, 2016 8:33 pm
Forum: General programming discussion
Topic: Reducing Rpi3 power consumption
Replies: 1
Views: 926

Re: Reducing Rpi3 power consumption

No can do... well, not and use the PI at the same time ! Its a little like security... the most secure server is the unplugged server... and the most efficient PI is the powered off PI ! The Broadcom engineers need to come up with a more efficient SoC IMHO that can compete (from an energy standpoint...
by MarkHaysHarris777
Fri May 27, 2016 8:26 pm
Forum: Troubleshooting
Topic: Networking help, please?
Replies: 4
Views: 834

Re: Networking help, please?

note: you should never post your networking information on-line under any circumstance: 1) its not necessary to solve the problem, and 2) someone will use it to own you... Is someone going to hack into those 192.168.x.x addresses based on that post? :roll: There was no publicly accessible informati...
by MarkHaysHarris777
Fri May 27, 2016 8:08 pm
Forum: HATs and other add-ons
Topic: Gertboard AVR Programming Counter.ino Demo
Replies: 5
Views: 2474

Gertboard AVR Programming Counter.ino Demo

The following sketch expands on the standard blink concept including the basics of LED pin wiggling, button input using the Gertboard button paradigm, and including a serial comm interface for monitoring the process; as well, giving the AVR commands (which affect the AVR coding!) Gertboard_demo.jpg ...
by MarkHaysHarris777
Fri May 27, 2016 7:21 pm
Forum: Troubleshooting
Topic: Networking help, please?
Replies: 4
Views: 834

Re: Networking help, please?

note: you should never post your networking information on-line under any circumstance: 1) its not necessary to solve the problem, and 2) someone will use it to own you... ... to get to your systems from the outside (assuming your router is setup to do port forwarding, you will only be able to get t...
by MarkHaysHarris777
Fri May 27, 2016 7:14 pm
Forum: General discussion
Topic: "Error moving file: Permission Denied" how to fix/remove it?
Replies: 10
Views: 13450

Re: "Error moving file: Permission Denied" how to fix/remove

... so I wanted to know how the heck I could make this so I could move every file everywhere! Please consider not doing that ... it would mean running as root all the time ... a very very very bad plan. How much do you know about file permissions on unix ? There are some VERY good reasons for NOT m...
by MarkHaysHarris777
Fri May 27, 2016 7:01 pm
Forum: General discussion
Topic: Connect ssh from MAC to Pi3
Replies: 9
Views: 1789

Re: Connect ssh from MAC to Pi3

Make certain you can ping the host: sudo ping -c 7 <hostname> Also, um, did you change the port number is /etc/ssh/sshd_config ? Try this command line: ssh -p 22 pi@<hostname Also, the sshd server may have crashed on the PI. If you can get into the machine with a monitor and display (or serial conso...
by MarkHaysHarris777
Fri May 27, 2016 6:49 pm
Forum: General discussion
Topic: ifconfig and desktop icon show different IP addresses
Replies: 8
Views: 1515

Re: ifconfig and desktop icon show different IP addresses

My next issue is that as soon as I declare eth0 as a static IP, for some reason I can no longer ping any of the wireless connections on the wireless network :-( When you set a static IP you ALSO must set a default gateway address route. sudo route add default gateway 192.168.x.x ... the default gat...
by MarkHaysHarris777
Fri May 27, 2016 5:57 am
Forum: General discussion
Topic: ifconfig and desktop icon show different IP addresses
Replies: 8
Views: 1515

Re: ifconfig and desktop icon show different IP addresses

This is normal (although irritating). ... if you use ifconfig to set your NIC ( ifconfig does not pass its info on to the network manager). The info on the network manager tool shows the connections it is configured to establish (or has tried to establish) and does not reflect manual info from ifcon...
by MarkHaysHarris777
Fri May 27, 2016 5:50 am
Forum: General discussion
Topic: set port number depending on hostname
Replies: 6
Views: 1010

Re: set port number depending on hostname

I need to write a bash script that will set a port number variable, depending on the hostname ... Is there a way to calculate the port number? Of course; if you're not familiar with SED and AWK (with regular expressions) its time you learned. These two tools (intimately tied to regular expressions ...
by MarkHaysHarris777
Fri May 27, 2016 5:34 am
Forum: Français
Topic: Raspberry / serveur
Replies: 2
Views: 607

Re: Raspberry / serveur

Cependant, le script transite des variables de mon site vers un arduino connecté en USB SUR LE RASPBERY . Personally, I would try to use the serial lines (GPIO14 GPIO15) on the PI to the serial pins of the Arduino, rather than USB. On the Arduino you can do one or the other; but not both. On the Ar...
by MarkHaysHarris777
Fri May 27, 2016 5:06 am
Forum: Beginners
Topic: Wiring PI
Replies: 3
Views: 948

Re: Wiring PI

This is my first time using any microcontroller and this is confusing me a little. To add to what has been said already, an example of a micro-controller is the Arduino Uno . The Gerboard is another fine example. The long chip on the Gertboard is the Atmega328P... the same micro-controller chip fou...
by MarkHaysHarris777
Fri May 27, 2016 2:23 am
Forum: Troubleshooting
Topic: Power LED went out, 4.2volts, PSU good !
Replies: 9
Views: 1288

Re: Power LED went out, 4.2volts, PSU good !

dgordon42 wrote:Something tipped something when you were moving that 3v3 jumper on your Gertboard. The polyfuse (F1) did it's job. Glad your Pi survived.
Thanks! ... me too. :D

... I was already for a recycle ceremony (last rites and all that). whew... :?
by MarkHaysHarris777
Fri May 27, 2016 2:14 am
Forum: Troubleshooting
Topic: Power LED went out, 4.2volts, PSU good !
Replies: 9
Views: 1288

Re: Power LED went out, 4.2volts, PSU good !

.... How did I over current this thing? and How much current can I pull from the 5v supply?...... The hold current rating of the polyfuse on RPi 3 is 2.5A and 2.0A for the RPi 2. The trip rating is usually 2X the hold rating. I am wondering how in the world I managed to pull the trip current with m...
by MarkHaysHarris777
Fri May 27, 2016 2:12 am
Forum: Troubleshooting
Topic: Power LED went out, 4.2volts, PSU good !
Replies: 9
Views: 1288

Re: Power LED went out, 4.2volts, PSU good !

On the underside near the power connector. It's labeled 204E. https://hackadaycom.files.wordpress.com/2015/02/raspiback1.jpg On an original Pi I had to replace it with a new one because it was permanently broken. Though I guess that was a rare circumstance. Thank you for providing the pic also... o...
by MarkHaysHarris777
Fri May 27, 2016 12:48 am
Forum: Troubleshooting
Topic: Power LED went out, 4.2volts, PSU good !
Replies: 9
Views: 1288

Re: Power LED went out, 4.2volts, PSU good !

Where is the poly fuse (PPTC) located?
by MarkHaysHarris777
Fri May 27, 2016 12:25 am
Forum: Troubleshooting
Topic: Power LED went out, 4.2volts, PSU good !
Replies: 9
Views: 1288

Re: Power LED went out, 4.2volts, PSU good !

If you are lucky, it's just the poly fuse that has tripped due to over-current, leave it alone for 24 hours and try again ... ... I would not have believed it! (tonight the red light is ON solid, 5.0v on pin(2) and the pinblock passes all functional tests) :o :shock: Poly fuse ... <=== those ? Earl...

Go to advanced search