Wow, how lucky can you get. Couln't figure it out because it still wasn't letting me ssh in to the Pi from the CL as root. So, i opened a new Tab in the Term and tried ssh as non-root. This worked and i'm now into the Pi. Uf. What a day - six hours later - a working OS on the SD card. Boy, this is n...
This might be for you. In particular if you have successfully ssh-ed into the target host before. Following the discussion here, it appears that the problem, in summary, is KIO not being able to recognize a particular (new?) format of specifying a host in the ssh known_hosts list (a bug which has b...
Well, removed the SD card and looked at the files. Under one of the directories there were what appeared to be files which had not been expanded. So we did a reinstall. Also added the ssh and wpa_supplicant.conf files again. This time the Pi boots and the home Ethernet router can see it. However try...
Took out SD card and placed in PCLinuxOS computer. The card has two partitions: rootfs and 485D-5902. Both have files in them. i'm running a headless install so this is more challenging. i've also tried installing the WiFi antenna which worked in the old install and reconnecting, but all we get is j...
i just got a new 16 Gb SD card which came formatted as FAT and am using Linux. i used dd to copy the 4.5 .img to the SD. i added a small, text file to /boot called ssh and actually copied the wpa_supplicant.conf file from my old SD to the /etc/wpa... folder, after renaming the wpa_supplicant file al...
i've got a Raspi B and several months ago was working on a project. If i remember correctly it called for setting up the ethernet and wifi as one. Now, several months later, i've been able to get back to the project and find that i can't ssh into the Pi. In my router table both the Ethernet and Wifi...
mwilliams - uf - this looks like a winner. Want to try it out... tomorrow. It's a little late right now, but thanks. Again, many thanks a lot for your work and posting and have a great evening! :) Edit: BTW, i think i had seen that script before in one of my many searches but couldn't figure out whi...
Joan has very kindly provided us with some code #!/usr/bin/env python # i2c_ADXL345.py este es el accelerómetro de 3 ejes # 2015-04-01 # Public Domain import time import struct import sys import pigpio # http://abyz.co.uk/rpi/pigpio/python.html if sys.version > '3': buffer = memoryview BUS=0 ADXL345...
Thanks, gregeric, for the reply! i've already been using this Granger motor for a while with a LED and circuit board to track the sun, but since the LEDs were getting confused by stray reflections and we were going to use the Raspi for temp readings, we decided to try and adapt Jay's program to Pyth...
Thanks again for replying, BMS Doug. Our stepper motor arrived today. Boy, it's really heavy! i'm beginning to have doubts as to whether i've chosen the correct one for the job or not. i reviewed the specs on the one we have DAYTON - DC Gearmotor 12VDC Nameplate RPM 17 Max. Torque 30.0 in.-lb. It al...
Thanks for replying, BMS Doug! i really appreciate it. i've been a little busy but i've also been trying to decyphyer the last part of your comment: Your Nema 23 Stepper Motor specifications state that it has a 2A running current, the L298N is suitable for up to 2A. Here's a video of a Nema23 workin...
We've been adapting Jay Dosher's code (https://github.com/polyideas/Raspberry-Pi-Solar-Tracker/tree/master/Software%20(File%20System%20Root/usr/lib/cgi-bin) to work with our solar hot water heating system project (http://www.appropedia.org/Parabolic_Solar_Hot_Water_Heater) and have gotten to the poi...
Thank you mwilliams! That did it! After figuring out what M_PI meant and inserting its definition in the code as well, the program seems to be reporting a decent heading - lol - of -153. My Pi has decided to drop its wireless connection, so i've got to wait till it comes up again to move the IMU aro...
i think this is the correct forum to post this. i'm running an IMU and Joan (from another forum here on Raspberry Pi) has kindly provided the following script to read the compass heading sensor of this particular IMU. However i'm sort of weired out by the fact that the the code returns> -406 -207 11...
i've started trying to pare Jay's program down a little, eliminating the parts where he produces some sort of webpage. i've also tried to massage your i2c_ADXL345.py program in order to provide just one reading, which is what i think his code is "looking for". Please excuse my rough attempts at codi...
stderr - thanks for replying! Hmmm. Let's see. First of all i don't have a stepper motor yet. i've still got our original DC, 12V 1amp gearmotor. At this point i'm not even overly concerned about the motor part, since the heart of the matter is getting Jay's sections, which read his IMU, replaced wi...
Cancelor - wow! Thanks for joining the fun! Why do you want to make them into one program? i think we're talking about two different things, here. One is Jay's large program and the other is the three routines that Joan has coded. i think that Jay's program uses three inputs from his IMU. Since we a...
Thanks, again, stderr for replying. As for where getcurangle is used, i think it is being used here #In this section we angle the panels as needed starttime = datetime.datetime.utcnow() if (getcurangle() < getsolarangle()) and (getsolarangle() > lowestangle): print("Case 5") while (getcurangle() < g...
stderr! Thanks for replying! Very grateful. Regarding the "program". This program was developed by Jay Dosher (https://hackaday.io/project/7178-portable-2-axis-solar-tracker) to rotate and elevate solar panels. Our project really only needs rotation of the parabolic reflector. We don't contemplate r...
We are working on a solar hot water heater http://www.appropedia.org/Parabolic_Solar_Hot_Water_Heater and are trying to adapt Jay Dosher's code to run with the IMU that we have. Since we don't program, Joan, on another thread (https://www.raspberrypi.org/forums/viewtopic.php?p=929414#p929414) has ki...
Thanks, joan. i see that you are entirely correct. My bad. i guess it was pretty late and... i didn't compare the codes sufficiently to see that the one i have comes from somewhere else and is not yours. Arg.
joan, someone who was trying to help posted the following as part of his reply... "I am not familiar with that IMU or your code. The code has errors and the maths isnt correct. I did try and improve it, I also commented out the scale. The problem with this code is that it does not include tilt compe...