background preloader

Raspberry Pi

Facebook Twitter

ESP8266 WiFi Trasceiver

ToChk. Raspberry Pi. Raspberry Pi Information and Products for Custom Applications and Engineering Richard J Kinch, PhD Last updated: March, 2016 This page describes the lens adapters I design and manufacture for the Raspberry Pi camera module. I also give examples below of various projects to enhance the optical performance, including suggestions for novel applications of the camera.

You may skip down to the adapter descriptions below for details and ordering, or continue reading here with my technical introduction to the Raspberry Pi itself and the camera module. Raspberry Pi Single-Board Computer The Raspberry Pi, a credit-card-sized computer. The original Raspberry Pi was introduced in 2012. Raspberry Pi Camera Module The Raspberry Pi camera module. The Raspberry Pi camera module offers a unique new capability for optical instrumentation because it is the only device I know of with all of these critical capabilities required for hardware and software application engineering:

Presentatie%20Netwerken%20en%20portforwarding%20NL TELENET%20MODEM%20ONLY. Panalyzer - a RaspberryPi based Logic Analyzer. Trying to get this code running.... I'm admittedly not too savvy at some of the software steps involved. On my desktop, I git cloned the raspberry pi linux tree, created the .config from my pi's (debian squeeze) /proc/config.gz, ran the make ARCH=...oldconfig command, and then built the kernel. Then I was able to make the Panalyzer binary and module after changing the Makefile to point to my pi/linux folder. Code: Select all file PanalyzerPanalyzer: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0x0ac8c9951674961e9524164ec990bec740a762bc, not stripped This won't work on the pi...

Copying the kernel module over to the pi, doing an insmod, Panalyzer runs but errors with "Couldn't open device (No such file or directory)" when I try to trigger a run. This shows in dmesg: I did an insmod on pandriver.ko but modprobe pandriver still fails with "Module pandriver not found", even though "pandriver" shows up in lsmod. C - How to read value from GPIO port of an ARM microcontroller? GPIO_BASE on B2. Pins | Wiring Pi. Pin numbering of the BCM2835 GPIO port(s) on the Raspberry Pi has been a source of great confusion since the designs for the Pi were first published. In the early days (even before hardware was available) the default usable GPIO pins were simply referred to by number as GPIO0 through GPIO7.

Additionally there were pins for other purposes, SPI, I2C and serial. This was highlighted on the original image on the Raspberry Pi Wiki site too. So when initially writing wiringPi, I chose to have the same default pin numbering scheme and numbered them from 0 upwards. This is no different to how the Arduino operates – “Pin 13” on the Arduino is Port B, bit 5 for example. The underlying hardware definitions are hidden by a simplified numbering scheme. The following tables give the mapping of the Raspberry Pi GPIO Pins to the (P1) GPIO connector in relation to the pin numbers and the physical location on the connector.

For a printable version of these tables, click here. Viktor's DIY: Giving New Life to LCD Screens from Old Laptops, TVs, Monitors, etc. Introduction Over the years I have collected quite a few laptops (among many other things...). I usually pick them up when my friends and relatives get a new laptop and they throw away the old ones. Most of these laptops are not working and/or very old (i.e. around 15 years old, sometimes even more). I collect them because, even though they are not usable any more as laptops, I can sometimes fix them up just so much that they can be converted to a digital picture frame, or I remove some parts of it and make use of those in some way, like use a laptop touchpad on a PC. Since I was running out of space to store these laptops, a few weeks ago I decided to remove the usable parts from some of the very old laptops that were beyond hope, and recycle what's left of them.

The shiniest part you can salvage from an old/broken laptop is arguably the LCD panel. Below I am demonstrating a way of giving these (in my opinion) fantastic pieces of engineering pieces a new life. Research Assembly Results. Creating A New Project – Raspberry Pi Projects. Enabling Running Remote Projects in NetBeans As Root User By default the root account is disabled in Raspbian, but for an application to access the IO pins it needs root user privileges. There are ways to configure the IO to get round this but its not all that easy and for development its often just easier to have full root access so the permissions don't get in your way (you can disable it later before releasing your RPi into the wild if the security issue is a concern). When running from the command line you can do this simply using the sudo command, but when remotely running from NetBeans you need a way for it to be able to run the application as root user if you are using the IO pins.

