Questions tagged [peripherals]

Peripherals are devices connected to the Raspberry Pi, but external from it.

Filter by
Sorted by
Tagged with
44
votes
6answers
23k views

How to measure temperature?

What can I connect to the RPi to measure temperature? I think devices connected to the I²C or SPI would make most sense. Here is a question about DHT-22 and other 1-wire devices. But at this stage it ...
43
votes
6answers
47k views

How to attach an Arduino?

The Arduino website sums it up as Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, ...
42
votes
6answers
13k views

How can I determine if a given touchscreen is compatible?

I want to attach a touchscreen to my Raspberry Pi. While doing some internet search about this, I found out that this is not trivial, because not all touchscreens are compatible. How do I find out, ...
35
votes
4answers
28k views

What is the highest performing hardware configuration?

I know that exact benchmark numbers will vary between manufacturers, but in general if you only consider higher end flash drives, SD cards, and USB HDDs and your Raspberry Pi is connected to a network ...
32
votes
4answers
38k views

What cameras can I connect to the CSI connector?

The model B comes with a MIPI Camera Serial Interface connector, but it's hard to find a store that'll sell you a chip or camera to interface with it. The only thing I've found so far is the the ...
31
votes
3answers
6k views

Hooking up a Kinect?

There is a driver project established to run Kinect on Linux. See here: https://github.com/OpenKinect/libfreenect Will this work with an RPi? What are the constraints/obstacles likely to be? I'm ...
30
votes
3answers
68k views

How can I use a bluetooth mouse and keyboard?

I have a spare Mac keyboard that I'd like to use with my Raspberry Pi when it's plugged into my TV, so that I can use it for surfing internet on my TV. Has anyone got a working configuration with a ...
28
votes
2answers
4k views

Can I use a USB webcam?

Is it possible to use a standard USB webcam with the RPi, or is there a specific peripheral that should be used? I would like to use RPi's to stream images from webcams to the net.
22
votes
6answers
32k views

How can I connect an analog to digital converter (ADC)?

I'm looking at options for ADC on the Rasbperry Pi. I'm wondering what is possible so far. Of course easy and cheap is good.
20
votes
4answers
17k views

How can I control Lego motors?

I'd like to find a way to make my Raspberry Pi control some Lego motors, and as a bonus I'd like to make use of one or more optical sensors. Normally, Lego robotics make use of the Mindstorms "brick" ...
16
votes
10answers
35k views

Is there a way to connect to a PSTN?

I'd love to run Asterisk on my Raspberry Pi. Does anyone know how I could connect to the telephone network? Obviously, PCI based cards aren't going to work.
14
votes
2answers
12k views

What advantage does the Pi-Face addon board bring to the Raspberry Pi?

I have come across the Pi-Face addon board and am wondering what additional capabilities this unlocks for the Raspberry Pi. From the website: The 'added value' we want to provide is the hardware ...
13
votes
4answers
6k views

To what extent can the device be used without a mouse?

I'm sure I read somewhere that the RPi can be used without a mouse, but is this 100% true? (I am planning on using debian.) To what extent can I control it without a mouse? Will I be able to do ...
13
votes
2answers
9k views

How can I connect a HD44780 based LCD?

Expanding on this question. I am looking at a few different ways to hook up a HD44780 to the GPIO pins and the various tradeoffs. Here's my "world clock" running off a RPi using I²C So far I've just ...
13
votes
4answers
2k views

Is it possible to control a SRAM module via the GPIO pins?

