Go to advanced search

by harvey_slash
Wed Apr 01, 2015 12:20 pm
Forum: Beginners
Topic: Listening for 'trigger' word
Replies: 0
Views: 362

Listening for 'trigger' word

I am using Wit AI for NLP in my project. It has api's for listening using the mic, and sending that data to their servers for processing. I would like to know if there are any softwares that listen for specific words, so that I can proceed with the data sending. Offline options to detect that trigge...
by harvey_slash
Tue Mar 31, 2015 3:21 pm
Forum: Python
Topic: Multiple connections from a single Bluetooth Dongle
Replies: 11
Views: 15059

Re: Multiple connections from a single Bluetooth Dongle

thanks!

so final verdict is,

I CAN have two files with rfcomm1 and rfcomm2 open respectively and who are 'listening' for data from 2 hc06 modules CAN receive data together , right ?
by harvey_slash
Tue Mar 31, 2015 2:54 pm
Forum: Python
Topic: Multiple connections from a single Bluetooth Dongle
Replies: 11
Views: 15059

Re: Multiple connections from a single Bluetooth Dongle

i mean, when you are saying not at the 'same time' , it means the same thing as a processor running 'one thing at a time' , right ? it will seem to be immediate, but technically, 'same time' not possible . Please correct me if I am wrong. Also, suppose i run just this file bluetoothSerial = serial.S...
by harvey_slash
Tue Mar 31, 2015 1:27 pm
Forum: Python
Topic: Multiple connections from a single Bluetooth Dongle
Replies: 11
Views: 15059

Re: Multiple connections from a single Bluetooth Dongle

okay, im trying to clarify this is something i am using: bluetoothSerial = serial.Serial( "/dev/rfcomm1", baudrate=9600 ) bluetoothSerial.write( 'works') print bluetoothSerial.readline() Now, If I add another module, and add a /dev/rfcomm2 , then write another python file similar to the one above, c...
by harvey_slash
Tue Mar 31, 2015 11:48 am
Forum: Python
Topic: Multiple connections from a single Bluetooth Dongle
Replies: 11
Views: 15059

Re: Multiple connections from a single Bluetooth Dongle

So,I'll add an rfcomm2 definition, will connect BOTH at the same time. Can I pass data to and fro serial data at the same time ?
by harvey_slash
Tue Mar 31, 2015 9:46 am
Forum: Python
Topic: Multiple connections from a single Bluetooth Dongle
Replies: 11
Views: 15059

Re: Multiple connections from a single Bluetooth Dongle

Security apart,can it be done ? If not , I want to know how to send and receive data from multiple Bluetooth modules from a single adapter.

I read that in BT 4.0+ ,its possible to connect to multiple Bluetooth devices simultaneously. What are they meaning by this ?
by harvey_slash
Tue Mar 31, 2015 8:12 am
Forum: Python
Topic: Multiple connections from a single Bluetooth Dongle
Replies: 11
Views: 15059

Multiple connections from a single Bluetooth Dongle

I am using a usb bluetooth adapter on my PI 2 , which communicates to an arduino using HC-06 Bluetooth module. This script runs to connect to that module: #! /usr/bin/python import serial from time import sleep bluetoothSerial = serial.Serial( "/dev/rfcomm1", baudrate=9600 ) count = None while count...
by harvey_slash
Wed Mar 11, 2015 5:45 pm
Forum: Troubleshooting
Topic: LIRC MODE2 works, but IRRECORD and IRW dont
Replies: 1
Views: 1429

LIRC MODE2 works, but IRRECORD and IRW dont

I have set up a raspberry pi with a a photodiode and transistors. I want to add my custom remote, so I tried using irrecord to create the conf file (then replaced with /etc/lirc/lircd.conf). I was unsuccessful in doing so. At first the dots would appear, I would type the names, and it would store. O...
by harvey_slash
Tue Mar 10, 2015 11:08 am
Forum: Troubleshooting
Topic: LIRC / Raspberry PI 2 , No input
Replies: 4
Views: 1853

Re: LIRC / Raspberry PI 2 , No input

whaaaaaa?
i thought THAT is pin 25. Just checked, you were totally right!
IT WORKS!!! couldnt imagine it was this simple a problem

Thanks a ton :)
by harvey_slash
Tue Mar 10, 2015 10:14 am
Forum: Troubleshooting
Topic: lirc-rpi on the RPi2
Replies: 38
Views: 24903

Re: lirc-rpi on the RPi2

hello, I am having the same problems as you people. But I am not understanding what to do to fix. Please take a look at
http://www.raspberrypi.org/forums/viewt ... 55#p715655or
http://raspberrypi.stackexchange.com/qu ... 2-no-input
by harvey_slash
Tue Mar 10, 2015 9:53 am
Forum: Troubleshooting
Topic: LIRC / Raspberry PI 2 , No input
Replies: 4
Views: 1853

Re: LIRC / Raspberry PI 2 , No input

I have disabled device tree, but it still doesnt show any pulses. What should I try now ?
by harvey_slash
Tue Mar 10, 2015 8:54 am
Forum: Beginners
Topic: LIRC With 2-pin IR Receiver , possible?
Replies: 2
Views: 866

Re: LIRC With 2-pin IR Receiver , possible?

