I believe the reason why this could not be working is because both the app and the Pi are communicating in different ways as the Pi is communicating over the socket layer and I believe the app is not (as it is not asking for a port). That would be my guess too, but I know nothing about App Inventor...
I have one that looks very similar to the first one (CSR 4.0) which seems to be working, mostly. But unless you need 4.0 for something special, I'd probably stick with a 2.0 dongle; generally cheaper and better supported.
And the hci0 status and services look good. Could something have changed on the Android end? What else might have changed between the time it was working and now? When investigating with command line tools like bluez-test-input, it's best to exit from X, which has it's own bluetooth manager running ...
Well, it might be a bit more complicated with UPnP. The usual UPnP renderer for the Pi, GMediaRender, is just that, a renderer. To control it, you need a control point, and I'm not aware of one for the Pi (someone please correct me.) Not yet anyway (It's on my list). On the other hand, it is easy wi...
It looks to me like I2C is up and running fine on the Pi, I I would suspect your connections to the device.
What's an example of an I2C device you have connected, and just how did you wire it?
hmhsbritannic12 wrote:Hi, I have been considering buying a pi for a few days now. I enjoy tinkering with computers and fixing things, and I have some experience with linux
Wow :) Thanks, Jim, I don't think there's a sentence there I disagree with, and I'm glad to hear it all, and hope others will listen. What struck me about this thread was the association of math(s) with computing, and computing with math(s), which I think is prevalent but misguided, and I think you ...
Clearly Jim Manley is MUCH more tuned in to this than myself, but from a theoretical standpoint, I don't see the applicability of computers to math(s) anymore than to philosophy, or I suppose literature. Excepting of course you can look up novels and philosophers much more easily with a computer, an...
Ok, I have a minute to look more closely at your code and results. It looks like you ARE sending both input records for press and release, but they're backwards. Take a look at your two 'NUDGE LEFT' events: NUDGE LEFT gpio 23: 0 [161, 1, [0, 0, 0, 0, 0, 0, 0, 0], 0, 0, 0, 0, 0, 0, 0] NUDGE LEFT gpio...
From your description I suspect a combination of two things: switch bounce and key repeat. Make sure you have some debounce timeout, start large and tune it down for performance. And assuming your buttons are wired to GND, the pull-ups should be on. Secondly key repeat. Each key stroke requires 2 in...
I find the easiest way is to put a button between a GPIO and GND, no (external) resistor required (but see below). Make double sure it's a GPIO pin and not a power pin. Then setup the GPIO as INPUT, with it's internal 'pull-up' resistor, and remember in your code that '1' is 'off' (unpressed) and '0...
Ok, here's the latest state of my Bluetooth HID code. This is very much a work in progress, but I'm posting the code in the hopes that others may find it useful and hopefully improve on it. Some set-up is required (I'm assuming the required software has been installed). For clarity, I've disabled al...
Yup, I had the Pi typing "Hello World" all over WordPad last night. The procedure is not so automated as I would like (setting the adapter class, adding the service record, setting discoverable and pairing must currently be done from the command-line, but you could add some python sys.os() calls or ...
Turns out Win7 doesn't like my Pi's CSR 4.0 BTLE adapter. I replaced it with a generic 2.0 dongle and things are working fine now. I cleaned up the code a bit, let me know if you want me to post it.
I've been a regular donor on DonorsChoose.org for a couple of years. This is a fine organization that facilitates crowd-funding for individual school projects in the United States. I continually see projects such as "My classroom needs an iPad/Kindle Fire!" which I routinely ignore, but I have yet t...
But no worse (except for the price.) Since you already have it, that card should work fine with the Pi, but not all SD cards are equal, even apart from class and size. Give it a try, should work.
I've been very happy with the supplies from Adafruit. 1 amp, and 5.25 volts, which overcomes most cable problems. 6 bucks US; not too much for peace of mind. The blue indicator LED is bright enough to attract UFOs, but that's par for the course. You could land an airplane in my apartment at night.
You could have done this with a minimusAVR and KADE firmware in about 10 seconds. But if you just wanted to exercise your brain then... mission accomplished. Checks the sign on the door - "Raspberry Pi", OK, I thought I may have been in the wrong place. Another 'buy more hardware' solution may have...
That's a can of worms. I don't believe the differences are big for learning purposes. About half the replies will say "Yes, meet the future, get used to 3", and the other half will say "Stick with what works, let someone else bleed on the edge for awhile". The problem is that some 'standard' modules...