There doesn't seem to be a configuration option in NetBeans for this currently so enabling the root user account and letting NetBeans use it is a simple work around. Use this command: sudo passwd root If it doesn't work check the ssh config sudo nano /etc/ssh/sshd_config sudo passwd -l root Click 'Finish' Mehulj94/ISS-Tracker-Raspberry-Pi. Using WiringPi library with Raspberry PI cross-compiler | VisualGDB Tutorials. This tutorial shows how to develop a blinking LED project for Raspberry Pi in Visual Studio using the WiringPi library and our cross-toolchain. Before we begin, ensure that VisualGDB 4.0 or later is installed. If you do not have a LED prepared to connect to the expansion connector on the Raspberry Pi, please follow the steps 1-8 of our other blinking LED tutorial to prepare and connect a LED.Now create a basic Raspberry Pi cross-compilation project with VisualGDB by following this tutorial.

Use the root account as the user account, as only root has direct access to hardware resources. If you don’t know the root password, login as the normal user, run ‘sudo su’ and then ‘passwd’ from the su shell to set it. Developing a Raspberry PI app with Visual Studio | VisualGDB Tutorials. This tutorial demonstrates how to build and debug a simple Raspberry PI application using Visual Studio. The same steps will also work with Raspberry Pi 2.

If you have not prepared your SD card yet, download WinFLASHTool and use it to write the image to the SD card: Start your Raspberry PI and connect a network cable to it.Please download and install the latest VisualGDB.On your Windows machine start Visual Studio, select “File->New project”. Then select “VisualGDB->Linux Project Wizard”. Specify project location and press “OK”. The VisualGDB Linux Project Wizard will start. As we are making a simple “Hello, World” application, keep “Create a new project” selected and press “Next”. If you have not created any Raspberry PI projects before, select “Create a new SSH connection” on the next page. You can now use all normal Visual Studio techniques to debug your app. If you want to develop a kernel module for Raspberry PI an debug it over JTAG, follow this tutorial.

Programming the ATtiny85 from Raspberry Pi. ARM Information Center.


Motors. Java. eMail. GUI. GPIO. Platforms and Frameworks. VNC. How to run Ubuntu Snappy Core on Raspberry Pi 2. The Internet of Things (IoT) is upon us. In a couple of years some of us might ask ourselves how we ever survived without it, just like we question our past without cellphones today. Canonical is a contender in this fast growing, but still wide open market.

The company wants to claim their stakes in IoT just as they already did for the cloud. At the end of January, the company launched a small operating system that goes by the name of Ubuntu Snappy Core which is based on Ubuntu Core. Snappy, the new component in the mix, represents a package format that is derived from DEB, is a frontend to update the system that lends its idea from atomic upgrades used in CoreOS, Red Hat's Atomic and elsewhere. Snappy also runs on other platforms like Amazon EC2, Microsofts Azure, and Google's Compute Engine, and can also be virtualized with KVM, Virtualbox, or Vagrant. In this post, let's see how we can test Ubuntu Snappy Core on Raspberry Pi 2. sudo is already configured and ready for use. . $ date. Docker on Snappy Ubuntu Core on a Raspberry Pi 2 | darrenjw's blog. In a previous post I gave a quick introduction to Snappy Ubuntu Core on the Raspberry Pi 2.

This was based on the very early version of Ubuntu Snappy Core that was released around the time of the Rasberry Pi 2. There were various problems with that early release that have since been fixed, so in this post I want to give a quick update on the status of Snappy on the Pi, especially in relation to Docker. If you have an early version of Snappy for the Pi 2, you should manually download a new image and re-flash your SD card.

