Go to advanced search

by alfista2600
Thu Aug 04, 2016 1:16 pm
Forum: Advanced users
Topic: I'm in the twilight zone.... using dd to create SD failing
Replies: 4
Views: 1172

Re: I'm in the twilight zone.... using dd to create SD faili

I pulled another disk from a working, test pi and was able to execute my dd process successfully. I think it was a mix of a couple bad flash drives, bad record keeping, and frustration in unmounting/powering off. I cannot partition any of the bad drives with a mac or linux box, or my DSLR (it only f...
by alfista2600
Wed Aug 03, 2016 6:03 pm
Forum: Advanced users
Topic: I'm in the twilight zone.... using dd to create SD failing
Replies: 4
Views: 1172

I'm in the twilight zone.... using dd to create SD failing

So, since 2013 I've always refreshed SD cards using dd and a fresh RPi image. Today, I've done this with three micro SD cards, and each time, after taking 55 seconds to transfer 1.3gb of Jessie Light Raspbian, I boot back into the exact same install that was on the Pi prior to applying the image. I'...
by alfista2600
Thu May 12, 2016 9:26 pm
Forum: Automation, sensing and robotics
Topic: Facing some problem in a small home automation project
Replies: 5
Views: 1159

Re: Facing some problem in a small home automation project

I'm not a pro, but I'd suggest using the ESP8266 and a MQTT broker/publisher.

Found a link here which seems like a good guide, but use this to start your research.

http://www.instructables.com/id/An-inex ... g-ESP8266/
by alfista2600
Fri May 06, 2016 2:56 pm
Forum: Automation, sensing and robotics
Topic: Controlling stereo with 3.5mm Serial Port
Replies: 1
Views: 559

Controlling stereo with 3.5mm Serial Port

I thought finding the answer to this would be easy, but I can't quite seem to find it. I built an IR blaster using LIRC and can control a stereo device with it. The device also has a serial input 3.5mm input. I have no specs on the port but would prefer to communicate this way than with an emitter. ...
by alfista2600
Tue May 03, 2016 6:34 pm
Forum: Troubleshooting
Topic: LIRC doing my nut
Replies: 4
Views: 1702

Re: LIRC doing my nut

sorry, just blasting but I can test receiving later today. Good luck with your vendetta. I know how it goes.
by alfista2600
Tue May 03, 2016 1:58 am
Forum: Troubleshooting
Topic: LIRC doing my nut
Replies: 4
Views: 1702

Re: LIRC doing my nut

as always, figured it out after a post. Not sure what I did, but here are the key elements from various config files: uname -a Linux pi-dev 4.1.19-v7+ #858 SMP Tue Mar 15 15:56:00 GMT 2016 armv7l GNU/Linux sudo lircd -d /dev/lirc0 /etc/modules commented out i2c-dev #lirc_dev #lirc_rpi gpio_in_pin=23...
by alfista2600
Tue May 03, 2016 1:47 am
Forum: Troubleshooting
Topic: LIRC doing my nut
Replies: 4
Views: 1702

Re: LIRC doing my nut

tied up as well. Read about 40 threads. Still dead, despite having it working on a Pi I configured a year ago.
by alfista2600
Mon May 02, 2016 1:27 pm
Forum: Other projects
Topic: Wall Mount Bezel For 7" Screen
Replies: 3
Views: 10540

Wall Mount Bezel For 7" Screen

Hi all - I'm looking for a nice bezel to mount an official 7" bezel in the wall of my travel trailer/camper. I'd prefer a black plexiglass or wood. Anyone seen anything decent?
by alfista2600
Fri Apr 22, 2016 1:01 pm
Forum: Python
Topic: Different behavior script vs interactive mode
Replies: 4
Views: 1244

Re: Different behavior script vs interactive mode

I think this describes the problem I'm having...

http://playground.arduino.cc/Main/Disab ... Connection
by alfista2600
Fri Apr 22, 2016 11:37 am
Forum: Python
Topic: Different behavior script vs interactive mode
Replies: 4
Views: 1244

Re: Different behavior script vs interactive mode

Thanks all... it appears that RPi and Arduino sometimes do not communicate well via USB serial:

viewtopic.php?t=86090&p=607868

I'll try a different model arduino first and then move on to using the onboard port
by alfista2600
Fri Apr 22, 2016 2:22 am
Forum: Automation, sensing and robotics
Topic: Best Practice: Serial Communication With Arduino?
Replies: 4
Views: 1392

Re: Best Practice: Serial Communication With Arduino?

Thanks again Mark and Dougie. I'm experiencing some serial weirdness outlined in this thread, if you are interested in checking it out.

viewtopic.php?f=32&t=145471&p=958835#p958835

Same behavior on two different RPi's
by alfista2600
Fri Apr 22, 2016 2:11 am
Forum: Python
Topic: Different behavior script vs interactive mode
Replies: 4
Views: 1244

Different behavior script vs interactive mode

Hi all, I've written a script to trigger a relay on an arduino using pyserial. If I run my script from the command line using python relay.py A nothing happens. However, if I paste the exact same lines into the interactive python app, it works just as expected. Then, if I exit out of the interactive...
by alfista2600
Thu Apr 21, 2016 1:11 am
Forum: Automation, sensing and robotics
Topic: Best Practice: Serial Communication With Arduino?
Replies: 4
Views: 1392

Re: Best Practice: Serial Communication With Arduino?

MarkHaysHarris777 wrote:At the end of the day, whether you pull, or push, its completely up to you.
Thanks Mark - lots to think about. I was afraid of this.
by alfista2600
Wed Apr 20, 2016 3:39 pm
Forum: Automation, sensing and robotics
Topic: Best Practice: Serial Communication With Arduino?
Replies: 4
Views: 1392

Best Practice: Serial Communication With Arduino?

Hi all, I'm starting to work on integrating RPi's with Arduino over serial for reading sensors and have a couple of questions. 1 - is it best to have the arduino stream data and have the RPi grab values when needed, or have the arduino respond to commands sent to it from the RPi, sitting idle in the...
by alfista2600
Fri Apr 15, 2016 12:55 pm
Forum: Automation, sensing and robotics
Topic: Tips: How to reverse engineer a one wire protocol
Replies: 0
Views: 352

Tips: How to reverse engineer a one wire protocol

Hi all, I desperately want to sense my RV tank level using one of these sensors with a raspberry pi instead of their proprietary controller. https://www.garnetinstruments.com/products/709ph-seelevel-tank-monitor-system/ http://www.dmbruss.com/zTige/Tige_SeeLevel.htm Can anyone provide some tips on h...
by alfista2600
Mon Apr 04, 2016 5:21 am
Forum: Advanced users
Topic: Read signal of an RV Tank Sensor
Replies: 9
Views: 2677

Re: Read signal of an RV Tank Sensor

looking further into this, the sensors look much more complicated. I know nothing about reverse engineering whatever protocol. Too bad... have much of my automation wrapped around a pi and don't want to invest in this controller.
by alfista2600
Mon Apr 04, 2016 5:00 am
Forum: Advanced users
Topic: Read signal of an RV Tank Sensor
Replies: 9
Views: 2677

Re: Read signal of an RV Tank Sensor

Scotty - did you ever end up doing anything with this? I'm thinking of doing the same thing. I saw another thread with someone planning on using a voltage meter running off the sensor to an arduino.
by alfista2600
Wed Mar 09, 2016 11:45 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: DHT22 / pigpiod / python error
Replies: 6
Views: 2704

Re: DHT22 / pigpiod / python error

Thanks again, Joan.

With the delay, the script now returns proper results, but then errors out. It looks like the command:

Code: Select all

pi.stop()
Is causing the error. I can work around that.

Thanks for the awesome code!
by alfista2600
Wed Mar 09, 2016 10:44 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: DHT22 / pigpiod / python error
Replies: 6
Views: 2704

Re: DHT22 / pigpiod / python error

Hi Joan, Thanks again for the response. Changing it to my GPIO and running DHT22.py directly worked! 1 38.9 23.4 0.19 0 0 0 0 2 40.8 23.4 0.19 0 0 0 0 3 40.8 23.3 0.19 0 0 0 0 4 40.7 23.3 0.19 0 0 0 0 So it must be some type of python configuration error, I guess? I'm still learning, and your troubl...
by alfista2600
Wed Mar 09, 2016 9:40 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: DHT22 / pigpiod / python error
Replies: 6
Views: 2704

Re: DHT22 / pigpiod / python error

joan wrote:The pigpio Python module requires that the pigpio daemon be running.

sudo pigpiod
Hi Joan!

Thanks for the reply. It was a bit out-of-order in my post (in the first code block), but it is running.
by alfista2600
Wed Mar 09, 2016 3:48 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: DHT22 / pigpiod / python error
Replies: 6
Views: 2704

DHT22 / pigpiod / python error

Hi all, I'm trying to use pigpiod and the example python code to read a value from a DHT22. I can do it with the Adafruit libraries, so I know my config works. Here's what I've done, using a Pi B 2. wget abyz.co.uk/rpi/pigpio/pigpio.zip unzip pigpio.zip cd PIGPIO make sudo make install wget abyz.co....
by alfista2600
Mon Oct 26, 2015 7:00 pm
Forum: Networking and servers
Topic: Connecting To Mac Server
Replies: 2
Views: 646

Re: Connecting To Mac Server

This is what I'm running into... Domain=[MINISERVER] OS=[Darwin] Server=[@(#)PROGRAM:smbd PROJECT:smbx-347] Sharename Type Comment --------- ---- ------- administrator's Public Folder Disk IPC$ IPC Other Backups Disk production Disk pi Disk Connection to 192.168.0.10 failed (Error NT_STATUS_CONNECTI...
by alfista2600
Mon Oct 26, 2015 6:27 pm
Forum: Networking and servers
Topic: Connecting To Mac Server
Replies: 2
Views: 646

Connecting To Mac Server

Hi All, I seem to be struggling connecting to a Mac El Capitan server with pi clients over encrypted SMB. I've had it working before, but can't seem to get it to work and a couple hours of scouring has turned up nothing. I seem to be hitting a NETBIOS error. Can anyone point me to a tutorial that mi...
by alfista2600
Sun May 31, 2015 4:03 pm
Forum: Advanced users
Topic: Power multiple 5v devices from 12v
Replies: 5
Views: 1978

Re: Power multiple 5v devices from 12v

Plenty of solutions. My favourite would be one or more UBECs as they take any voltage between 6-26V and convert it to 5V. Google. Thanks Joan - I am not sure if http://www.ebay.com/itm/231413141067 qualifies as a UBEC (it seems to, though) and I purchased one and have powered a Pi with it. I also s...
by alfista2600
Sun May 31, 2015 2:56 pm
Forum: Advanced users
Topic: Power multiple 5v devices from 12v
Replies: 5
Views: 1978

Power multiple 5v devices from 12v

Hi All, I don't have much of an electrical engineering background, but the Pi is starting to change that, which is very fun for me. We just bought a camper, and I'd like to run some 5v cabling to various areas of it to power a couple Raspberry Pis and charge phones and tablets. I'm thinking I can ge...

Go to advanced search