Posts

Showing posts from August, 2010

Micro platforms and comm

Hardware
EcoWizard
FLEX Mini
MICAz
Iris Mote
NeoMote
Sun SPOT

Communications
ANT
6LoWPAN
DASH7
ONE-NET
ZigBee
Z-Wave
Wibree
WirelessHART

Arduino

On linux

/usr/share/arduino
/usr/share/doc/arduino

/usr/share/arduino/libraries

To install Messenger:

download it
sudo file-roller
open it and navigate to /messenger/arduino/Messenger in the zip
extract to /usr/share/arduino/libraries/

Arduino 0019 current rc1 has String object
currently Arduino GA is 0018

ATMega8U2 USB

OptiBootLoader faster

Arduino as a programmer

Wireless technologies

Wifi 802.11 $44, 100Mb, 100M

WiFly $44, 100Mb, 100M

SHDC memory with WIFI $50

ZigBee 802.15.4 $20, 250 kb, 100M - 1 mile
Bluetooth 802.15.1 < $20, 3Mb, 100M
Cellular $64 + sevice

2G, 3G
GSM, GPRS, EDGE, W-CDMA, UMTS, TDMA, CDMA, CDMA2000 1xRTT, CDMA2000 1xEV-DO, and CDMA2000 1xEV-DV

4G
must have target peak data rates of up to approximately 100 Mbit/s for high mobility such as mobile access and up to approximately 1 Gbit/s for low mobility

AVR

Android resources

See Accessing Resources in Code

If all you require is the ability to read raw data (such as a video or audio file), then save the file in the res/raw/ directory and read a stream of bytes using openRawResource().

get an instance of Resources with Context.getResources()

never modify the R.java file by hand—it is generated by the aapt tool when your project is compiled.


ViewGroup = layout

View = widge: button, checkbox, etc.

Fast Arduino servo response

HOWTO

On Duemilanove board powered exclusively from USB, the power drops out with the servo powered from the board +5V. Need external power for servos!

1 Orange = PWM
2 Red = +5V
3 Brown = Gnd


+--
|1 \
|2 |
|3 /
+--

Android widgets

Android video capture

Android Camera

Bluetooth, Wifi interference

Business Models

Android sensors

Arduino programmer

located in /usr/shar/arduino
preferences ~/.arduino/preferences.txt

To dump all communication during loading set:
upload.verbose=true

AvrDude

Can program AVR chips via serial from file.

AVRDUDE can be used effectively via the command line to read or write all chip memory types (eeprom, flash, fuse bits, lock bits, signature bytes) or via an interactive (terminal) mode. Using AVRDUDE from the command line works well for programming the entire memory of the chip from the contents of a file, while interactive mode is useful for exploring memory contents, modifying individual bytes of eeprom, programming fuse/lock bits, etc.

AVRDUDE tutorial

Some info on uploading on the Eclipse page

Reset Circuit

Ubuntu Bluetooth pairing

FireFly Linux gtkterm

gtkterm -p /dev/rfcomm0 -s 115200

---------------------------

Open System -> Preferences -> Bluetooth Manager
Adapter -> Search - be sure remote is discoverable
Device -> Pair - accept and confirm
Can send files, must confirm on remote end

-----------------------------

To connect RN-41 connect USB
Applications -> Accessories -> Serial port terminal
Configuration -> Port
select /dev/ttyUSBx, 115200, 8,N,1
select local echo
Enter $$$ to enter command mode on RN-41 should return OK

-----------------------------

Open terminal and enter:
sudo getty 115200 /dev/rfcomm0

-----------------------------

In Bluetooth Manager select RN-41 device
Right click and select SPP - should connect

In Serial port terminal turn off local echo and hit Enter - should see login screen

------------------------------


Haven't found command line howto


hcitool scan
sudo hcitool cc 00:06:66:05:04:62
then right click and pair with pin
then right click and select SPP

/dev/rfcomm0 stdout/in
bash> …

Android Arduino toolkit/library

Arduino memory

Practical Arduino pg 365

Arduino IDE Ubuntu

Arduino playground

sudo add-apt-repository ppa:arduino-ubuntu-team

sudo apt-get update

sudo apt-get install arduino

Ubuntu serial port

Download GUI Serial Port Terminal
or
Command line minicom

list connections:

dmesg | grep tty

Sensors

Arduino Bluetooth

uControllers

Robotics

Remote control