background preloader

AVR Raspberry Pi

Facebook Twitter

‘Argo’ in the Congo: The Ghosts of the Stanleyville Hostage Crisis. Fifty years ago, African mercenaries, American pilots, Belgian paratroopers, and Cuban CIA contractors converged in the deep jungle to attempt one of the largest hostage rescue missions in history.

‘Argo’ in the Congo: The Ghosts of the Stanleyville Hostage Crisis

KISANGANI (formerly Stanleyville), Congo — Captain Mack Secord surveyed the thick jungle from his cockpit window and steered the Lockheed C-130 transport plane along a smooth cut made by the snaking Congo River. Dawn was rising on November 24, 1964, and there was a slight fog but otherwise clear visibility. From the height of 700 feet, a lush uniform green obscured the destruction unfolding below him. Eight days earlier, Secord—a 32-year-old father from Birmingham, Alabama—had traveled from France to Belgium to Spain to an isolated island in the Atlantic, about 1,000 miles off the coast of Africa. Now Secord was aiming for Stanleyville, a once glamorous colonial city of 150,000 that spilled into the jungle on both sides of the river. RPi Low-level peripherals. Back to the Hub Hardware & Peripherals: Hardware - detailed information about the Raspberry Pi boards.

RPi Low-level peripherals

Playing sounds and using buttons with Raspberry Pi. Tutorial: Raspberry Pi GPIO Pins and Python. The GPIO pins on a Raspberry Pi are a great way to interface physical devices like buttons and LEDs with the little Linux processor.

Tutorial: Raspberry Pi GPIO Pins and Python

If you’re a Python developer, there’s a sweet library called RPi.GPIO that handles interfacing with the pins. In just three lines of code, you can get an LED blinking on one of the GPIO pins. RPi.GPIO 0.5.4. A module to control Raspberry Pi GPIO channels This package provides a class to control the GPIO on a Raspberry Pi.

RPi.GPIO 0.5.4

Note that this module is unsuitable for real-time or timing critical applications. This is because you can not predict when Python will be busy garbage collecting. It also runs under the Linux kernel which is not suitable for real time applications - it is multitasking O/S and another process may be given priority over the CPU, causing jitter in your program. If you are after true real-time performance and predictability, buy yourself an Arduino ! Note that the current release does not support SPI, I2C, hardware PWM or serial functionality on the RPi yet. Although hardware PWM is not available yet, software PWM is available to use on all channels. For examples and documentation, visit Fix code so it builds under PyPy (Gasper Zejn)os.system breaks event detection - Matt Kimball (issue 127) Fixing the DTR pin. Uploading Sketches to the Arduino on the Pi. This is a follow up article to Arduino and the Raspberry Pi Now that your RPi has all the needed software You should now wire up your arduino similar to how it’s done here.

Uploading Sketches to the Arduino on the Pi

Arduino and the Raspberry Pi. I got a PI!

Arduino and the Raspberry Pi

So I got a raspberry pi. It took almost 10 weeks to arrive, but it was definitely worth the wait. For those who don’t know, the Raspberry Pi is a cheap $35 computer that includes processor, memory, and a sd card slot for the hard drive. It also has a few hardware pins that can be used to drive external devices. Now to interface with a micro-controller… The most obvious external “thing” I wanted to hook up was the arduino. You plug the arduino into your usb port, upload some code, and suddenly you’re controlling a motor. Finally, you’ll want to interface the arduino with a computer, because it’s no fun having a microcontroller that can’t interface with the internet.

Commmand-line arduino? The raspberry pi only has 256mb of memory so you’ll probably want to upload your sketches via command-line instead of using their fancy UI. Raspberry Pi with AVR 328P using SPI and GPIO » Rep Yo Blog. Hi!

Raspberry Pi with AVR 328P using SPI and GPIO » Rep Yo Blog

I’m experimenting with a Raspberry Pi and a bare AVR 328p. The 328p is running at 3.3V using the internal clock running at 8mhz. This puts all of the I/Os at 3.3V therefore, I don’t need level shifters to connect it directly to the RPI. This circuit is running unbuffered, and unprotected… so buyer beware. AVR Tutorial - AVRDUDE. OK now you have a target board and a programmer next you will use the software you installed in step 2 to talk to the chip.

AVR Tutorial - AVRDUDE

This software is very powerful but its also difficult to use the first time. However, you should persevere and after a few times it will become (easier) to use. Comments? Suggestions? Arduino IDE Installation (ISP) Can somebody explain how to program an AVR with Raspberry Pi. Hi furrysalamander.

Can somebody explain how to program an AVR with Raspberry Pi

Sorry you got confused by my topic. English is not my native language, and it turned into a big wall of text. Basically, the Raspberry Pi is used as the AVR programmer. You don't need a gertboard. Raspberry Pi And Arduino Clone » Rep Yo Blog. Following my last post: I decided to see if I could get the RPI programming using AVRdude with support from the Arduino Library, and the X Arduino programming gui.

Raspberry Pi And Arduino Clone » Rep Yo Blog

After figuring out my fuses were set incorrectly, I finally got it working right, and I must say… I’m surprised I ever had SPI working at all.. Raspberry Pi with AVR 328P using SPI and GPIO » Rep Yo Blog. Steve Marple's blog: How to use the GPIO version of avrdude on the Raspberry Pi. Introduction I previously showed an implementation of a AVR ISP programmer using the Raspberry Pi GPIO port which can be used to program Atmel's AVR range of microcontrollers with avrdude.