I have posted another question about a circuit that I made. could you please take a look at that ?http://www.raspberrypi.org/forums/viewt ... 61#p715561
by harvey_slash
Tue Mar 10, 2015 7:42 am
Forum: Troubleshooting
Topic: LIRC / Raspberry PI 2 , No input
Replies: 4
Views: 1853

LIRC / Raspberry PI 2 , No input

I want to use LIRC with my new RPI 2. To do that, I followed http://alexba.in/blog/2013/01/06/setting-up-lirc-on-the-raspberrypi/ tutorial. Basically it is telling me to do the following: Add this to your /etc/modules file: lirc_dev lirc_rpi gpio_in_pin=25 gpio_out_pin=22 2. Change your /etc/lirc/ha...
by harvey_slash
Tue Mar 10, 2015 4:02 am
Forum: Beginners
Topic: LIRC With 2-pin IR Receiver , possible?
Replies: 2
Views: 866

LIRC With 2-pin IR Receiver , possible?

I want to make an LIRC powered universal remote for my raspberry pi 2. I went out and purchased an IR LED and Receiver. However, unlike most tutorials that show the IR Receiver having 3 pins, my own IR Receiver has two pins, and looks exactly like other LEDS(with a bluish tint). I would like to know...
by harvey_slash
Fri Mar 06, 2015 12:16 pm
Forum: Beginners
Topic: Correct way to run LED from GPIO
Replies: 8
Views: 1422

Re: Correct way to run LED from GPIO

Resistor calculation is fine. I would like to learn about transistor calculation. Any links for that ?
by harvey_slash
Fri Mar 06, 2015 8:36 am
Forum: Beginners
Topic: Correct way to run LED from GPIO
Replies: 8
Views: 1422

Re: Correct way to run LED from GPIO

Can anybody give a tutorial to find the right transistor according to needs ? I found this : http://www.infineon.com/cms/en/product/ ... bfda37265e
But I am not sure about the values.

Give a descriptive example atleast ?
by harvey_slash
Fri Mar 06, 2015 5:37 am
Forum: Beginners
Topic: Correct way to run LED from GPIO
Replies: 8
Views: 1422

Correct way to run LED from GPIO

I want to power an LED using the PI's GPIO. For a reference, Im using the datasheet of http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Components/LED/YSL-R531FR1C-F1.pdf . What Im trying to use this for ,requires the LED to be on for long periods of time. Therefore I would like to know the 'correct' ...
by harvey_slash
Wed Feb 18, 2015 7:37 am
Forum: Troubleshooting
Topic: Bluetooth dongle Connection refused
Replies: 1
Views: 676

Bluetooth dongle Connection refused

I am following this tutorial : http://www.uugear.com/portfolio/bluetooth-communication-between-raspberry-pi-and-arduino/ I have installed the bluez. I have even been able to pair my dongle to my android . But when I run this python script: import serial from time import sleep bluetoothSerial = seria...
by harvey_slash
Sat Apr 26, 2014 6:51 am
Forum: Beginners
Topic: Charging batteries using a switching regulator
Replies: 8
Views: 1116

Re: Charging batteries using a switching regulator

but I dont have an option to buy online, and the place where i live, ac to dc adapters are not so easily available.
so tell me what voltage should i set the rectifier to in order to charge the batteries.
by harvey_slash
Sat Apr 26, 2014 6:09 am
Forum: Beginners
Topic: Charging batteries using a switching regulator
Replies: 8
Views: 1116

Charging batteries using a switching regulator

I have a 9.6 V battery (Ni-Cd) , and i have a variable switching regulator. When i use the charger supplied with the battery , i get a voltage input of around 11V, but it charges the battery fine. But whenever i output exactly 9.6 V from the switching regulator, the battery doesnt seem to charge at ...
by harvey_slash
Wed Apr 09, 2014 1:47 pm
Forum: Beginners
Topic: Powering Pi with batteries
Replies: 30
Views: 4624

Re: Powering Pi with batteries

no.
they are Ni-Cd 1000mAh batteries, 1.2V.
my batteries are quite old, could they be damaged ?
by harvey_slash
Tue Apr 08, 2014 2:10 pm
Forum: Beginners
Topic: Powering Pi with batteries
Replies: 30
Views: 4624

Re: Powering Pi with batteries

i dont seem to get enough power, as the lan doesnt work when i hook the batteries to the pi.
i am now using 8 AA batteries and l7805.
by harvey_slash
Tue Apr 08, 2014 8:21 am
Forum: Beginners
Topic: Powering Pi with batteries
Replies: 30
Views: 4624

Re: Powering Pi with batteries

that was a boot problem.

whenever i shutdown with -F , it works (it connects to the internet )

but i still have power problems when connecting from batteries


http://www.raspberrypi.org/forums/viewt ... 60#p531960
by harvey_slash
Tue Apr 08, 2014 8:18 am
Forum: Beginners
Topic: Raspberry Pi on batteries
Replies: 1
Views: 750

Raspberry Pi on batteries

I have the model B. I want to run the raspberry pi from batteries(with a usb 3g dongle attached to one of the usb ports) I just tried connecting 8 AA batteries to an LM7805, but i dont think the Pi worked properly, as the lights that turn on when a lan is connected ,were all off. When i connect it t...
by harvey_slash
Mon Apr 07, 2014 11:26 am
Forum: Raspbian
Topic: Wvdial weird behaviour
Replies: 2
Views: 534

Re: Wvdial weird behaviour

i am getting
ERROR while checking for pin'

Go to advanced search