raspberry

Mono on Raspberry Pi

匿名 (未验证) 提交于 2019-12-03 09:52:54
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I've seen a lot of talk about running Mono/.NET code on the Raspberry Pi . Has there been any success in actually running any Mono code on a Raspberry Pi? On their site, they list several Linux distributions that work on the device and some of these distributions include Mono. However, none detail whether Mono works on it. Is there a working implementation? 回答1: I have managed to run my Delta Forth .NET compiler on Debian 6.0 (Squeeze) and Mono. It worked flawlessly with full binary compatibility, the only thing I had to do was to recompile

玩转树莓派-RaspBerry,3D打印个御用外壳

夙愿已清 提交于 2019-12-03 08:47:30
网上已经有很多种外壳出售,可以直接购买。 但你也许不满意与别人雷同,想要做出自己的创意,或者是要满足一些特殊的需求。 那么用先进的3D打印技术,将很容易实现这一点。 即使没有3D打印机,也没有关系,您可以使用OpenSCAD来设计一个,然后到某宝上找个3D打印店发送过去,做好了的东东过几天就快递到手了。 如果有3D打印机,没有那么多时间去设计,嗯,到Thingiverse上下一个就可以了。为了便于修改,推荐下载OpenSCAD格式的模型(在搜索框输入OpenSCAD即可)。 嗯,其实我们也可以完全自己去全新设计一个,上图: 下面附上原始代码,有兴趣的朋友可以拷下来自己研究修改,如果发现问题或者有新的创意,也欢迎共享出来,一起完善。 //RaspBerry B+外壳 //注意:树莓派其它版本有所不同,需要修改,否则装不进去哟! //Author:openthings@163.com. //copyright 2015-2025. /*Changelog: 2015-03-05:初步模型。 2015-03-14:修改USB和HDMI的位置,底侧的厚度。 */ //常量定义 bthick=0.1; //盒壁厚度 bwidth=5.8; //内径净宽 bhight=2.5; //内径净高 blong_inter=11.0; //内径净长 //外径长度=底厚+内径+挡格+盖子厚度 blong

Device tree driven kernel for raspberry pi

匿名 (未验证) 提交于 2019-12-03 03:06:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I'd like to boot the raspberry pi with a device-tree-driven linux kernel, is there anything special to do to do that? Can anyone point what are required to set up a device-tree-based kernel boot up for the raspberry pi. I may need to have raspberry pi kernel source where drivers for devices should be compatible with device tree. If so, where can I find such kernel sources for Raspberry Pi? 回答1: Device-Tree support on Raspberry Pi Raspberry Pi embeds an ARM11 SoC: Broadcom BCM2835 . Device Tree (DT) support for ARM is fairly new,

How to install Anaconda on RaspBerry Pi 3 Model B

匿名 (未验证) 提交于 2019-12-03 02:56:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I would like to know how to install the latest Anaconda version from Continuum on my Raspberry Pi 3 model B. Any help would be appreciated... 回答1: On Raspberry Pi 3 Model B - Installation of Miniconda (bundled with Python 3) Go and get the latest version of miniconda for Raspberry pi - made for armv7l processor and bundled with Python 3 (eg.: uname -m) wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-armv7l.sh sudo md5sum Miniconda3-latest-Linux-armv7l.sh sudo /bin/bash Miniconda3-latest-Linux-armv7l.sh When installing change

How to emulate the Raspberry Pi 2 on QEMU?

匿名 (未验证) 提交于 2019-12-03 02:51:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Some time ago I emulated the Raspberry Pi following this article , but this approach has several problems: It is very slow. The display solution is limited to 800x600. You cannot emulate more than 256mb ram. Furthermore there is no emulation for the new Broadcom BCM2836 or any other arm7 based cpu in Qemu . However, there are several reasons, why it would be interesting to emulate the Raspberry Pi. So I am interested in any hints that push me in the right direction to get a working Raspberry Pi 2 emulation using Qemu or any other emulation

Raspberry Pi ad-hoc networking

匿名 (未验证) 提交于 2019-12-03 02:05:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I want to try some networking projects with Raspberry Pis, and I need to just send packets between a pair of pis. I would be happy as a first step just being able to ping between to Raspberry Pis in ad-hoc mode. I have not successfully done this despite looking at several tutorials and examples online. I have 2x Raspberry Pis with the Debian Wheezy OS installed. I am using the following USB adapter which I installed firmware for on both pis and tested that they work by connected them in managed mode to a router: Bus 001 Device 004: ID 050d

Raspberry Pi to Arduino Communication

匿名 (未验证) 提交于 2019-12-03 01:40:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am using an opencv algorithm on my Raspberry pi 3. I need to output the data from the raspberry pi to my Arduino. Presently I am using serial, where I simply plug in the arduino to the raspberry pi using the USB connector. But my application requires a faster speed. I thought of exploring i2c communication. It is for a robotic application for which the input sensor values needs to be fast for the robot to respond quickly. Assuming the constraint that I need to push the values to a arduino board (for it to talk to the robot), what can be

Raspberry Pi- GPIO Events in Python

匿名 (未验证) 提交于 2019-12-03 01:07:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am using the GPIO pins on my Raspberry Pi with a PIR sensor to detect motion. When the sensor detects motion I want to then move the software onto other functions. At the moment, to detect motion I have my program constantly running in a loop while it is waiting for motion to be detected. While this works at the moment, for use in the future this will be incredibly inefficient and am hoping to improve on this by assigning it to an event. Is there any way to bind my GPIO input to an event that is detected by the program without manually

Cross-compilation for Raspberry Pi in GCC. Where to start?

匿名 (未验证) 提交于 2019-12-03 00:46:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: TL/DR : Where can I find more information about building a GCC 4.7.0 cross-compiling toolchain for ARM (gnueabi) platform (intended to run on a Raspberry Pi device)? I have just got a brand new Raspberry Pi and I am very eager to start programming for it. I've managed to install the GCC toolchain (I am using the Arch Linux system image) and compiled some basic programs, all working fine. I've also tried to compile the Boost libraries because I often use them in my projects and everything seemed to work fine by following the instructions ( .

树莓派raspberry 设置HDMI 分辨率800*480去黑边方法

匿名 (未验证) 提交于 2019-12-03 00:22:01
树莓派raspberry 设置HDMI 分辨率800*480去黑边方法 # uncomment this if your display has a black border of unused pixels visible # and your display can output without overscan disable_overscan=1 # uncomment the following to adjust overscan. Use positive numbers if console # goes off screen, and negative if there is too much border overscan_left=16 overscan_right=16 overscan_top=16 overscan_bottom=16 # uncomment to force a console size. By default it will be display's size minus # overscan. framebuffer_width=800 framebuffer_height=480 # uncomment if hdmi display is not detected and composite is being output