background preloader

RPi

Facebook Twitter

Canon EF Lens adapter for Raspberry Pi by charmlee. Pi Moon Camera - The MagPi MagazineThe MagPi Magazine. Shooting the moon has been an obsession of James Mitchell’s for a very long time. After several failed attempts to get a clear photo from various cameras and lenses over the years, he decided “on a bit of a whim” to give it a go with a Raspberry Pi Camera Module. The full article can be found in The MagPi 45 and was written by Lucy Hattersley “I have been working on pushing the limits of the Pi camera for a while,” James tells us.

One of his first pictures was a long exposure of a Lego figure, which won him the runner-up prize in an Adafruit competition. “I wanted to use my lenses to improve on that.” The lens adapter is 3D printed and allows you to use DSLR lenses with the Pi camera After discovering a design for a Canon lens adapter for the Pi by Charmlee, James got a 3D print made at his local Berlin printing cafe and was impressed: “Everything simply slots together. All the kit necessary to take some moon photos The moon. DSJTAG - 2 in 1 USB JTAG cable for FPGA/CPLD. DSJTAG is a 2in1 USB JTAG cable for Xilinx or Altera FPGA/CPLD.The function of DSJTAG can be toggled by a switch.When switch down, DSJTAG act as a Xilinx FPGA JTAG, and compatible with Xilinx Platform Cable USB I. (Support all devices and feature)when switch up, DSJTAG act as a Altera FPGA JTAG, and compatible with Altera USB Blaster.

(Support all devices and feature)DSJTAG will become your friend when you work with FPGA.DSJTAG will let you never worry about which FPGA should be selected.You can use DSJTAG with ISE or Quartus, whatever you want. Features Function1: Xilinx Platform USB Cable I Function2: Altera USB Blaster Compatible with Altera USB Blaster, support Quartus II/SignalTap IISupport all the altera device, include Cyclone III and Stratix II, .etcSupport AS/PS/JTAG modeSupport communication with Nios II and in-system debugBi-color status LED. Virtex II-Pro Programming from Raspberry Pi - Community Forums. Derek, It's never too late! I have since successfully used your GuzuntyPi code to gz_load my CPLD! It's not a XC9572XL though, it's an XC9536XL. As we said on the Raspberry Pi forum about a year ago though: same thing, just fewer slices. However, I've still been rather afraid of breaking the Virtex-II FPGA board, and busy with work here, and sending job applications - my Indian visa's ending in a month, and I still haven't found a job T_T.

I met a guy called Ghuru here, and he sent me a GTL2010 voltage level translator. Photos of the actual hardware I'm working with are here: So now I have a choice: XC9536XL CPLD, or GTL2010. + Known to work with gz_load. + Voltage-tolerant of 2.5V and 3.3V. + Won't fry my FPGA if something does go wrong. - Requires writing a custom core for the CPLD. - No way to test that custom core. + It's designed to be a voltage level translator. + Known to work in AN10145 example setup (1.5V <-> 5V and 3.3V) So, which do you recommend? Peter. CPLD Development Boards - Mike Richards g4wnc. I’ve been spending a lot of time recently playing with CPLDs (Complex Programmable Logic Devices).

These are wonderful devices for the logic experimenter as you can build your own dedicated logic chips! I started by getting the excellent Guzunty Pi which is an excellent value board complete with software that allows you to load different cores onto the CPLD that forms the heart of the Guzunty Pi. I’ve also discovered an excellent CPLD development board that’s produced by Seeed Studio. This contains the same Xilinx chip as the Guzunty Pi but programming needs to be done via a JTAG lead. The board costs just $15 and postage was reasonable. To make your own CPLD cores you will need development software and the best option for the Xilinx chips is their free ISE WebKit. Look out for my next Data Modes column in PW for more details.

Buy XC9572XL CPLD development board v1b [102990001] Ever get stuck choosing the right logic chip combination or voltage level translator? Give up the hunt and create your own custom logic chip. CPLDs can give you the logic you need, with the pinout you want, while saving board space and board revisions. The Xilinx XC9500XL family has some of the cheapest and readily-available CPLDs.

This development board from Dangerous Prototypes will help you build your first custom logic chip using simple schematic entry, Verilog, or VHDL. XC9572XL CPLD with 72 macrocells5volt tolerant inputsOn-board 3.3volt power supply for core and pinsSelectable 3.3volt or external supply for pins (1.8volt to 3.3volt)LEDs for outputPush button for inputPopulated JTAG headerEasy to program with the Bus PirateOpen source (CC-BY-SA) Resource If you encounter any problems when using this product, here is the forum from which you can get the technical support.

Buy XC2C64A CoolRunner-II CPLD development board [102990004] Ever get stuck choosing the right logic chip combination or voltage level translator? Give up the hunt and create your own custom logic chip. CPLDs can give you the logic you need, with the pinout you want, while saving board space and board revisions. The CoolRunner-II XC2C CPLD has two separate banks of pins that can operate at different voltages, internal pull-up resistors, and pin keepers. This development board from Dangerous Prototypes will help you build your first custom logic chip using simple schematic entry, Verilog, or VHDL. XC2C64A CPLD with 64 macrocells On-board 1.8volt supply for the core On-board 3.3volt supply for pins Separate pin banks can be operated at different voltages (1.2volt to 3.3volt) Selectable 1.8volt, 3.3volt, and external supply for each pin bank LEDs for output Push button for input Populated JTAG header Easy to program with the Bus Pirate and Bus Blaster Open source (CC-BY-SA) Resources.

