In this tutorial we'll be showing how to utilize a DHT sensor Python library based on C for high-speed GPIO polling to handle bit-banged sensor output. Many low cost sensors have unusual output formats, and in this case, a "Manchester-esque" output that is not SPI, I2C or 1-Wire compatible must be polled continuously by the Pi to decode. Luckily, the C GPIO libraries are fast enough to decode the output.
Once you have mastered the basic blinking leds, simple sensors and buzzing motors, it’s time to move on to bigger and better projects. That usually involves combining bits and pieces of simpler sketches and trying to make them work together. The first thing you will discover is that some of those sketches that ran perfectly by themselves, just don’t play well with others. There are ways to effectively juggle multiple tasks on an Arduino. This series of guides will show you how.
Infrared LEDs and receivers can be a great way to control a robot will create a home automation system but you need a library to simplify the coding process. In this tutorial we will give a brief explanation of how IR remotes work and show you how to use the IRLib library which makes it easy to send, receive, and decode IR signals.
At the Feather M0's heart is an ATSAMD21G18 ARM Cortex M0 processor, clocked at 48 MHz and at 3.3V logic, the same one used in the new Arduino Zero. This chip has a whopping 256K of FLASH (8x more than the Atmega328 or 32u4) and 32K of RAM (16x as much)! This chip comes with built in USB so it has USB-to-Serial program & debug capability built in with no need for an FTDI-like chip.
You just found the perfect I2C sensor, and you want to wire up two or three or more of them to your Arduino when you realize "Uh oh, this chip has a fixed I2C address, and from what I know about I2C, you cannot have two devices with the same address on the same SDA/SCL pins!" Are you out of luck? You would be, if you didn't have this ultra-cool TCA9548A 1-to-8 I2C multiplexer!
Pro Trinket combines everything you love about Trinket with the familiarity of the common core Arduino chip, the ATmega328. It's like an Arduino Pro Mini with more pins and USB tossed in, so delicious. Sometimes you just need more pins, more FLASH, and more RAM. That's why we designed Pro Trinket, with 18 GPIO, 2 extra analog inputs, 28K of flash, and 2K of RAM.
One of the great things about the Raspberry Pi is how everyone starts with same piece of gear. Since the sound cards are identical on every unit it is trivial to load the drivers and play mp3 files. This guide describes how to connect input buttons and play audio files using a Raspberry Pi with Python. We make use of the Adafruit's Pi Cobbler Breakout Kit and the python module RPi.GPIO. If you have not already used the raspberry pi as a input device this guide will show you how to wire the pull-down resistors to the GPIO pins and buttons.
Teaching the raspberry pi how to read analog inputs is easier than you think. The Pi does not include a hardware analog to digital converter, but a external chip can be used along with some bit banged SPI code in python to control read external analog devies such as (but not limited to): - potentiometer - photocell - force sensitive resistor ( fsr ) - temperature sensor