Go to advanced search

by aleynasarcanli
Fri Feb 09, 2018 10:51 pm
Forum: Python
Topic: Python Ble Distance Problem
Replies: 9
Views: 1831

Re: Python Ble Distance Problem

I will search, thanks for all your help :)
by aleynasarcanli
Fri Feb 09, 2018 10:11 pm
Forum: Python
Topic: Python Ble Distance Problem
Replies: 9
Views: 1831

Re: Python Ble Distance Problem

Tried but I got zerodivision error.

Code: Select all

txpower = float(beacon.split(",")[4])
rssi = float(beacon.split(",")[5])
ratio = rssi/txpower
ZeroDivisionError: float division by zero
by aleynasarcanli
Fri Feb 09, 2018 9:55 pm
Forum: Python
Topic: Python Ble Distance Problem
Replies: 9
Views: 1831

Re: Python Ble Distance Problem

Code below, i want to make if in range, print beacon id (range 2 meters) import blescan import sys import bluetooth._bluetooth as bluez dev_id = 0 try: sock = bluez.hci_open_dev(dev_id) print "ble thread started" except: print "error accessing bluetooth device..." sys.exit(1) blescan.hci_le_set_scan...
by aleynasarcanli
Fri Feb 09, 2018 8:31 pm
Forum: Python
Topic: Python Ble Distance Problem
Replies: 9
Views: 1831

Re: Python Ble Distance Problem

i got this error :S

unsupported operand type(s) for /: 'str' and 'str'
by aleynasarcanli
Fri Feb 09, 2018 1:08 pm
Forum: Python
Topic: Python Ble Distance Problem
Replies: 9
Views: 1831

Python Ble Distance Problem

Hello, I need help about calculating distance of ibeacon with raspberry pi, I am scanning and finding ibeacons, but I need to know how much meter between scanner and ibeacon. I found one formula but it is written by java :S I need python code, can anybody help me about it ? java code below, i have t...
by aleynasarcanli
Sun Jun 05, 2016 11:47 am
Forum: Camera board
Topic: Camera Module With Sound
Replies: 0
Views: 586

Camera Module With Sound

Hello, I need help about raspberry pi camera board, I have a camera board and usb sound card, I want to record video with sound. raspivid works without sound perfectly, Arecord record audio perfectly. But I want record video with audio. I tried raspivid, ffmpeg but they didnt work :( my videos with ...
by aleynasarcanli
Fri Jul 03, 2015 10:01 am
Forum: General discussion
Topic: Omnikey fails
Replies: 2
Views: 1599

Re: Omnikey fails

it says always card removed. details below

Reader 0: OMNIKEY CardMan 5321 (OKCM0071710100955253878130471353) 00 00
Card state: Card removed,
by aleynasarcanli
Fri Jul 03, 2015 9:52 am
Forum: General discussion
Topic: Omnikey fails
Replies: 2
Views: 1599

Omnikey fails

Hello, I couldnt use omnikey 5321 usb smart card reader with raspberry pi. How can I use it ? I installed driver from hid global for linux. and I installed pcscd and pcscd-tools. please help ?
by aleynasarcanli
Mon Jun 29, 2015 5:12 pm
Forum: General discussion
Topic: NFC Problem
Replies: 11
Views: 1314

Re: NFC Problem

Anyone for help ? :(
by aleynasarcanli
Mon Jun 29, 2015 2:07 pm
Forum: General discussion
Topic: NFC Problem
Replies: 11
Views: 1314

Re: NFC Problem

mr Lawson, I found raspberry spi pins and attached it to the nfc board, nfc pin(10 cs pin) attached raspberry pi pin gpio 8 [ce(0)] and my code below, nothing working, always response "0" do you any idea ? import spidev import time spi = spidev.SpiDev() spi.open(0,0) while True: resp = spi.xfer2([0x...
by aleynasarcanli
Mon Jun 29, 2015 11:58 am
Forum: General discussion
Topic: NFC Problem
Replies: 11
Views: 1314

Re: NFC Problem

Ok, I am trying now :)
by aleynasarcanli
Mon Jun 29, 2015 11:50 am
Forum: General discussion
Topic: NFC Problem
Replies: 11
Views: 1314

Re: NFC Problem

Thank you mr Lawson, but I tried everything, it is not working. I cannot find when I run cat /dev/spidev :(
by aleynasarcanli
Mon Jun 29, 2015 11:12 am
Forum: General discussion
Topic: NFC Problem
Replies: 11
Views: 1314

Re: NFC Problem

oh, I am sorry :) I forgot link, ok. I added. I am searching for a long time, but i didnt find anything about it, now I dont have a much time, i must comunicate raspberry pi and nfc shield, and I must make python script for take any nfc card's uid. shield link below http://www.seeedstudio.com/wiki/N...
by aleynasarcanli
Mon Jun 29, 2015 7:34 am
Forum: General discussion
Topic: NFC Problem
Replies: 11
Views: 1314

NFC Problem

Hello everyone, I need some help. How can I use my nfc shield with raspberry pi ? my shield link below. I dont know which pins I must use, I must comunicate them with python. Please help, this is my homework :(

Go to advanced search