Go to advanced search

by lilzz
Wed Jan 14, 2015 8:57 pm
Forum: Automation, sensing and robotics
Topic: Pi controlled Ultrasound Imaging machine.
Replies: 5
Views: 5231

Pi controlled Ultrasound Imaging machine.

I have those HY-SRF05 Sonar ranging devices to detect presence of objects. can they be used as Ultrasound imagining equipment they used in the medical areas? I am looking for an off the shell , inexpensive design that transmit and receive well through human membrane, and tissues. ===================...
by lilzz
Mon Jan 12, 2015 8:23 am
Forum: Off topic discussion
Topic: Possible to design a Super strong Magnet using Current Pump
Replies: 10
Views: 1600

Possible to design a Super strong Magnet using Current Pump

Positive feedback current pump to increase current from few Amp to few hundred Amp. In Electromagnetism theory, CUrrent looping through winding would generate Magnetism. Stronger the current stronger the magnetism. Objective is to design a super strong magnet in the order of few thousands gauss from...
by lilzz
Fri Dec 19, 2014 10:05 am
Forum: Advanced users
Topic: Interfacing 5V with PI GPIO.
Replies: 1
Views: 706

Interfacing 5V with PI GPIO.

The SRF02 ultrasound runs at 5V, but it seems safe to connect its output directly up to the Raspberry Pi’s 3.3V I2c bus, which saves the headache of having to convert from 3.3v to 5v in both directions on the same two wires. I guess this didn’t blow up my Pi because the I2c pulses are relatively sh...
by lilzz
Wed Dec 10, 2014 9:52 pm
Forum: General discussion
Topic: Possible to have Pi as server in a mobile car/
Replies: 9
Views: 1167

Re: Possible to have Pi as server in a mobile car/

Yes. How? Server needs static IP address, in mobile environment hw can that be done? If your using your cellphone for tethering to the Pi is using Wireless then a RPi will need 2 WiFi Adaptors and be set up as a Router, not easy ;) ok let's say it setup as such, then from outside what's the IP addr...
by lilzz
Wed Dec 10, 2014 2:14 pm
Forum: General discussion
Topic: Possible to have Pi as server in a mobile car/
Replies: 9
Views: 1167

Re: Possible to have Pi as server in a mobile car/

ame wrote:Yes.
How? Server needs static IP address, in mobile environment hw can that be done?
by lilzz
Wed Dec 10, 2014 2:09 pm
Forum: General discussion
Topic: Possible to have Pi as server in a mobile car/
Replies: 9
Views: 1167

Re: Possible to have Pi as server in a mobile car/

DougieLawson wrote:How do you plan to get the Raspberry Pi connected to the Internet?

Using a cell phone with tethering will be 100 times easier than trying to use a Raspberry Pi as a router.
by lilzz
Wed Dec 10, 2014 2:03 pm
Forum: General discussion
Topic: Possible to have Pi as server in a mobile car/
Replies: 9
Views: 1167

Re: Possible to have Pi as server in a mobile car/

How do you plan to get the Raspberry Pi connected to the Internet? Using a cell phone with tethering will be 100 times easier than trying to use a Raspberry Pi as a router. My Pi will serves somethings. so cellphone tethering will do? From outside what ip address or site I should connect to in orde...
by lilzz
Wed Dec 10, 2014 9:13 am
Forum: General discussion
Topic: Possible to have Pi as server in a mobile car/
Replies: 9
Views: 1167

Possible to have Pi as server in a mobile car/

Wifi tethering is getting on internet,but is it possible to have the pi as server to internet in a car?
by lilzz
Wed Dec 10, 2014 1:43 am
Forum: General discussion
Topic: should I use radar or Laser for truck detection
Replies: 2
Views: 791

should I use radar or Laser for truck detection

I trying a big truck and when I turn there's a bind spot which i cannot see people or cars . I want to devise a system using the Pi and it can detect whether there's something in the bind spot anywhere within 2 feet to the truck. Should I use laser or should I use doppler radar for this one? Pricing...
by lilzz
Fri Nov 28, 2014 6:38 pm
Forum: General discussion
Topic: how to automatically pairing of bluetooth devices
Replies: 4
Views: 6322

Re: how to automatically pairing of bluetooth devices

but at times pi has no keyboard and monitor, so how to automate the pairing without typing and viewing on monitor? The PIN code is there for a reason; security. I wouldn't want just anybody pairing their computer with mine. SSH is one option for pairing to a Pi with no keyboard or monitor (a networ...
by lilzz
Fri Nov 28, 2014 7:45 am
Forum: General discussion
Topic: bluez-simple-agent
Replies: 2
Views: 672

bluez-simple-agent

dbus.exceptions. DBusException Error
by lilzz
Thu Nov 27, 2014 10:34 pm
Forum: Python
Topic: how to detect system message
Replies: 1
Views: 474

how to detect system message

like wifi detected or bluetooth pairing request. all these system messages.

