background preloader

The Absolute Beginner's Guide to Arduino

The Absolute Beginner's Guide to Arduino
Over the Christmas break from work I wanted to learn something new. I’ve been eyeing up Arduino for some time now, and for Christmas I got an Arduino UNO R3 board. What is Arduino? Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments. Source: Microcontroller Arduino is a microcontroller on a circuit board which makes it easy to receive inputs and drive outputs. A microcontroller is a integrated computer on a chip. Inputs Some examples of inputs would be a temperature sensor, a motion sensor, a distance sensor, a switch and so forth. Outputs Some examples of outputs would be a light, a screen, a motor and so forth. Arduino is a small computer that you can program to read and control electrical components connected to it. Obtaining an Arduino Board Often boards are bundled up with starter kits.

VHDL Tutorial Jan Van der Spiegel University of Pennsylvania Department of Electrical and Systems Engineering VHDL Tutorial 1 1. Introduction. 1 2. 3. Behavioral model 5 Concurrency. 6 Structural description. 6 4. 5. Constant 11 Variable. 12 Signal 12 6. Integer types. 15 Floating-point types. 15 Physical types. 16 Array Type. 17 Record Type. 19 Signal attributes. 20 Scalar attributes. 21 Array attributes. 22 7. 8. Basic Loop statement 31 While-Loop statement 32 For-Loop statement 32 9. 10. 11. Appendix: IEEE Standard Package STD_LOGIC_1164 This tutorial gives a brief overview of the VHDL language and is mainly intended as a companion for the Digital Design Laboratory. VHDL stands for VHSIC (Very High Speed Integrated Circuits) Hardware Description Language. Although these languages look similar as conventional programming languages, there are some important differences. A digital system can be represented at different levels of abstraction [1]. Figure 1: Levels of abstraction: Behavioral, Structural and Physical a. b. c.

Category: Arduino My older son recently started school and needed his own desk for doing homework. I wanted to make something nicer than a simple tabletop with legs, and realized that I could also build in a bit of fun for when the homework is finished. Both my boys and I still had space travel on our minds from our summer trip to Kennedy Space Center. The desk resides under my son's loft bed (which I also built), and stays closed until the homework is finished: When playtime begins, the lid flips up to reveal the Mission Control console: As I mentioned in the video, I painted the underside of the lid with magnetic primer. The programming of the console, which I posted to GitHub, has the Arduino and the Raspberry Pi working cooperatively. The EECOM panel contains four potentiometers that are each mapped to a 12-segment bargraph display. The CAPCOM panel has connections for the headset as well as volume controls. "C&WS" stands for Caution and Warning System.

Assembly | Adafruit FONA A battery and antenna is required! If you have a uFL FONA, a uFL->SMA cable may be required to connect the antenna. Use any Lipoly or LiIon 3.7V/4.2V battery Check polarity for the battery!Snap the uFL connector on, it will click when placed properly You must insert a SIM card to do anything but the most basic tests. Electronics : Microprocessors : I2C - Two-Wire Peripheral Interface - for Arduino Tip A summary of everything shown below is available further down this page: This post describes how the I2C (Inter-Integrated Circuit, or "Two-Wire") interface works, with particular reference to the Arduino Uno which is based on the ATmega328P microprocessor chip. The Two-Wire interface is extremely useful for connecting multiple devices, as they can all share the same two pins (plus a ground return). Because of this you could have an LCD screen (say) at address 10, a keyboard at address 11, and so on. More information about I2C at: More information about the Arduino Two-Wire interface at: Other protocols Pinouts On the Arduino Uno the pins you need are: Analog port 4 (A4) = SDA (serial data)Analog port 5 (A5) = SCL (serial clock) On the Arduino Mega, SDA is digital pin 20 and SCL is digital pin 21 (they are marked SDA and SCL on the board itself). Sending data From the above graphic note the following points of interest:

Related: