em - there is no analog input on the Pi :( Ah crap! I'll go into Arduino, or a hat, then into then Pi. I forgot about that. Thanks! And current transformers are quite dangerous devices to me playing around with if new (or even if your old) to electronics/electrical engineering A current transformer...
Does the analog input on the Pi have enough resolution to be able to accurately tell the difference between 0.1, 0.05 and 0.075 volts? I have 3 lights I need to monitor. One of the lights uses 10 amps, the other 2 lights use 5 amps each. When all 3 are on, they use 20 amps total. I plan to have a Pi...
I installed libav for avconv. However, I get an error when trying to convert mp2's. It works great for WAV and MP3, but not MP2 input. I first tried: avconv -y -i file1.mp2 -acodec mp2 -b 256k converted_file.mp2 avconv version 9.14-6:9.14-1rpi1rpi1, Copyright (c) 2000-2014 the Libav developers built...
One of my Raspberry Pi 2 B+ operates as an FTP server. Using Python, files uploaded to the FTP server are moved to /mnt/windows/share/ over the LAN. Our power went out last night. The Pi would have booted much faster than the windows machines and probably failed to mount /mnt/windows/share/ which wa...
With my Pi's, I always create logs and have them emailed to me IF it runs into a problem. The one problem I ran into was using subprocess calls. How do you save output as a variable? Here's an example. Converting stereo MP3 to mono WAV I use this code: # convert file to WAV log = log + "Converting t...
Has anyone had luck compiling ffmpeg on the Pi 2? I love that it doesn't take 3 hours any more. Only 1 hour 9 minutes. Or maybe that's just when it fails. First I compiled x264, AAC, and MP3 with success. Following one guide says: ./configure --enable-shared --enable-gpl --prefix=/usr --enable-nonfr...
Add the following line to /boot/config.txt and reboot. dtoverlay=w1-gpio-pullup,gpiopin=4 The modules should be auto loaded. Thank you. I did add that line. I feel like I am still forgetting something. I did solve the LED issue. It was a typo on my part. LED's working great now, but still no temp. ...
Using my brand new B+ boards with brand new fresh install of the latest Raspbian, updated and upgraded. I am not able to access my DS18B20 temperature sensors. I'm guessing I missed a step that I completed already on my old boards. Here's what I did so far. Connected pin 3 on the sensor to the 3.3V ...
AndyD wrote:Yes, 20 (hexadecimal) is 32 (decimal).
Well I feel silly. Thanks Andy!
It must not be the spaces. For some reason notepad's two spaces and a line break are different from mine. I should be able to track it down now. Thank you all for the help!
What a great tool! It looks like spaces are there. 20 is space? using SSH to the pi, the file seems to have no space. Also in notepad on the windows server there seems to be no spaces. Hmm. :? 000000 20 0a 20 20 0d 0a 4d 6f 6e 64 61 79 0d 0a 4e 69 > . ..Monday.. I may be crazy, but I'm going to try ...
One of the machines, that reads reports, requires a blank line to have at least one character of whitespace. Otherwise, the line gets deleted and the report looks bad. I thought that would be simple, but writing a blank line with 2 characters of white space is proving to be difficult. Here's what I...
Thank you both very much! Two very good lessons for me. I was trying to put each line inside parenthesis, instead of separating by period. I'm still learning how python formatting works. I thought my Pi was slowing down because it was running out of ram. It was actually just stalling on slow web pag...
The following code works perfectly but, I assume there must be a better way. Would making this all one line use less ram, or are there hidden variables created anyway? Each line creates a new variable. If the website is large, the variables become large. import html2text import urllib2 req = urllib2...
Currently, I have a Windows based FTP server which moves the files that users upload to other computers on the LAN. Depending on the names or types of files, and the users name, determine where my batch file moves the files. I want to replace this setup with a Pi. One problem I occasionally run into...
This is probably why others seem to add a program for multiple users to sftp? I thought that was silly since sftp was already running on Raspbian by default. My first thought was just add users. Now I know better. I have learned much today!
that is normal, that a new created user can browse into many folders. some of them are necessary to be able to access, to execute programs. some folders can be browsed by the user, but is not able to open the files itself. you can remove some group memberships to reduce access privileges... the nob...
I'm still learning Linux (Raspbian) I'm used to dealing with windows accounts and permissions, so perhaps I am making this much harder than it needs to be. I want to create accounts for sftp that will not be able to browse, read, and download nearly the entire file system. Creating a new account by ...
1. Download http://mirrordirector.raspbian.org/rasp ... .1_all.deb 2. Copy it to the first partition of the SD card. 3. Boot up your Pi. If not using NOOBS: 4. sudo dpkg -i /boot/firmware-ralink_0.36+wheezy.1_all.deb That looks like the solution! Thank you!!! I will try this the second I get home! ...
Is there a way to load drivers/firmware on the SD card from another computer and have the Pi pick them up and use them? Google keeps turning up the same unhelpful line over and over: SMCWUSBS-N: Hardware detected as rt2800, but it is missing firmware; "sudo apt-get install firmware-ralink" fixed it ...
I am attempting to get a SMC "SMCWUSB-N2" working on a Raspberry Pi which only has 1 USB, and no LAN connector. I believe this is the model A. I installed a fresh Raspbian, which even came with Minecraft! That was cool! Anyway, I typed lsusb and my device was listed as: ID 0cf3:1002 Atheros Communic...