Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now
40

Here's how to connect a MCP9804. You can use it like this: root@raspberrypi:~# modprobe i2c-dev root@raspberrypi:~# modprobe i2c-bcm2708 root@raspberrypi:~# i2cdetect -y 0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 1f 20: -- -- -- -- -- -- -- -- ...


38

Arduinos usually appear as USB serial devices. The current boards use the USB serial driver built into the main microprocessor, but older Arduinos (and clones) used separate third-party USB-serial chips. To simply receive Serial.print data on the Raspberry Pi from the Arduino, I use the GNU Screen program as a basic terminal: screen [serial-port] [baud-rate]...


35

In benchmarking you must always establish what your limits are. Because if you expect to get 100mbs out of that lan than you are only fooling your self! Look at this Block design of the RaspberryPI Model-B So we establish a very important fact here. Ethernet is bottlenecked by the USB controller because form the block digram we establish it is connected to ...


21

It offers a pre-made board (the trade-off is price) that isolates the GPIO pins and protects the Raspberry Pi from damage. It also provides additional/enhanced capabilities to the basic in/out offered by the Raspberry Pi's GPIO (it includes two relays to control larger power drawing devices, and allows you to connect a variety of sensors to allow the ...


20

I was able to get my Apple Wireless Keyboard and Magic Trackpad(without multitouch) working using the following steps: Packages & Tools You only really need to install the 'bluetooth' package but, I used the following command to install some test tools and the GUI Bluetooth manager: apt-get install bluetooth bluez blueman Edit (2015-12-20): the ...


16

The accepted answer is out of date. The official camera is available from most channels that sell the Raspberry Pi. I don't believe that there are any other cameras working with that interface though (yet!) However some people have used additional lenses or removed the IR filter for their special purposes/needs.


15

The issue is going to be drivers. As most products sold do not have open source drivers, it is up to someone with the know how to reverse engineer them. Because of this, if the device is not extremely popular, it is likely not going to be supported. I have not used one of these personally but sites do exist with hardware databases. The accuracy of the ...


15

Adafruit has a nice tutorial on using the MCP3008($3.75) - 8-Channel 10-Bit ADC With SPI Interface to control the volume of a mp3 file, but it should give you a good starting point for any analog to digital project.


14

As long as the webcam is Linux compatible it should be possible to get it to work. However, if there are not ARM specific drivers available, you will have to build them yourself, which is often not easy.


13

At the moment, it seems you can't, but the foundation are apparently planning to sell cameras you can plug in in the future (or at least they were last year): Usually the camera requires two interfaces, the CSI 2 or CCP 2 port for the image data coming from the camera, and I2C to actually tell the camera what to do. Next year the foundation will be ...


13

The PiFace Digital has 16 digital pins (8 input & 8 output) that can be read and controlled using a variety of methods (python package, C package, Scratch). Check out what we are developing for the PiFace over on Posterous. Our datasheets and guides can be found on Google Docs. Our github repo has all the software needed to use the PiFace and some of ...


13

The standard Lego Mindstorms sensors are analogue (i.e. a voltage between 0-5?V), or digital (I²C or RS-485) (source). Analogue sensors: I don't think the Raspberry Pi has a broken out pin in the GPIO for an ADC (analogue to digital converter), so we can't interface with analogue sensors (without an extra microcontroller). Digital sensors: The ...


13

Raspberry Pi Foundation is also planning to make a camera module available at some point in the future. You can see a prototype at: http://www.raspberrypi.org/archives/1254. This camera will connect via the CSI port - which means it will have the added advantage of not using up a USB port So in summary, use a linux friendly camera with arm drivers for now -...


13

I have just installed this library successfully in Arch Linux. I can't see any reason why it wouldn't install in any distro. It's important to note that I do not have a Kinect, so I cannot verify that the library works, only that it compiles and installs successfully. Here are the steps I took: Install dependencies These packages are dependencies of the ...


13

You may use the Raspberry Pi built in serial port, and connect it to a digital thermometer IC (e.g. DS1620) You can find out serial port interfacing of Raspberry Pi here P1 (LEFT BOTTOM) - 3.3V P6 - GND P8 GPIO14 - TX P10 GPIO15 - RX Important: Remember the RPi UART runs at TTL 3.3V - Be careful not to use High Voltage 5v/12volt Uart direct to the RPi. ...


13