I did not have any luck in using the Snappy upgrade mechanism (which is somewhat ironic). You can check if you have an old or new version of Snappy by running snappy list. Once logged in the snappy guides should more-or-less work. There is now a Snappy framework for Docker which can be easily installed, as indicated above. Some useful base images include resin/rpi-raspbian which is a minimal Raspbian base, and hypriot/rpi-java, which includes OpenJDK7. Like this: Markondej/fm_transmitter. Computer Laboratory – Raspberry Pi: Baking Pi – Operating Systems Development. This course has not yet been updated to work with the Raspberry Pi models B+ and A+. Some elements may not work, in particular the first few lessons about the LED.

It has also not been updated for Raspberry Pi v2. Welcome to Baking Pi: Operating Systems Development! Course by Alex Chadwick. You can now help contribute to this tutorial on GitHub. This website is here to guide you through the process of developing very basic operating systems on the Raspberry Pi! This course takes you through the basics of operating systems development in assembly code.

Rather than leading the reader through the full details of creating an Operating System, these tutorials focus on achieving a few common tasks separately. 1 Requirements 1.1 Hardware In order to complete this course you will need a Raspberry Pi with an SD card and power supply. 1.2 Software In terms of software, you require a GNU compiler toolchain that targets ARMv6 processors. 2 Lessons.

NOOBS partitioning explained · raspberrypi/noobs Wiki. NOOBS partitioning (and booting) explained The multiple partitions that NOOBS divides your SD card into (at least 5) can be quite overwhelming and confusing. This page will try and explain how it all works, and illustrate how NOOBS differs from the 'traditional' standalone images. Non-NOOBS partitioning Before you can understand how NOOBS partitioning works, you need to understand how standalone partitioning works on the Raspberry Pi, so go and read that page if you haven't already.

More partition naming theory For historical reasons (only 4 'slots' in the partition table), hard-drives and SD cards can only have a maximum of 4 primary partitions. NOOBS partitioning When NOOBS is first copied to a FAT-format SD card, there's just a single partition taking up all the space on the card, and this is where the files from the NOOBS zipfile get written to. The only difference between NOOBS and NOOBS lite is that NOOBS lite doesn't include any OS recovery images. NOOBS bootup (low-level) Standalone partitioning explained · raspberrypi/noobs Wiki. Internet Laundry. How to Clone Your Raspberry Pi SD Card for Super Easy Reinstallations. » Live Streaming RaspberryPi Camera DoEpicCoding. This post will show step by step how to Stream the content captured by your RaspberryPI Camera, these are the things we will be doing in this tutorial to get everything set and running. - Connect Camera to RaspberryPi. - Enable Camera in RaspberryPi Configuration file. - Install VLC program in RaspberryPi - Excute Streaming command specifying communication protocol and port.

So, the first step to take is connecting your RaspberryPi Camera Module properly, take on count that the camera is easily affected by static so make sure to avoid that, also it should be connected to the socket right behind the Ethernet Port and pay special attention that the connector’s strip is fully inserted and making clean contact as shown in the picture below: Now that we have our camera properly connected its time to enable it “if not already enabled” in the RaspberryPi configuration file, so you need to open a new Command Terminal and execute the following command: This video shows how to do it yourself: Nimbits. Url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&sqi=2&ved=0CB0QFjAAahUKEwjHpt2m8dzHAhWCVhoKHX-sCbc&url= A chunky, multifunction printer with a USB connection is no feast for the eyes, especially when it is sitting next to your up-market laptop or tablet.

On the other hand, a network printer can disappear unobtrusively into a corner of the room and serve multiple users on the LAN. The convenience, flexibility, and invisibility of network printers is one reason why they have replaced their USB counterparts in many offices. However, that's still no reason to drag your old USB printer down to the nearest recycling center. The Raspberry Pi can connect the USB world with the Internet, providing a print server service for your old USB clunker thanks to CUPS.

