There are two ways to connect Android to Arduino over USB. They are Android Debug Bridge Mode (ADB) and Accessory Mode (ADK). ADK supports only newer Android than 2.3.4 while ADB supports even older than 2.2. A demo in this page uses ADB.
I am experimenting N9 and Arduino. Since QML on N9 doesn’t support any serial communication over USB, I am using the serial communication over Bluetooth.
This post describes how you control a servo motor with N9 over Bluetooth.
This post describes the way to establish communications between open frameworks on Mac OX10.6 and Arduino. The code using it is created on Xcode developing software. It uses ofArduino library which let you control Arduino directly from Xcode. Although the open frameworks also provide a generic Serial protocol. In this case, you need to create own Arduino code using Arduino IDE software.
This post is a proof of concept that describes how to connect N900 to Arduino using BlueSMiRF Gold. Once it is working, you can send charactors to the Arduino. Arduino returned the same characters immediately to X Terminal. Otherwise you will not see any typed charactors in the terminal.
The LED on the BlueSMiRF turns from flashing a red LED to light up a green LED when communication is successfuly established.
Here is a technical demo video that you can can control lamp and read proximity sensor to te Flash player on the N900. Source codes and schematics will be updated soon.
Dec 3, 2009Comments Off on Flash player connected to Arduino via Processing
Digital and analog pins are controlled by accessing bits. Arduino NG Diecimila has Atmel Atmega8 on board and Atmega8 has two digital ports and one analog (digital to analog converter) port. This post describes Pin assign between Arduion and Atmega8. It also describes location of bits assigned to specific ports.
As Arduino has Atmel chip on board, you can also program code with C on your Mac. Softwares for the developing environment are all free. Programming with C looks more complicated but still all logic are the same as Arduion IDE and you can even create more functions with C. Once you have managesd to run your C language code on Arduio, you can also flash the code to other smaller or more powerful Atmel chips. This post describes how I as Mac user managed to write a code to blink LED on Arduion board.
There are several sets of images. The value from touchsensor decides which set of images play in Director. With potentiometer, user can control the speed of rolling images.
It is possible to make Arduino and Pure Data communicate with each other so that one doesn’t have to program Arduino with it’s own programming language (which is called Arduino).
The Arduino (build 0007) analogue output pins (PWM 9-11) have a frequency of approximately 30769 Hz. According to the Parallax documentation (http://www.parallax.com/dl/docs/books/edu/roboticsservomod.pdf) the low time for a pulse train can be between 20-40ms which means that the Arduino pulse is in the range. However, to be consistent with the BS board the frequency can be lowered by the following code =>
The past weeks have been fruitful in terms of progress for the kinetic tray. We have been trying to figure out various ways of installing the dc motors to move the wheels attached to the wooden board. We have successfully managed to build a practical mechanism to make the movement possible. The physical work consisted of building the moveable tray by drilling and attaching the wheels to the wooden board, including making a steady holder system for the motors out of thick cardboard and metal wires. Thanks to Ville’s knowledge of programming for Arduino, he has managed to make a back and forth movement possible for the tray itself with the motors being able to move it across any flat surface.
Apr 6, 2016Comments Off on 6.4.2016 progress: Askar & Niemi: Kinetic Furniture / Tray
I bought a WiFly Arduino shield. This is Wifi module enable Arduino to connect to internet directly. In this post, the shield connets to Windows Phone. How exciting module it is!
Please note that this post is not yet proving that your windows phone app can communicate with Arduino. It just shows the connection is established.
DS3234 is also a real time clock IC. It uses SPI to communicate while DS1307 does with I2C. There is a Arduino library for DS3234 to provide simple methods to set and read time. You can purchase DeadOn DS3234 RTC Breakout from Sparkfun.