Go to advanced search

by observing
Sun Mar 11, 2018 8:17 pm
Forum: Other projects
Topic: Building a GPS tracker with Raspberry Pi
Replies: 2
Views: 7586

Re: Building a GPS tracker with Raspberry Pi

I prototyped what you described with a RPi Zero, a Huawei E173s modem (which is like an E303), and a GP-20U7 GPS module. I ordered a SIM card from Hologram (https://www.hologram.io) because they were offering a developer plan of 1 Mbyte per month for free. I just wrote a small Python program to read...
by observing
Thu Nov 10, 2016 10:49 pm
Forum: General discussion
Topic: Z-wave
Replies: 3
Views: 781

Re: Z-wave

I have written home automation applications in C++ that run on the Pi. I use the OpenZWave library (https://github.com/openzwave/), which has an active community. My most stable application is on github (https://github.com/obzerving/zwhome), but I don't recommend that you use it. It's tailored for m...
by observing
Thu Nov 10, 2016 10:35 pm
Forum: General discussion
Topic: Looking for serial over WiFi solution
Replies: 3
Views: 2041

Re: Looking for serial over WiFi solution

I'm going to suggest that you investigate the ESP8266 wifi module. The module's original purpose is to transfer serial data over wifi, but it is also capable of being programmed. Even without programming it, it's capable of acting as an access point, so that might be useful in a device discovery sch...
by observing
Wed Oct 26, 2016 5:58 pm
Forum: General discussion
Topic: How to wirelessly connect Pi 3 to Espressif
Replies: 4
Views: 4087

Re: How to wirelessly connect Pi 3 to Espressif

Here's the way I did it with a light sensor: https://github.com/obzerving/OTALightSensor
by observing
Tue May 17, 2016 4:30 am
Forum: General discussion
Topic: Using an I2C clock (DS1307, DS3231) on latest raspbian
Replies: 13
Views: 7861

Re: Using an I2C clock (DS1307, DS3231) on latest raspbian

Just to close this thread, jwatte updated slam-clock a couple of days ago and the tutorial now works (for me, at least) as advertised. This gives me the opportunity to thank him for a neat and concise method for installing rtc support.
by observing
Fri May 13, 2016 6:55 pm
Forum: General discussion
Topic: Using an I2C clock (DS1307, DS3231) on latest raspbian
Replies: 13
Views: 7861

Re: Using an I2C clock (DS1307, DS3231) on latest raspbian

@DirkS: Thanks, but I still get the same error messages in syslog. I'm assuming you meant to replace the statement "dtparam=i2c_arm=on" with "dtoverlay=i2c-rtc,ds1307" in /boot/config.txt. @blaablaaguy: Could you check your /var/log/syslog and see if there are messages about /sys/bus/i2c/devices/i2c...
by observing
Fri May 13, 2016 1:35 pm
Forum: General discussion
Topic: Using an I2C clock (DS1307, DS3231) on latest raspbian
Replies: 13
Views: 7861

Re: Using an I2C clock (DS1307, DS3231) on latest raspbian

I tried your tutorial and ran into a problem. After the Pi boots up, I see these messages in syslog: Dec 31 19:00:17 zwhome slam-clock.sh[60]: ls: cannot access /sys/bus/i2c/devices/i2c-*: No such file or directory Dec 31 19:00:17 zwhome slam-clock.sh[60]: hwclock: Cannot access the Hardware Clock v...
by observing
Thu Dec 31, 2015 2:07 pm
Forum: Automation, sensing and robotics
Topic: Pinewood Derby Sensors Project Help
Replies: 4
Views: 1681

Re: Pinewood Derby Sensors Project Help

I haven't used the WiringPi library, but it seems like a well-written one and claims to support interrupts, so I would recommend that you view the documentation and examples on http://wiringpi.com/. By the way, my previous suggestion about putting light sensors on the starting line is probably overk...
by observing
Mon Dec 28, 2015 7:05 pm
Forum: Automation, sensing and robotics
Topic: Pinewood Derby Sensors Project Help
Replies: 4
Views: 1681

Re: Pinewood Derby Sensors Project Help

If there is no issue with drilling holes in the track, you could mount a photocell in each lane at the finish line. Each photocell would be hooked to a simple light sensor circuit (Google for "raspberry pi light sensor circuits") that produces a binary output compatible with rPi GPIO voltage levels ...
by observing
Tue Nov 25, 2014 5:12 pm
Forum: Automation, sensing and robotics
Topic: home automation woes?
Replies: 5
Views: 1153

Re: home automation woes?

It depends on what you want to do and how much you want to do yourself. I went with a zwave solution for automating lights and appliances. I wrote my own home automation software on the Pi using the open-zwave library ( http://code.google.com/p/open-zwave/ ). It's written in C++, but I've seen a pyt...
by observing
Fri Oct 03, 2014 12:25 pm
Forum: Graphics, sound and multimedia
Topic: PocketSphinx on speech recognition
Replies: 3
Views: 1376

Re: PocketSphinx on speech recognition

@aeyah14 In answer to your questions: 1. I don't have the Apple earphones with microphone, so I can't speak for their quality. However, I have used PocketSphinx on the RPi with a lower quality headset and had decent results. They will probably work with the RPi if you use a 4-pole 3.5 mm Female port...
by observing
Fri Jul 11, 2014 3:47 pm
Forum: General discussion
Topic: Raspberry Pi and cellular modem
Replies: 2
Views: 871

Re: Raspberry Pi and cellular modem

You didn't mention whether you had ever written any arduino sketches. If you have, then you already have experience with a simplified version of the C programming language. A text-based user interface could be easily implemented in that language on the rPi. Regardless of the language you use, the tr...
by observing
Thu May 08, 2014 4:02 pm
Forum: Automation, sensing and robotics
Topic: Z-Wave Home Automation
Replies: 4
Views: 5785

Re: Z-Wave Home Automation

If you can program in C++, you can use the OpenZWave library to write your own application. It supports the Aeon Labs Z-Stick2 controller. For more information, go to http://www.openzwave.com/
by observing
Fri Apr 11, 2014 1:08 pm
Forum: Automation, sensing and robotics
Topic: Speech Recognition with Pocketsphinx
Replies: 46
Views: 52937

Re: Speech Recognition with Pocketsphinx

The Jack error implies that PulseAudio is installed in your system. In my step-by-step instructions, I made note that It is important that the ALSA headers be installed before you build sphinxbase. Otherwise, sphinxbase will not use ALSA. It also appears that ALSA will not be used if PulseAudio is i...
by observing
Wed Apr 09, 2014 4:42 pm
Forum: Automation, sensing and robotics
Topic: Speech Recognition with Pocketsphinx
Replies: 46
Views: 52937

Re: Speech Recognition with Pocketsphinx

Mine is the SYBA SD-CM-UAUD USB Stereo Audio Adapter and I plugged it into a powered hub. ALSA sees this as a C-Media USB Audio Device. As I read back through this thread, I noted that the sound quality of this device was much better with a Windows system than with the RPi. I also made mention of a ...
by observing
Tue Apr 08, 2014 1:17 pm
Forum: Automation, sensing and robotics
Topic: Speech Recognition with Pocketsphinx
Replies: 46
Views: 52937

Re: Speech Recognition with Pocketsphinx

On the assumption that your USB microphone is functioning correctly and that arecord is correctly detecting it, the only other thing I can think of is to try adjusting levels with alsamixer or amixer. For other troubleshooting ideas, see http://www.raspberrypi.org/forums/viewtopic.php?f=38&t=37873 O...
by observing
Mon Apr 07, 2014 7:20 pm
Forum: Automation, sensing and robotics
Topic: Speech Recognition with Pocketsphinx
Replies: 46
Views: 52937

Re: Speech Recognition with Pocketsphinx

Rather than removing the plughw:1,0 parameter, replace it with hw:1,0. I think arecord should start throwing up errors when you give it a format or sampling rate that it thinks the hardware doesn't support. @Mach_5 If you're not getting good results from arecord, then it might be that the command li...
by observing
Mon Apr 07, 2014 3:29 pm
Forum: Automation, sensing and robotics
Topic: Speech Recognition with Pocketsphinx
Replies: 46
Views: 52937

Re: Speech Recognition with Pocketsphinx

@Mach_5 If you're not getting good results from arecord, then it might be that the command line parameters are incompatible with the USB microphone you're using. My hardware needed a sampling rate of 48000, but yours may require something else. Also, the plughw option will allow you to use formats n...
by observing
Tue Apr 01, 2014 5:14 pm
Forum: Graphics, sound and multimedia
Topic: Offline accurate voice recognition
Replies: 6
Views: 19611

Re: Offline accurate voice recognition

A year ago, I documented an offline speech recognition proof-of-concept on the raspberry pi using CMU's pocketsphinx. See https://sites.google.com/site/observing/Home/speech-recognition-with-the-raspberry-pi for the ALSA based solution. Later, Malcolm Jones came up with a PulseAudio based version an...
by observing
Fri Dec 27, 2013 1:53 am
Forum: Automation, sensing and robotics
Topic: Home Automation with Raspberry
Replies: 4
Views: 3074

Re: Home Automation with Raspberry

I would suggest that you look at the OpenRemote project. It will require you to learn a Java-type language and the documentation is lacking, but they seem to have various degrees of support for the RPi, Sonos, NAS devices, Z-Wave, Windows, iOS, and Android. If you're willing to do an archaeological ...
by observing
Sun Jul 28, 2013 2:04 am
Forum: Automation, sensing and robotics
Topic: PocketSphinx error
Replies: 10
Views: 17636

Re: PocketSphinx error

Nice work, Malcolm. Once you have your blog page set up, I'll put a link to it on my page for those who want a Pulseaudio-based solution.
by observing
Tue Jul 23, 2013 12:29 pm
Forum: Automation, sensing and robotics
Topic: PocketSphinx error
Replies: 10
Views: 17636

Re: PocketSphinx error

Malcolm, I may have missed it in reviewing your post, but I didn't see where you installed the Alsa development headers (e.g. apt-get install libasound2-dev). As I pointed out in my instructions (which appear to have been copied on codebangers.com as well), ALSA headers have to be installed before y...
by observing
Fri Mar 29, 2013 5:48 pm
Forum: General discussion
Topic: Raspberry Pi as a DVR? / TV recorder?
Replies: 26
Views: 46894

Re: Raspberry Pi as a DVR? / TV recorder?

This announcement from silicondust might be of interest to some of you:
http://www.engadget.com/2013/03/29/hdho ... -out-of-b/
by observing
Thu Mar 21, 2013 1:26 pm
Forum: Graphics, sound and multimedia
Topic: [SOLVED] ALSA/C-Media USB sound card issues
Replies: 13
Views: 105209

Re: ALSA/C-Media USB sound card issues

I also use a C-Media adapter. What I did was: 1. To configure the adapter to be card 0, I changed the following line in /etc/modprobe.d/alsa-base.conf from options snd-usb-audio index=-2 to options snd-usb-audio index=0 2. With /proc/asound/cards now showing the adapter as the default (card 0), I'm ...
by observing
Sun Mar 17, 2013 12:43 am
Forum: Automation, sensing and robotics
Topic: PocketSphinx error
Replies: 10
Views: 17636

Re: PocketSphinx error

That was a good catch, NickE. I'll add it as a cautionary note to my instructions.

Go to advanced search