Programmable Logic: Build Yourself a CPLD Module | Hackaday. A Complex Programmable Logic Device (CPLD) is a great piece of hardware to have in your repertoire. As its name implies, you can program these chips to serve the logic functions you need. This might be replacing an obsolete chip, or maybe just a way to learn and try different techniques. What better way to learn than to get your hands on a CPLD and give it a try? I created a CPLD module with the intent of being able to plug it into lots of things including solderless breadboards, but I screwed up. It seems that the plugin space available on a solderless breadboard is 1.1”, I had made the footprint 1” wide leaving no room for a row of wires on both sides. Duh. But let me back up and show more about what I’m doing , I wanted to make a programmable piece of logic that could be built as a kit one could easily solder at home, could be programmed in-circuit, and could work at 3.3 or 5 volts.

Project Files The CPLD: A surface mount part that fits a through-hole socket The Oscillator The PCB. CPLD Programming over GPIO. Dave - Thanks for your encouragement! I did message guzunty, and he answered, as you can see . Making xsvf files on a VMWare PC is possible at first, but it would be pretty awesome to do it all in my pocket. Given that I have Bochs emulating a Win98 system on my jailbroken iPhone, perhaps I could use an old version of Xilinx ISE, as slow as that may be. guzunty - I knew you'd be a huge help! The Guzunty BOM wasn't on the Wiki as such, but I read it from the schematic as follows: 47k Resistors x33u3 Capacitors x20u1 Capacitors x3I don't have a "parts box" per se, because I've been doing short-term internships in several different countries and the whole setup from my dad's workshop doesn't fit in my rucksack.

This does seem to be all-or-nothing, but you've done well to reassure me that it's easier than I feared. I exhaustively checked the pinouts for the XC9536XL (mine) and XC9572XL (Guzunty), and made a list of the changes. All the JTAG and power pins are the same, thankfully! Guzunty Pi. New users start here. Here is a question that came on the Guzunty wiki, but which is of general interest: Thanks for asking this, Toshi. Well Toshi, you are almost on the right track. We really have two separate things here, reading input pins and reading the state set on an output pin.

First of all, the inputs. You mentioned that you have not yet tried driving the input pins yet. So that has dealt with the inputs. The vhdl for the core you are using is found here: The last few lines control what you read from the SPI device: Code: Select all process (sel, bit_cnt) is begin if (sel = '0') then miso <= inputs(to_integer(unsigned(bit_cnt))); // clock the inputs out on miso else miso <= 'Z'; // If not selected, miso should be high impedance to let other devices talk end if; end process; Now, bit_cnt is incremented for each time the SPI bus is clocked, and inputs is the array of input pins.

Guzunty: A fully programmable peripheral you build yourself! The Pi4J Project - Home. Interfacing5v. Assume you have some nice 5V only chip you want to use with the Raspberry Pi. In my case it is a MAX1226 A/D converter, I got from Maxim as a free sample that is left over from another project. The Pi uses 3V3 I/O levels. What to do? When I tried to research this on the web, I found a lot of wrong information, missing information and dire warnings that miss the point. Hence, I decided to do a write-up on how things really are. Warning: Now for my own dire warning: While the statements made here are likely correct and represent long-standing best practices in the electronics industry, they may be wrong. Well, onwards with the analysis. The standard way is to just put in protection diodes.

This is in line with the typical protection circuit for a 5V-tolerant I/O pin. Organization First I give my recomended interface method. How to interface a GPIO pin to 5V logic Note: If you are interfacing 3.3V CMOS logic, you can leave the resitor and diode in! Why does this actually work? Detailed Description of the RHT03 / DHT22 / AM2302 sensors. Hello Everybody Again, I apologize for not being clear. The question which I am trying to address is how to connect the sensor to raspberry pi using about 3-5m cable (10-15ft) with minimum amount of additional hardware. It appears that connecting power to 3,3V is out of the question for this cable length even with SPI interface. (this is based on the data sheet as I did not find any reference if someone actually tried that). I do not have the cable yet, once it arrives, I will try, but I expect that it will not work...

So, thus the question how to power the sensor with 5V and plug it into 3,3V data line... To translate the data sheet into my ascii-art, the hookup is thisVcc -------------------- pin1 power lineVcc --|Rpullup|--,-- pin2 data linedata ----------------/ground----------------- pin4 ground (I hope I did not make a mistake here) Now, as far as I understand, the power to device and Vcc (logical zero) have nothing to do with each other. Where V++ is some voltage. Thank youleva. Learn.adafruit. RFduino expands Raspberry Pi capabilities with Bluetooth® Smart. Los Angeles, CA – May 11, 2015 – RF Digital, the makers of the RFduino, the massively successful miniature wireless Arduino compatible module, are at it again: developers can now develop and program the RFduino directly from the Raspberry Pi, no PC needed.

Developers can use the RFduino to easily connect Raspberry Pi to smartphones and tablets. Additionally, RFduino now supports several new Linux builds, such as Ubuntu, Fedora, OpenSUSE, Mint and, of course, Rasbian, further empowering developers on their platform of choice. “We continue to evolve the RFduino – it’s the most friendly and powerful Bluetooth® Smart module and ecosystem out there,” said Armen Kazanchian, CEO, RF Digital. “Raspberry Pi and Linux users can now join in with Windows and Mac users, and easily add Bluetooth® Smart to their projects. This speeds up design cycles and makes it easy and cost efficient to develop with Bluetooth® Smart, and will certainly bring more Internet of Things applications to life.” Ubuntu.

GarageDoor

Oscilloscope Specializing in Arduino compatible development boards and modules, oscilloscopes and other Electronics.