using python to detect system messages
by lilzz
Thu Nov 27, 2014 10:27 pm
Forum: General discussion
Topic: how to automatically pairing of bluetooth devices
Replies: 4
Views: 6322

how to automatically pairing of bluetooth devices

right now on pi, the pairing of bluetooth requires typing in passphrase like 0000 or 1234 between pi and other bluetooth system. but at times pi has no keyboard and monitor, so how to automate the pairing without typing and viewing on monitor? or write a script chart auto detect pairing message from...
by lilzz
Thu Nov 27, 2014 7:10 pm
Forum: General discussion
Topic: bluetooth has no discover_devices
Replies: 2
Views: 990

bluetooth has no discover_devices

i install bluez, python-bluez

Code: Select all

 bluetooth.discover_devices()
python complains no attributes of discover_devices for the module
by lilzz
Wed Nov 26, 2014 9:09 pm
Forum: Python
Topic: Pi bluetooth connection refused. Bug with Debian?
Replies: 0
Views: 331

Pi bluetooth connection refused. Bug with Debian?

I am using Pybluez server code in Python and I have a client.

/etc/bluetooth/main.conf
DisablePlugins = pnat
Then restart the Bluetooth service:-

sudo invoke–rc.d bluetooth restart



It keeps saying connection refused by server. IS that a bug with Debian?
by lilzz
Tue Nov 25, 2014 9:54 pm
Forum: Python
Topic: import bluetooth error
Replies: 2
Views: 1176

import bluetooth error

it says No module named bluetooth
by lilzz
Mon Nov 24, 2014 8:04 pm
Forum: Python
Topic: How to create a simple Proxy in Python
Replies: 1
Views: 531

How to create a simple Proxy in Python

a Proxy will determines whether the request is for the current Pi or it has to forward to different Pi server for information.
by lilzz
Sun Nov 23, 2014 6:05 pm
Forum: General discussion
Topic: Trying to make a Proxy for Pi
Replies: 0
Views: 209

Trying to make a Proxy for Pi

def rPiHTTPproxy(httpVerb,protocol,host,path,data,headers): if httpVerb == "GET": req = urllib.request.Request(url) try: response = responseBytes.decode('utf-8') return response My question is Javascript should knows the IP address of Pi1 and Pi 2. And if it sends the request to Pi 1 but with host ...
by lilzz
Sun Nov 23, 2014 5:28 pm
Forum: Troubleshooting
Topic: discrepancy in ADC reading.
Replies: 4
Views: 755

Re: discrepancy in ADC reading.

Best guess: (assuming code is OK) Vref is too low on the ADC On the input pin of the ADC, I measured it using a meter and read 1.54V but the ADC using SPI bus read 1.73V on Python code. There's a difference 0.2V. Is there anything I can do make them closer in reading? Vref is tied to Pi's 3.3V or 3...
by lilzz
Sun Nov 23, 2014 5:26 pm
Forum: Troubleshooting
Topic: discrepancy in ADC reading.
Replies: 4
Views: 755

Re: discrepancy in ADC reading.

joan wrote:Post a photo of your set up.
Wow, you can tell by just looking at the picture.
Here it goes. A simple MCP3208 using SPI bus and Vref and Vdd tied to Pi's 3.3V. The pot it also tied to 3.3V and GND.
by lilzz
Sun Nov 23, 2014 6:58 am
Forum: Troubleshooting
Topic: discrepancy in ADC reading.
Replies: 4
Views: 755

discrepancy in ADC reading.

On the input pin of the ADC, I measured it using a meter and read 1.54V but the ADC using SPI bus read 1.73V on Python code. There's a difference 0.2V. Is there anything I can do make them closer in reading?
by lilzz
Sun Nov 23, 2014 2:37 am
Forum: General discussion
Topic: Anywhere to download an old Pi OS below 2GB?
Replies: 5
Views: 2169

Anywhere to download an old Pi OS below 2GB?

I have a few SD Card that's 2 GB and I don't want to waste them.

The old OS is OK, where I can download them?
by lilzz
Wed Nov 19, 2014 10:12 pm
Forum: C/C++
Topic: Following C++ Array questions.
Replies: 4
Views: 919

Following C++ Array questions.

1) ClassA &* tempA; I guess that's a pointer to a reference. Why do you need a pointer to a reference? isn't a reference almost like a pointer itself. 2) ClassB<templA, templB>Ar (3, 4, 1) what does it means <templA, templB> ? I have seen one template parameter inside but not two. What's (3, 4, 1)? ...
by lilzz
Tue Nov 18, 2014 6:55 pm
Forum: C/C++
Topic: What's logic behind this?
Replies: 15
Views: 1879

What's logic behind this?

Code: Select all

 cfg = *(&pio->cfg[0] + index);
    cfg &= ~(0xf << offset);
    cfg |= val << offset;

    *(&pio->cfg[0] + index) = cfg
anyone see the logic of this?

Go to advanced search