I would like to attach a SRAM module to the RasPi. My idea is to store sensitive (encrypted) data on the SD card but keep the key on a SRAM module. It would have its own backup battery (or ...
13
votes
5answers
15k views

Can I use a DHT22 as a temperature sensor for my Pi?

Is it possible to use a cheap temperature sensor such as the DHT-22 with the Raspberry Pi? I have found Arduino drivers for this and many similar things, and would be comfortable porting the code to ...
13
votes
1answer
15k views

How can I find out if my webcam is compatible? [duplicate]

Possible Duplicate: Can I use a USB webcam? Is there an official or other list of webcams that have been tested on the RPi?
13
votes
2answers
25k views

Bluetooth device is not available?

I followed this tutorial to set up my Bluetooth dongle and get it running. I have the same Bluetooth dongle that is in the tutorial, yet I can not seem to get it to work. I get to step "C" and then ...
13
votes
2answers
16k views

Can I use the screen/keyboard of a laptop with the Pi?

I have a very old, not very fast laptop. (The screen and keyboard work well, but the hard drive is dying and the RAM's getting slow). The other day an idea struck me: could I use the screen/keyboard ...
12
votes
2answers
17k views

How to use a DS18B20 temperature sensor in my Pi?

I have a few DS18B20 temperature sensors. These are normally used in Arduino projects, but I don't see why not to use them with a Pi. There is a software called DigiTemp that seems to drive the device ...
11
votes
2answers
17k views

How do I connect/disconnect a flash drive from the command line? [closed]

I am running Debian. I can plug in and view the contents of my flashdrive using filemanager under X, but how can I do this from the command line, and how can I safely remove it when I am done?
10
votes
4answers
10k views

12V device to a Raspberry Pi

For my school engineering project, I have a coin acceptor device which I would like to link to the Raspberry Pi. However the device requires 12V in power. I have an idea of what to do to power the ...
10
votes
2answers
21k views

Can the Pi Emulate an HID device with via USB? [duplicate]

Does the Raspberry Pi model B+ have the capabilities of acting as a Human Interface Device (HID) with no extra hardware (other than a USB to USB cable)? I saw this question but it was about ...
10
votes
6answers
13k views

Setting up Bluetooth dongle

I am trying to get my Bluetooth dongle set up. When I search for it using lsusb, the following comes up in the terminal: Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device ...
8
votes
2answers
838 views

Visual/audio status/activity indicators

What, if any, indicators of system status or activity are available on the Pi? Audio - I'm talking about a beep when it's turned off, or a series of beeps indicating POST information, etc. Video - ...
7
votes
3answers
5k views

How can I have multiple USB peripherals?

How can I have multiple USB peripherals connected to my Raspberry Pi at once? For example, I want to have a keyboard and a mouse plugged in at the same time.
6
votes
4answers
9k views

How can I use a PC laptop or Mac Book to run a Raspberry Pi?

I want to let some smart programers play with a few Raspberry Pi boards at an event I am running. They will all have laptops and internet access. We probably won't have access to keyboards and screens ...
5
votes
2answers
17k views

What commands do I use to make Bluetooth discoverable on RPi running Raspbian

hcitool scan on my RPi reveals the other local Bluetooth devices, but they do not recognise the RPi Bluetooth. Can anyone tell me the command to make Bluetooth discoverable on the RPi, please.
5
votes
1answer
30k views

Joystick/Gamepad not working in RetroArch

I've installed RetroArch following these instructions, and I would like to use my gamepad. I'm using a USB connector for my GameCube controller, and I'm running the pocketsnes emulator. The emulator ...
5
votes
1answer
870 views

How do I set up a terminal log-in via USB port in Raspbian?

How can I set up a log-in focused on a USB port so I can hook up a DB9-to-USB cable I already own up to log in using putty or minicom?
4
votes
3answers
374 views

Finding a relay capable of being constantly switched?

I've got a Raspberry Pi and some Christmas lights. I would like to use the Raspberry Pi to control the Christmas lights by switching them on and off with a Python script. The programming aspect of ...
4
votes
2answers
5k views

RPi 3 Model B: PSU, Measuring Voltage & Amps

I cannot, for the life of me, get enough power into my pi so the mouse & keyboard are operable. I have a RPi approved usb hub (Belkin: Hi-Speed USB 2.0 7-Port Hub) powering the mouse and the ...
4
votes
2answers
617 views

Raspberry Pi (Low) Power - Damage?

If the Raspberry Pi B+ is not receiving enough power and I try to use it, will it damage my Pi or peripherals?
4
votes
5answers
23k views

How can I automatically mount USB hard drives (regression)?

Recently (perhaps due to an update?) my hard drives no longer automatically mount. I have a USB hub attached to the Pi, with a wifi card and some hard drives attached to the hub. The hard drives are ...
4
votes
1answer
9k views

Bluetooth as ttyUSB*

I want to see my usb bluetooth dongle as a device ttyUSB*. It's possible? It shows "hci mode" in lsusb command. $ lsmod Module Size Used by rfcomm ...
4
votes
2answers
596 views

What type of motor and speaker would be suitable for a DIY: Making a Pi-powered baby mobile?

My neighbor is having his first child shortly, and in the spirit of "it's never too early to learn programming/electronics" we feel the child should have access to a Raspberry-Pi of his/her own. ...
4
votes
2answers
148 views

Ejecting USB dslr camera

I'm using gphoto2 to capture images with my nikon dslr connected to a raspberry Zero W My problem is that the camera stayes awake as long as there is a usb connection. How can I eject the USB ...
3
votes
3answers
1k views

GPIO input and output levels

I have some basic questions, sorry, I have'nt found this. What are output levels of GPIO (Raspberry Pi) I mean the voltage ranges of low and high for input/output What is the maximum current that ...
3
votes
1answer
244 views

Raspberry Pi Franken-charger: A Mini-B-to-Micro-B Conversion

So I go to the thrift shop around the corner, and I'm met with these two boxes in the electronics' section: I'm sifting through these one by one, tangle by tangle, searching for a power adapter that ...
3
votes
2answers
16k views

Barcode Scanners compatible with Raspberry Pi

I would like to buy a barcode scanner to use with Pi, so which one will be compatible with Pi..?? Something around $50 would be great, like the Barcode Scanners we use at POS (Point of Sale), ...
3
votes
1answer
2k views

Can the new raspberry pi B+ act as a usb sniffer?

I am trying to capture data from a computer going to a USB peripheral. I think the previous raspberry pi (model B) couldn't do this because it could not act a USB slave. But can the new raspberry pi B+...
3
votes
2answers
4k views

python audio bindings

I'm trying to get python audio input on my raspberry pi. So far I've installed the following: My inquiry looks similar to this one, but I'm not using an audio card, I just have a webcam plugged ...
3
votes
1answer
785 views

SPI DMA and continuous transfers

I'm building a project using the MCP3914 8-channel analog front end (ie ADC) device connected to the Raspberry Pi's SPI peripheral. The device has a continuous read mode where you request the value ...
3
votes
2answers
687 views

How to power Raspberry Pi 2 B with a powered USB hub that also powers peripherals?

I currently have a Raspberry Pi 2 B that I am trying to run off of a 2.5A 5V powered USB hub, while also having my peripherals off of that hub. I have the output of the hub to the regular Pi USB slot, ...
3
votes
1answer
7k views

sox & alsa sound recording issue

I've installed sox and now this whole thing is freaking out :) I'm trying to get sox to record a flac file for me. aplay and arecord work ok: pi@raspberrypi /tmp $ arecord -d 3 test1.wav Recording ...
3
votes
0answers
217 views

Adafruit Retrogame library will not send character press events

I'm trying to build a small arcade cabinet powered by the Raspberry Pi 2. I've got several arcade buttons (for ABXY, Insert Coin/Select and Start) and an 8-way joystick. I'm following the tutorial ...
3
votes
3answers
2k views

Using Pi 2 as feedthrough of mouse/keyboard to computer

The goal is to connect a mouse to my raspberry Pi, and have it connected to a computer (both linux and windows will be used). I want to have a LED light up whenever I use a right mouse click. So the ...
2
votes
2answers
2k views

How to operate a cooling fan using GPIO pins, RaspPi2

I have little to no experience with any form of computer software coding/editing but I have managed to get EmulationStation working (sort of) on my Raspberry Pi 2. I have a bought a fan and plugged it ...
2
votes
3answers
4k views

PH-4502C pH Sensor Calibration and ADC using MCP3008, PCF8591, and ADS1115

I have a pH meter (DIY-4502C) hooked up with Raspberry Pi. However, the instructions to calibrate is in Chinese and seems outdated. Does anybody know how to calibrate it for measuring pH4-7?
2
votes
2answers
11k views

Raspberry Pi Mini-fan not working

I have installed a mini-fan (cooler?) with a heatsink in a Raspberry Pi Model B+ but it is not working. I mean, it is not moving. Does it only turn on when the processor is hot? Do I need to install ...