View allAll Photos Tagged gpio
I probably didn't need the Adafruit protoboard for this phase, but the plan is to move the ATMega328p chip right onto the protoboard.
Running at 3.3V and 8MHz means you don't need a level converter for the Pi and you don't need an external clock chip. You can still use most/all of your favorite libraries. Basically you're wiring the chip right to the pi with not much else (a reset button? some leds?).
And I even got the auto-reset to work by messing with the GPIO pins!
First I had to burn the ATMega328p chip with a bootloader. Turns out that this is easy to do *IF* you mess with "boards.txt". I duplicated the section for "Arduino Pro or Pro Mini (3.3V, 8MHz)" and changed one line:
atmega328.bootloader.low_fuses=0xE2
(see forum.arduino.cc/index.php/topic,80126.0.html)
Oh, and of course you can't leave the duplicate board.xxxxxx so I added "int" for each. This lets you use the internal oscillator instead of needing an external one.
The trick here, is to use a 16MHz oscillator (or resonator) and burn the boot loader at 5V. [I used an ATtinyUSB but you can actually use another Arduino as a programmer.] The chip can handle it. Then you remove the oscillator/resonator and wire it up for 3.3V.
Then I had to setup the pi's serial port. By default this is hogged by Linux. You can read the instructions here:
elinux.org/RPi_Serial_Connection
I added one step at the end:
sudo ln -s /dev/ttyAMA0 /dev/ttyS0
This is because the Arduino software doesn't recognize the pi's serial port.
Then you do a "sudo apt-get install arduino -y" and go get a cup of coffee (or a whole lunch) while it installs jre.
The most challenging bit, though, was getting the auto-reset working. This means changing one of the pins to its "ATL3" setting. [!!!]
these are all the pins and settings
Eventually I figured out that the code here:
github.com/rewolff/bw_rpi_tools/tree/master/gpio
in the folder gpio_list actually changes its behavior depending on what you name the file!
So I renamed the binary to gpio_setfunc and then
sudo ./gpio_setfunc 17 ALT3
[I think I have to do this every time I (re)boot. I'll probably make a startup script.]
You'll note that I wired 3.3V and GND to the ATMega328p, and (pi)RXD-TXD(arduino) and vice versa. AND I wired (pi)GPIO17 through a 104cap to RESET(arduino)!
And it worked!!!
Here’s the parts to the “Adafruit Pi Box - Enclosure for Raspberry Pi Computers (ID: 859)” after having the protective paper removed from the acrylic parts. They are laid out on a hard drive anti-static bag.
Unlike the ModMyPi cases I have there is already a cutout for the GPIO ribbon cable.
My parties are so lit! #maudlinmodellers 13 Feb 2019 #starwars #mpcmodels #millenniumfalcon #scalemodel #raspberrypi #iot #nodered #pythonprogramming #specialeffects #geek #starwarsfan #gpio #mcp23017 i2c. Integration of python and node red.
A QVGA (320x240) display connected to RasPi with GPIO cable. The RasPi logo is too big for the display!
The same size as a credit card. 4 USB ports, 1 Ethernet, power plug, 3.5mm audio jack, HDMI output, 512MB, 40 GPIO prongs, a plug for a display, a plug for a webcam, microSD for storage.
The case has 10 slots reserved to access the GPIO header, USB ports, Ethernet, micro SD card, HMDI, 3.5mm jack, and CSI connectors as well as rubber feet and vents to ensure the board gets proper cooling and Pi Camera module mounting holes. For more information, please kindly check at this link: www.geeetech.com/enclosure-for-raspberry-pi-model-b-trans...
Using a transistor connected to a GPIO pin I now can Switch on and off the Background light ...
In this version the Transistor controlled the the line that brought 5V to the backlight. This solution was abandoned because the backlight was not very bright any more. The transistor worked as a resistor ....
Sanguino is an open source Arduino-compatible microcontroller board that is base
Sanguino is an open source Arduino-compatible microcontroller board that is based on the Arduino, and inspired by the Boarduino form-factor. It uses the atmega644P chip which has 4x the memory, ram and 12 more GPIO pins than the Arduino's atmega168.
More info: make.sanguino.cc/1.0
Sanguino is an open source Arduino-compatible microcontroller board that is based on the Arduino, and inspired by the Boarduino form-factor. It uses the atmega644P chip which has 4x the memory, ram and 12 more GPIO pins than the Arduino's atmega168.
More info: make.sanguino.cc/1.0
The Nexys Video features several components that make it ideal for developing audio/video applications. The Artix®-7 XC7A200T FPGA is the most powerful chip from the Xilinx® Artix-7 family. A Mini DisplayPort source provides the board with a uni-directional, high-bandwidth, low-latency audio/video channel. Designed with high bandwidth external memories, three high-speed digital video ports, and a 24-bit audio codec, the Nexys Video is a potent platform for A/V development.
store.digilentinc.com/nexys-video-artix-7-fpga-trainer-bo...
PmodGPS: GPS Receiver
The PmodGPS can provide satellite positioning accuracy to any embedded system. By communicating through UART with the GlobalTopFGPMMOPA6H GPS antenna, users may benefit from the 3 meter accuracy for any long term traveling.
store.digilentinc.com/pmodgps-gps-receiver/
PmodGYRO: 3-axis Digital Gyroscope
The PmodGYRO is a 3-axis gyroscope powered by the STMicroelectronics L3G4200D. By communicating with the chip through SPI or I2C, users may configure the module to report angular momentum at a resolution of up to 2000 dps.
store.digilentinc.com/pmodgyro-3-axis-digital-gyroscope/
PmodHB5: H-bridge Driver with Feedback Inputs
The PmodHB5 is a 2A H-Bridge module. This module includes a header with integrated motor feedback channels with Schmitt-trigger inputs. The H-Bridge can be driven through GPIO signals.
store.digilentinc.com/pmodhb5-h-bridge-with-feedback-inputs/
Named after its designer, Gert van Loo, the Gertboard is an IO expansion board for the Raspberry Pi with a lot of flexibility.
Plug the Gertboard into the GPIO header on your Raspberry Pi and you're ready to start detecting and responding to events in the real world. Jumper wires (called "straps") and pin jumpers are used to reconfigure the board in any number of ways. Whether you need to detect button presses or analog voltages, control motors or relays, the Gertboard is the ultimate tool for exploring the Raspberry Pi's full I/O potential!
Porto Alegre, Brasil, 07/05/2014 - Fórum Internacional do Software Livre - FISL 15 - Raspberry Pi e Beaglebone Black utilizando GPIOs com Python com Sergio Cioban Filho. Foto: Guilherme Almeida
2x RGB LED Ring, 2x AA, 1x MAX756, 1x 1N5817, 1x 22µH 3A, 1x 220µF, 2x 47µF, 1x 100nF and lots of patience.
No test drive yet. It has snowed a lot and it feels like -20°C outside. My fingers almost fell off.
And the best thing, as usual, it works with the Arduino IDE. Just pull off the cpu modules and reprogram them as you like. A 6pin FTDI compatible header is on their backsides. There's also an ICSP header, but that can only be used once to program a bootloader. After that MOSI/MISO/SCK are used for the LEDs (whole PORTB of the chip). The backplane provides power (5V) and a common bus consisting of 2 GPIO pins and of course the I2C lines. In this case I use one line for a trivial syncing routine. The boards run with the internal oscillator and that seems to vary quite a low between these two chips. Without syncing after each run, there would be significant dephasing.
Now I should really get some mudguards. Getting a wet but is one thing, but deliberately exposing hand-made electronics to a mixture of salty, dirty and half molten snow is unheard of.
ATmega328 running @ 20 MHz
MCP4725 12 Bit DAC
TDA7050 Audio Amp
3 Pushbuttons + reset button
3 LEDs
4 GPIO pins (With Analog input and UART)
Raspberry Pi B+ Acrylic Case – Hot-Chili Red
$11.99
Product Description
The case is crafted out of two transparent layers and two red layers.Each layer is laser cut from high quality Acrylic and once stacked they securely contain a Raspberry Pi B+ from shorting out but maintaining a slim profile to show off the board while leaving the primary ports, accessible and safe.
This Case has cutouts for the Camera and the display headers as well as a room to install a heat sink on the CPU. Weighing only 2 oz the case is lightweight and ready to protect your Raspberry Pi B+.
Held together by high quality black Nylon bolts and nuts that are far superior to metal bolts that will scratch surfaces you set them on. The bolts are easy to install and no tools required for assembly or disassembly. Rubber Feet are included to stop the case from sliding around on the surfaces it sits on. Note: The GPIO slot does not fit a IDE cable without filling down the bolts to make them D Shaped.
Protects your Raspberry Pi B+ with High-quality Acrylic.
Etched Port Markings and Leaves all Ports Accessible.
Low Profile Allows for Capes Without any Disassembly or Using Stackable Headers.
Included High Quality Nylon Bolts Prevent Scratching.
Designed and Manufactured in the United States.
Model: Raspi-004-002
14 Units in Stock
Manufactured by: RASPBERRY
megacomponent.com/index.php?main_page=product_..
#sale #onsalenow #Foster #SanMarino #Montgomery #Phoenix #Sacramento #Hartford #Denver #Boston #Tokyo #Beijing #Jackson #Lincoln #OklahomaCity #Columbia #Austin #AbuDhabi #Abuja #Beirut #BuenosAires #Caracas #Dhaka #Doha #Dublin #Harare #Havana #Islamabad #Helsinki #Jakarta #Jerusalem #Kabul #Kiev #Kingstown #KuwaitCity #Lima #MexicoCity #NewDelhi #Montevideo #Ottawa #PortMoresby #Pyongyang #Rome #Colombo #Taipei #Vienna #Tunis #Tripoli #SantoDomingo #Saipan #Rome #VaticanCity #Yaren #Victoria #Stanley #Sofia #GovernmentShutdown #GulfofMexico #ABCproject #CoffeeThursday #Pumpkin #HongKong #Hummingbird #ThirstyThursday
The Baby-Orangutan AutoKAP controller.
It is a mini-Gigapan controller for a pan/tilt camera platform. The platform is designed to be suspended from a kite line for doing aerial photography from a kite (KAP). The hardware is shown here attached to the top of the KAP rig. The rig end of this has had several years of use in the field. The Baby-Orangutan AutoKAP Controller is still a work in progress.
I would love to claim to be the genius behind this, but really my part was just to make a header board for a Baby-Orangutan SV-168 controller from Pololu Robotics. All the board does is provide three-pin headers for each of the I/O pins on the Baby-Orangutan. The headers are set up the same way as the 3-pin headers on the Orangutan and Orangutan X2 robot controllers, also from Pololu Robotics: [GND : V+ : Signal] The four I/O pins that were wired up to drive servos use Vbatt for V+. The rest of the I/O headers use Vcc (+5V regulated off the Baby-O) for V+.
The Baby-Orangutan SV-168 uses an ATmega168 running at 20MHz, so even driving the four servo channels, three of which I'm using, there are plenty of clock cycles left over to play with. The voltage regulator on the SV-168 can handle up to 30Vdc, but the H-bridge chip is limited to 12Vdc (I think... The previous version of the Baby-O was limited to 10Vdc).
It's got a lot of possibilities for playing around. Eight ADC channels (seven plus a potentiometer on the Baby-O), four GPIO pins wired up as servos, lots of other GPIO, UART, I2C, SPI, and a dual H-bridge motor driver than can drive two DC motors at up to 1A continuous and 3A burst. So it's a nice platform for playing around with DC motor based AutoKAP rigs, too.
Part of Baby-Orangutan AutoKAP
Porto Alegre, Brasil, 07/05/2014 - Fórum Internacional do Software Livre - FISL 15 - Raspberry Pi e Beaglebone Black utilizando GPIOs com Python com Sergio Cioban Filho. Foto: Guilherme Almeida
Porto Alegre, Brasil, 07/05/2014 - Fórum Internacional do Software Livre - FISL 15 - Raspberry Pi e Beaglebone Black utilizando GPIOs com Python com Sergio Cioban Filho. Foto: Guilherme Almeida
Are you a fan of the Netduino? Are you a .NET developer looking for a capable 32-bit development board? Well we've got good news! Secret Labs have updated their classic Netduino to create: Netduino 2!
Netduino 2 is still the same Arduino shield compatible board you know and love, except faster with more code space. Powered by an STmicro Cortex-M3 microcontroller running at 120MHz, the Netduino 2 packs 192KB of code space and 60KB of RAM. With built-in hardware peripherals like UART, PWM, I2C, 12-bit ADC and DAC, the Netduino 2 is ready to interface with whatever you throw at it. That includes Arduino R3-style shields, since Netduino 2 adds two GPIO over its predecessor.
Sanguino is an open source Arduino-compatible microcontroller board that is based on the Arduino, and inspired by the Boarduino form-factor. It uses the atmega644P chip which has 4x the memory, ram and 12 more GPIO pins than the Arduino's atmega168.
More info: make.sanguino.cc/1.0
Okay, this is the first circuit of any kind I've ever assembled in my life. And it works. It's a simple circuit of three LEDs connected to the GPIO of the Raspberry Pi, controlled by a 20 line Python script that makes them blink on and off.
Baby steps. Eventually I'll be able to use these techniques to get the Pi to run remote- and autonomously-controlled vehicles, robots, etc.
The Pi (tallac) is mounted on standoffs epoxied into a chunk of walnut that should keep it out of harm's way (ie, static electricity) while still allowing easy access to the GPIO pins and camera interface.
You can see two short lengths of uninsulated 22 gauge solid wire on the bench just above the Pi. I wasn't really sure how the breadboard worked, since I'd never used one before, so I employed these wires with a multimeter as a continuity tester to see how the rows and columns of the holes were connected.
My Raspberry Pi Zero has a new home, an orange acrylic case that will hopefully protect it a bit better than I can!
My first Pi Zero developed an issue with the micro USB out where it couldn't power anything connected.
This new one, and it's case, will hopefully last longer and perform a bit better than the last one.
A simple breakout board to allow easy breadboard access to the GPIO header on a Raspberry Pi. Coming soon from Electro-Resales (ebay) a kit of parts or fully built units
I was hunting for the BMC controller GPIO pin connection from the BMC to the CPU NMI pin so I can do a remote NMI with software . The schematic is 154 pages. I found what I needed on page 89.
Sanguino is an open source Arduino-compatible microcontroller board that is based on the Arduino, and inspired by the Boarduino form-factor. It uses the atmega644P chip which has 4x the memory, ram and 12 more GPIO pins than the Arduino's atmega168.
More info: make.sanguino.cc/1.0
With Adafruit's most excellent Pi Cobbler breakout ! Here I've put together the LEds and switch for a simple model of a British Pedestrian Crossing using wiringPi !
Sanguino is an open source Arduino-compatible microcontroller board that is base
Sanguino is an open source Arduino-compatible microcontroller board that is based on the Arduino, and inspired by the Boarduino form-factor. It uses the atmega644P chip which has 4x the memory, ram and 12 more GPIO pins than the Arduino's atmega168.
More info: make.sanguino.cc/1.0
Sanguino is an open source Arduino-compatible microcontroller board that is based on the Arduino, and inspired by the Boarduino form-factor. It uses the atmega644P chip which has 4x the memory, ram and 12 more GPIO pins than the Arduino's atmega168.
More info: make.sanguino.cc/1.0
The above image was created during a 4 second exposure with a vertical line of 4 LEDs which are turned on and off at the appropriate times with a GPIO shell script running on a Raspberry Pi. While the script was running I slid the breadboard across the frame.
Sanguino is an open source Arduino-compatible microcontroller board that is based on the Arduino, and inspired by the Boarduino form-factor. It uses the atmega644P chip which has 4x the memory, ram and 12 more GPIO pins than the Arduino's atmega168.
More info: make.sanguino.cc/1.0