With a wireless adapter plugged into your Rasp Pi, the location of your printer depends only on wireless reception and a suitable power supply. Shopping List Because USB-only printers are no longer in vogue, you can find used equipment at very reasonable prices. Configuring the Network #/etc/resolv.conf nameserver Sci Fi Your Pi : Previously: Sci Fi Your Pi - Prince Dakkar's patent log taking chart compass Sci Fi Your Pi - Prince Dakkar's patent log taking chart compass - Functional Design Sci Fi Your Pi - Prince Dakkar's patent log taking chart compass - Route selection and indication First it is time for an apology; life got in the way and Ii forgot all about this project until nearly too late.

With the deadline looming I am unlikely to fully complete the product as I had hoped but I do intend to try and get as much detail as possible onto the blog before then and will try and update progress to completion even if that is a little after the competition deadline. Direction of Travel Indicator 1 - Setting current and destination positions An adventurer embarking on a Journey will need to know which way to go so the second part of the functionality I envisioned included a set of arrows on the device that would show which way the traveler needs to move to reach the destination. Getting Current Position GPS specific tools: RPi Low-level peripherals - Back to the Hub. Hardware & Peripherals: Hardware and Hardware History. Low-level Peripherals and Expansion Boards. Screens, Cases and Other Peripherals. Introduction In addition to the familiar USB, Ethernet and HDMI ports, the R-Pi offers lower-level interfaces intended to connect more directly with chips and subsystem modules.

General Purpose Input/Output (GPIO) The layout of the Raspberry Pi P1 pin-header seen from the top, containing pins useable for general purpose I/O. General Purpose Input/Output (a.k.a. The Raspberry Pi allows peripherals and expansion boards (such as the Rpi Gertboard) to access the CPU by exposing the inputs and outputs. For further general information about GPIOs, see: the wikipedia article.

The Raspberry Pi Model A and B boards have a 26-pin 2.54 mm (100 mil)[1] expansion header, marked as P1, arranged in a 2x13 strip. The Raspberry Pi Model A+ and B+ boards have a 40-pin header marked J8, arranged as 2x20 pins. P1 Header Pinout, top row: Pin 12 supports PWM . Fritzing. Connecting to Googles Docs (Updated) | DHT Humidity Sensing on Raspberry Pi or Beaglebone Black with GDocs Logging | Adafruit Learning System.

Difference between _, __ and __xx__ in Python. 25.1. pydoc — Documentation generator and online help system. Raspberry Pi Notes. Root user privileges – Raspberry Pi Projects. x11 - How do keyboard input and text output work? Tutorial - How to give your Raspberry Pi a Static IP Address. Griffon's IT Library » Linux Ubuntu XRDP » XRDP – How To Make your keyboard “special keys” (Alt+Gr, Up,Down,..) working when using XRDP. Blinking an LED with Raspberry Pi 2 and C# Mono « RJ Dudley. Raspberry Pi and Mono – Hello World! | Dan's Website. Photocell | Raspberry Pi Wonderland. Arduino and Raspberry Pi - Experiments and Tutorials: Raspberry Pi and Bitcoin Mining - Tutorial / Experiment [Minera] Read Raspberry Pi: Measure, Record, Explore. GoPiGo/Software/CSharp at master · DexterInd/GoPiGo. CamJam EduKit in partnership with The Pi Hut | CamJam - Cambridge Raspberry Jam. Viktor's DIY: Internet of Things (IoT) with ESP8266 - Proof of Concept.

Tutorial – How to give your Raspberry Pi a Static IP Address | hobby-elektron. » Blog Archive » Raspberry Pi IoT Experiment #1: LDR & ThingSpeak. Raspberry Pi – Driving a Relay using GPIO | SusaNET. Raspberry Pi – Driving a Relay using GPIO | SusaNET. UNIX / Linux Tutorial for Beginners. Raspberry Pi Pinout - 5v Power. Introduction to Raspberry Pi with Raspbian OS - CodeProject. Cloud Storage - Controlling Raspberry Pi via text message - FrontMotion Firefox.