In case it's not clear, with Raspbian Wheezy, you can run the Arduino IDE and upload sketches to the Arduino when connected to the Raspberry Pi's USB port. To install on Raspbian, just type into the shell (aka command line): sudo apt-get install arduino It will download and install all the needed packages. I've have a couple photos of the Arduino IDE in ...


11

What do you want to do with the RPi? You can run it with only a text console, and then you don't need a mouse, even if you still can use one. Just log in with the command sshor use the computer without installing or starting any X11 server or xdm program that starts a X11 server on your computer, like xdm, gdm or kdm does. You can still reach the computer ...


11

The Pi does not have any onboard speaker, so there are no power on/off sounds. The main indicators are the lights on the front corner of the board. These are: OK (green): The board is active (blinks off when accessing the SD card) PWR (red): The board is successfully powered from USB FDX (green): Network is full-duplex LNK (green): The network cable is ...


10

If you're interested in the drives mounting automatically when you plug them in then you can try installing usbmount: sudo apt-get install usbmount When you insert a flash drive it will detect and mount it to /media/usb[0-7] and will unmount it when it is removed. Note: You will want to edit your /etc/usbmount/usbmount.conf To configure automounting as ...


10

You can use VNC server on rarspberryPi and VNC clients on developers laptops. You can use tightvncserver package for this. In most typical setup, each client connecting to VNC will see exatcly the same screen, will control the same mouse pointer etc. I believe you would like to setup it so that every one that logs in gets his own individual screen. To ...


9

The Model B has two USB ports, so if that's what you're acquiring you won't have an issue (at the time of writing, 15/06/12, the B is the only model currently available. If you're using a Model A, or you want additional devices as well as a keyboard and mouse, you'll need an external hub (that is, a USB hub with its own power supply.) It connects to the Pi ...


8

After plugging in your flashdrive. Run the following command: grep "SCSI removable disk" /var/log/messages you should see something like the following Jun 16 23:48:58 raspberrypi kernel: sd 2:0:0:0: [sda] Attached SCSI removable disk The important part is the bit in the square brackets, in this case "sda" next enter the following command to create a ...


8

There is a list of verified peripherals (and those with issues) available here. You don't mention the distribution you are using nor the webcam brand/model but since the RPi is so new your particular combination may not have been tried yet. You may want to do a Google search to see if anyone has gotten your cam to work with the x86 build of Debian or Arch,...


8

Adafruit now even has a tutorial to connect the DHT22 to the pi. The example code works on most Pis, I had to tweak the C code a little like posted in the raspberrypi.org forums (increase a sleep timer). For other working sensors (including 1-wire and I²C) take a look at my blog. But e.g. the TMP102 is still missing in the list.


8

ADS1115 The ADS1113, ADS1114, and ADS1115 are precision analog-to-digital converters (ADCs) with 16 bits of resolution offered in an ultra-small, leadless QFN-10 package or an MSOP-10 package. The ADS1113/4/5 are designed with precision, power, and ease of implementation in mind. The ADS1113/4/5 feature an onboard reference and oscillator. Data ...


8

One can opt to connect the rpi to the arduino using a usb port or by using the GPIO pins. One can use Wiringpi to do the communication between the boards. Currently there is also a bridge being developed called Ponte. A basic hello world can be found here.


8

I have answered a similar question here: Making Raspberry Pi Bluetooth slave I will also paste the same answer below for reference. You need to activate the ISCAN service to achieve this: sudo hciconfig hci0 piscan after this, when you execute sudo hciconfig -a, you should see this line: UP RUNNING PSCAN ISCAN After that, just run bluez-simple-agent ...


8

Late answer, but recently experienced it. I noticed the interface is down. Yours is down too. Running sudo hciconfig hci0 up on an updated firmware solved my problem. Not sure how that happened, as the people from this raspberrypi.org thread insists on downgrading.


7

The "stock" debian image (currently debian6-19-04-2012.img) works with my Logitech diNovo Edge Windows edition Bluetooth keyboard/trackpad combo. I loaded a new SD card using the command-line Linux instructions and no additional drivers or packages were required. Assuming the diNovo Edge, is a standard Bluetooth HID profile device then others should work ...


7

Turns out I was using retroarch-joyconfig improperly. retroarch-joyconfig simply outputs the settings that need to be placed in the config file to standard out after you have completed entering the mappings. You need to take that standard output and put it in the config file. The config file needs to be at ~/.retroarch.cfg. If you don't have a config file, ...


Only top voted, non community-wiki answers of a minimum length are eligible