Go to advanced search

by bushrat
Thu Feb 04, 2021 12:54 am
Forum: MicroPython
Topic: looking for DHT22/ AM2302 driver/library
Replies: 11
Views: 1459

Re: looking for DHT22/ AM2302 driver/library

By using this datasheet ( https://cdn-shop.adafruit.com/datasheets/Digital+humidity+and+temperature+sensor+AM2302.pdf ) I was able to work out how the sensor's 1-Wire protocol works. Once you've triggered the sensor by sending LOW for at least 1000us, and then HIGH for between 20us and 40us, the sen...
by bushrat
Wed Feb 03, 2021 8:49 pm
Forum: MicroPython
Topic: looking for DHT22/ AM2302 driver/library
Replies: 11
Views: 1459

Re: looking for DHT22/ AM2302 driver/library

Would also love this! Just got a few DHT22 modules and I'm nearly done writing a driver using the PIO state-machines, but I'm certain a real driver would be vastly superior.

If I get my handmade one working I'll post it here so you've got something to start with!
by bushrat
Tue Jan 26, 2021 4:44 am
Forum: General
Topic: [SOLVED] Can't Enter BOOTSEL Mode
Replies: 4
Views: 1323

Re: Can't Enter BOOTSEL Mode (DOA?)

if not it's always the cable (TM) ... but seriously if that works for sure for data with another device, then that's odd. Finally worked it out! Out of the 5 micro-USB cables I had (all from different manufacturers), they were all charging-only (data lines physically not connected). In my testing I...
by bushrat
Tue Jan 26, 2021 1:25 am
Forum: General
Topic: [SOLVED] Can't Enter BOOTSEL Mode
Replies: 4
Views: 1323

[SOLVED] Can't Enter BOOTSEL Mode

Hey peeps, long time no see! I just got a small batch of 4 Pi Picos in the mail, but I can't seem to get any of them to mount as USB storage devices on any of my computers. I've tried different USB cables and all deliver power and data to my other devices, and the USB ports on my computers are funct...
by bushrat
Fri Mar 06, 2020 9:40 am
Forum: Android
Topic: [DEV] LineageOS 16.0 (Android 9) for Raspberry Pi 4 B
Replies: 250
Views: 106454

Re: [DEV] LineageOS 16.0 (Android 9) for Raspberry Pi 4 B

Hi guys, How much of Android currently works with the Pi? For example, could we get telephony going using something like this: https://www.adafruit.com/product/2691 (for example) I love the idea of getting Android going on the Pi as a way to bring repairability to devices like smartphones. With prop...
by bushrat
Wed Jan 18, 2017 11:48 am
Forum: Compute Module
Topic: CM Smartphone (PiCMo Phone)
Replies: 0
Views: 1407

CM Smartphone (PiCMo Phone)

Preface It's been a while since I've posted here but I was curious about a project that I don't know if anyone else has thought about. A while ago I read a writeup about the PiPhone which is rather ad-hoc, using an original Raspberry Pi and a lot of zipties. After reading about the release of the n...
by bushrat
Sat Dec 05, 2015 12:19 pm
Forum: Gaming
Topic: Nintendo DSi + Pi Zero
Replies: 15
Views: 22017

Re: Nintendo DSi + Pi Zero

I plan on putting a Pi inside a 3DS XL. One thing I would suggest, which I plan on doing is getting a Teensy. You can program it as a USB controller. This will allow you to use the DSi buttons. Also, the reason why I'm looking at the 3DS XL is that the top screen in 4.88" and you can get a 5&q...
by bushrat
Fri Dec 04, 2015 12:46 pm
Forum: Gaming
Topic: Nintendo DSi + Pi Zero
Replies: 15
Views: 22017

Re: Nintendo DSi + Pi Zero

On some DS models, the way it detected open/closed was a magnet detector placed opposite one of the loudspeakers... Now that's an idea, it surely wouldn't be too expensive to purchase one of those? I might buy a couple (or even fashion some myself) and that will add back the functionality. Cause su...
by bushrat
Fri Dec 04, 2015 11:18 am
Forum: Gaming
Topic: Nintendo DSi + Pi Zero
Replies: 15
Views: 22017

Re: Nintendo DSi + Pi Zero

On some DS models, the way it detected open/closed was a magnet detector placed opposite one of the loudspeakers... Now that's an idea, it surely wouldn't be too expensive to purchase one of those? I might buy a couple (or even fashion some myself) and that will add back the functionality. Cause su...
by bushrat
Fri Dec 04, 2015 5:02 am
Forum: Gaming
Topic: Nintendo DSi + Pi Zero
Replies: 15
Views: 22017

Re: Nintendo DSi + Pi Zero

Ok so a quick update, I've done a full teardown of my DSi and it really is a shame that I can't use the battery, charger and charging circuit. It is very neat and well organised and just gives a positive and negative for 4.6V, so I'm saving that gear for another project down the line. I've decided t...
by bushrat
Tue Dec 01, 2015 11:56 pm
Forum: Gaming
Topic: Nintendo DSi + Pi Zero
Replies: 15
Views: 22017

Nintendo DSi + Pi Zero

Hello Raspberry Pi community, long time no see :D After finding a much unloved Nintendo DSi in a storage crate almost exactly after reading about the Pi Zero's release, I've decided I would like to build a Zero into the case and retain as much of the original DSi aesthetics as possible. So I'm going...
by bushrat
Tue Nov 12, 2013 2:54 am
Forum: Gaming
Topic: Universal GPIO keyboard daemon
Replies: 148
Views: 78748

Re: Universal GPIO keyboard daemon

I'm trying to develop a modified version of this utility that translates keystrokes, I can get it to compile and run ok but it's not finding the /dev/uinput device. If I try and run 'sudo modprobe uinput' then i get the following error: ERROR: could not insert 'uinput': Exec format error Does anyon...
by bushrat
Sun Sep 08, 2013 1:35 am
Forum: Gaming
Topic: Universal GPIO keyboard daemon
Replies: 148
Views: 78748

Re: Universal GPIO keyboard daemon

Those buttons should work nicely, now how many buttons do you need? Because I believe you've said you'd want 11 buttons. If that is correct the. You shouldn't have to much issue with that as there are plenty of GPIO pin on the Pi. But the joystick is different. It doesn't work like the buttons do. T...
by bushrat
Sat Aug 03, 2013 2:14 pm
Forum: Python
Topic: text editor or compiler
Replies: 10
Views: 9035

Re: text editor or compiler

I highly recommend Geany, it's a very simplistic yet fully featured IDE (Integrated Development Environment) that works great in Python and many other languages, should you ever have the urge to learn, say, HTML, JavaScript, C++, etc. Also, its completely open source, free and cross-platform to, mea...
by bushrat
Thu May 30, 2013 2:05 am
Forum: Python
Topic: bluetooth import
Replies: 2
Views: 37147

Re: bluetooth import

How did you install BlueZ? Like this:

Code: Select all

sudo apt-get install bluetooth
If so, and I know it's a real cliche by now, try turning your Pi off and on again, you never know :)
by bushrat
Wed May 29, 2013 7:56 am
Forum: Raspberry Pi OS
Topic: uinput Key Repeat
Replies: 3
Views: 3747

Re: uinput Key Repeat

I believe the term is "bump"
by bushrat
Mon May 27, 2013 7:32 am
Forum: Raspberry Pi OS
Topic: uinput Key Repeat
Replies: 3
Views: 3747

Re: uinput Key Repeat

Does anyone have any idea about what's going on? :?:
by bushrat
Sun May 26, 2013 6:24 am
Forum: Raspberry Pi OS
Topic: uinput Key Repeat
Replies: 3
Views: 3747

uinput Key Repeat

Ok, I'll get straight to the point, uinput doesn't do key repeating, and it's very annoying. Basically, I've been using 2 bits of software, pikeyd (https://github.com/mmoller2k/pikeyd) and python-uinput (https://github.com/tuomasjjrasanen/python-uinput) both of which are completely unrelated, except...
by bushrat
Thu May 23, 2013 1:57 am
Forum: Gaming
Topic: Universal GPIO keyboard daemon
Replies: 148
Views: 78748

Re: Universal GPIO keyboard daemon

Hey guys, a quick question to anyone who has this software currently working, can anyone get key repeat working in any program/command line? By this, I mean, if anyone holds there button/switch down/closed, does the key keep pressing? e.g: gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg...
by bushrat
Mon May 20, 2013 10:46 am
Forum: Gaming
Topic: Universal GPIO keyboard daemon
Replies: 148
Views: 78748

Re: Universal GPIO keyboard daemon

No prob mmoller2k :)
by bushrat
Mon May 20, 2013 10:15 am
Forum: Gaming
Topic: Universal GPIO keyboard daemon
Replies: 148
Views: 78748

Re: Universal GPIO keyboard daemon

After having a chat with mmoller2k, we've nutted out a slightly neater circuit diagram for anyone looking to hook up an I2C chip to their Pi. Here it is:
Wiring 3.png
An updated I2C diagram.
Wiring 3.png (11.06 KiB) Viewed 8109 times
I hope this helps some ol' chap somewhere :)
by bushrat
Mon May 20, 2013 5:02 am
Forum: Gaming
Topic: Universal GPIO keyboard daemon
Replies: 148
Views: 78748

Re: Universal GPIO keyboard daemon

Well, I just tested the software using the latest update, no luck. As far as I can tell, the update didn't help. In my efforts to try and solve it myself, I looked through config.c and and uncommented the debug comments. The software can definitely can tell when I'm pressing and releasing the button...
by bushrat
Thu May 16, 2013 11:55 am
Forum: Raspberry Pi OS
Topic: Pretty boot
Replies: 8
Views: 8179

Re: Pretty boot

If anyone found this thread is looking for a quick tutorial on how to do this using fbi, try this:

http://www.edv-huber.com/index.php/prob ... i-raspbian

Good luck :D
by bushrat
Wed May 08, 2013 9:50 am
Forum: Gaming
Topic: Universal GPIO keyboard daemon
Replies: 148
Views: 78748

Re: Universal GPIO keyboard daemon

#joy.cfg #format: # [keycode from /usr/include/linux/input.h] [whitespace] [GPIO pin no] # Not limited to a single key. A GPIO press will emit all defined keys in order. KEY_7 17 Instead of writing: KEY_7 17 Try: KEY_7 11 Leave you button hooked up to the same pin, just change the number.
by bushrat
Wed May 01, 2013 12:51 pm
Forum: Gaming
Topic: Universal GPIO keyboard daemon
Replies: 148
Views: 78748

Re: Universal GPIO keyboard daemon

before you press ^C, does the button work? If not try each of these, testing between: A) In your config, change "KEY_7" to "7" B) Try "sudo modprobe uinput" before starting pikeyd C) Have a cup of Hot Chocolate and watch a nice film D) Take a quick power nap E) Reboot y...

Go to advanced search