Bluetooth Mate Tutorial. This setup guide is intended for people who have bought a SparkFun Bluetooth Mate and are looking to quickly get it working with their Arduino. The Bluetooth Mate is really easy to use, but you have to know exactly how to configure Windows for it to work properly. Hopefully this quick guide will have you up and running in a few minutes, and will spare you from hours of wondering why you can't get the little green light to come on. I am using: Bluetooth Mate (link)3.3V FTDI USB programmer (link)Arduino Pro Mini 3.3V (link)Bluetooth USB dongle (link)WARNING! I initially only bought the Arduino and the Bluetooth Mate, thinking that I could program the Arduino over bluetooth. I have not had any success making this work, so I don't think it's possible.
Connecting the Modules The Arduino Pro Mini and the Bluetooth Mate are perfectly matched for each other. I chose to mount them on top of each other, using a right angle header like this: Setting up the Arduino Setting up Bluetooth Step 5: Success! Www.flexpoint.com/technicalDataSheets/electronicDesignGuide.pdf. Op-Amp. Op-Amp circuit for implementing the FSR and PS sensors. The output of the op-amp circuit can be adjusted to provide 0-5V output depending on the force or pressure on the sensor. Resistance values used in the circuit change depending upon the sensor. See Chart Below. Flex Sensors by Flexpoint. I have just been playing around with some sensors by Flexpoint. And I have to say, that I really love them... While the company appears to focus on custom design, they produce standard sensors in three sizes, 3", 2" and 1".
The actual variable resistor within the sensor is a bit shorter. Check the image for approximate actual measures: Other flex sensors I had previously worked with where quite noisy and corse. Also they where usually pressure sensitive as well which in some cases can confuse readings. I started playing with the three inch sensor. The signal is as clean as I would expect from a high quality potentiometer Using a voltage divider by Phidgets and an Arduino Duemillenove I was able to get a resolution of 800 pointsThere is a slight memory effect. (U --> Umfang --> Circumference) Basically I am using the sensors length as a measure and am wrapping it around an object 4 times, 3 times, 2 times and identical to the sensors length.
Here are some images of the 3" sensor in action: Xbee Adapter - Connecting, Configuring and Upgrading. Once you have the XBee connected to a computer, you can experiment with connecting, configuring and upgrading the modules to the latest firmware. PLEASE NOTE! These instructions are for the Adafruit XBee adapter kit and the Series 1 XBees that are sold in the Adafruit Shop. They may not work for ANY OTHER KIND OF XBEE OR ADAPTER KIT! First, follow the wiring information in the previous section to connect up the XBee module. Note that if the module has correct power, the green LED should be blinking. If it isn't, check the wiring and verify that the XBee is getting power. You'll need to figure out which serial port (COM) you are using. Next you'll need to open up a terminal program. When you open it up, it should ask you for a new connection. Next You will select the COM port from the drop down menu, in my case its COM4.
Next, set the properties. You will get a blank screen that says "Connected" in the bottom left corner. Now type in +++ (three plus signs) in quick succession. How to Connect an Arduino to an XBee Radio. Solderless breadboards and XBee breakout boards provide an easy way to link your Arduino board to an XBee. While the XBee has many pins, it takes only four of them to create a working connection so that your Arduino can communicate wirelessly, using its built-in serial communications protocol. Remember that the XBee pins are spaced 2 mm apart, so the XBee can’t be placed directly into a breadboard. A basic breakout board is the least expensive adapter for connecting to an Arduino (for example Sparkfun parts BOB-08669 with PRT-08272 & PRT-00116).
You can also use an XBee Explorer as a breakout board (Sparkfun WRL-08687), but keep in mind that the pins are arranged differently. The four connecting wires will provide power, electrical ground, transmit, and receive. The table below shows the pin connections between Arduino and XBee, and the image below shows them on an XBee breakout board. Pin connections between Arduino and XBee Breakout board pins for serial connection to Arduino. Single precision floating-point format. Single-precision floating-point format is a computer number format that occupies 4 bytes (32 bits) in computer memory and represents a wide dynamic range of values by using a floating point.
In IEEE 754-2008 the 32-bit base 2 format is officially referred to as binary32. It was called single in IEEE 754-1985. In older computers, other floating-point formats of 4 bytes were used. One of the first programming languages to provide single- and double-precision floating-point data types was Fortran. Single-precision binary floating-point is used due to its wider range over fixed point (of the same bit-width), even if at the cost of precision.
IEEE 754 single-precision binary floating-point format: binary32[edit] The IEEE 754 standard specifies a binary32 as having: Sign bit determines the sign of the number, which is the sign of the significand as well. To be zero, e must be 127). where more precisely we have In this example: thus: Exponent encoding[edit] Conversion of the fractional part: Thus where. Www.me.ucsb.edu/~me170c/Code/I2C_lesson_2(2).pdf. I2C tutorial – ITPBlog. Here is a tutorial that I prepared for Arduino I2C connection. Arduino.cc has a good tutorial on I2C, I have added my experience on top of what they have to prepare this tutorial. So, you can see some things from Arduino site. I2C lets you communicate between multiple Arduino’s. It works with a master Arduino, and 1 or more Arduino(s), that can be used for input or output.
To make the hardware connection, you need to connect one ground and 5V pins on each Arduino. I2C is a synchronized communication way between Arduino’s, So, you don’t need to worry about synchronization. On most Arduino boards, SDA (data line) is on analog input pin 4, and SCL (clock line) is on analog input pin 5. Functions Begin: Wire.begin() Wire.begin(address) Description Initiate the Wire library and join the I2C bus as a master or slave. Address is the name of the Arduino module, in your conversation between Arduino’s. Parameters Address: the 7-bit slave address (0-127). Returns None Example void setup(){ for master See Also. Arduino i2c. Triggering an LED on one XBee (zigbee) by way of another XBee. How to program a Pro Mini with another Arduino. Here is a simple way to program an Arduino Pro Mini without the use of a USB/FTDI programmer. All you need is another Arduino! Simply pull the cpu out of the board, and wire the following pins between the Arduino and Arduino Mini RX -> RXTX -> TX+5v (or +3.3v) -> VCCGND -> GNDReset -> GRN (Reset/DTR) That's it!
Plug it in an program You could also use this method to add serial/usb communications to your Pro Mini for debugging purposes (just don't wire up VCC if it's being powered from another source). I used an Arduino Serial, but you could use a USB Arduino too. It's pretty straightforward, but here are pictures anyways: Réseau de xbee et osc.
I2C between Arduino's. Arduino and the I2C bus – Part One. This is part one of several tutorials on how to use the I2C bus with Arduino, and chapter twenty of a series originally titled “Getting Started/Moving Forward with Arduino!” By John Boxall – A tutorial on the Arduino universe. The first chapter is here, the complete series is detailed here. [Updated 28/11/2014] In this first of several tutorials we are going to investigate the I2C data bus, and how we can control devices using it with our Arduino systems. The I2C bus can be a complex interface to master, so I will do my best to simplify it for you. In this article we will learn the necessary theory, and then apply it by controlling a variety of devices. But first of all, what is it?
I2C is an acronym for “Inter-Integrated Circuit”. Why would we want to use I2C devices? As there are literally thousands of components that use the I2C interface! From a hardware perspective, the wiring is very easy. Each device can be connected to the bus in any order, and devices can be masters or slaves. Arduino and the RFID reader ID-12 / formatlos. December 8th, 2008 • Physical Computing This tutorial is all about wiring the RFID reader ID-12 and retrieving RFID tags via an Arduino board. There are already a few good tutorials with working code out there, but all of them are quite basic and therefore I want to show you how to use it in more complex applications.
There are basically 2 major differences in comparison to other implementations: 1. software serial The ID-12 uses a serial connection to send the tags. 2. But enough talking, get this thing started: Wiring Connect pin 11 to +5V, 1 and 7 to ground, 2 and 9 to Arduino pins 4 and 5; Arduino code First of all you have to get the AF_SoftSerial library (you will need an Arduino board with an ATmega168) or NewSoftSerial (for ATmega328).
After installing the AFSoftSerial library you can download my arduino code and upload it to your board. The first part of the code is for reading the RFID tags and checking if the tag is still in the range of the reader. HobbyTronics | SparkFun IMU Fusion Board - ADXL345 & IMU3000 |SEN-10252. IMU Fusion Board - The IMU 3000 breakout features a 3-axis digital gyro with programmable ranges from +-250 to +-2000 degrees/sec. In addition, it has a secondary I2C port that interfaces with a digital accelerometer to deliver a complete 6-axis sensor output from its primary I2C port. The fusion output offloads the intensive motion processing computation requirements from the host processor, reducing the need for frequent polling of the motion sensor output and enabling low cost, low power microcontrollers.
We provide you with a simple board which breaks out the necessary pins on the IMU 3000 and connects an ADXL345 accelerometer to the I2C input of the IMU 3000. There is even a 3.3V regulator as well. We have now added an example Arduino sketch to get you going. IMU Fusion Board Documents There are no reviews for this product. Write Review. A Swarm of Xbees! Arduino Xbee Wireless & More. In the past we have covered a few things that interact through serial, from RFID readers to controlling an Arduino’s pins using the serial terminal. Serial as we have talked about it is actually know as UART, and operates over 2 pins RX and TX (receive and transmit). These connections have previously been limited by their required wires. So… what if you could drop the wire connection between the arduino and the RFID reader, or your computer and the arduino without adding much complexity?
Well that is what Gerardo proposed with this article he wrote for bildr. Everyone hates long wires running from one end of the room to the other, and let’s face it, it’s aesthetically unpleasant. So, why not make your next project a little bit more interesting and easy to use by adding wireless communication capabilities? In this post we will be using the the series 1 XBee modules to make this happen. Series 1 vs Series 2/.25 Choosing the right one for you getting started Hooking one up Windows Computer Code. Hinoshizuku2(IMU Digital Combo Board - 6 DOF ITG3200/ADXL345)OF ITG3200/ADXL345) RFID Reader ID-12 (125 kHz) Description: RFID (radio-frequency identification) is the wireless non-contact use of radio-frequency electromagnetic fields, for the purposes of identifying and tracking tags attached to objects. This is the ID-12LA, a very simple to use RFID reader module from ID Innovations.
With a built in antenna, the only holdup is the 2mm pin spacing (breakout board available below). Power the module, hold up a 125kHz card, and get a serial string output containing the unique ID of the card. The new ID-12LA is essentially the same as the ID-12, but has a lower voltage input. Features: 2.8 - 5V supply 125kHz read frequency EM4001 64-bit RFID tag compatible 9600bps TTL and RS232 output Magnetic stripe emulation output 120mm read range Dimensions: 25x26mm Documents: Replaces: SEN-8419.