Tuesday, October 20, 2009
tinyos addendum
TinyOS tutorial
- Intro to MOTE hardware
- Intro to TINYOS installation using xubuntos.
- Intro to make and loading
Export motecom = serial@dev/ttyUSB0:57600
Make micaz
Make micaz reinstall mib510/dev/ttyUSB0
Week 6
ECS parts ordered
ECS PARTS
- 8 DIP version
Pasted from <http://www.mouser.com/Search/Refine.aspx?Keyword=LM385Z2.5&Ns=Packaging%7c1&FS=True>
Week 6
mib 520 mote notes
The mib520 appears as two ttyUSB ports, the lower numbered one is for
programming and the higher numbered one is for UART communication. If
you try connecting the serial forwarder to, in your case, /dev/ttyUSB1
it should work.
-August
On 5/12/06, Kan Cai <kcai at cs.ubc.ca> wrote:
>
> Hi, all:
>
> I had a MIB510 serial board and everything was set up nicely on Ubuntu.
> Recently, I got a MIB520 USB programming board and failed to make it work.
>
> I can use /dev/ttyUSB0 to program the motes correctly. However, it seems
> that my motes are not able to upload information to the computer via the
> USB cable. I am providing the MicaHWVerify testing result as follows. Any
> help would be appreciated!
>
> I am using TinyOS 1.15 and mica2 motes. Thanks in advance!
>
> cheers,
> --ken
>
> --------------------------------------------------------------------------
>
> #echo $MOTECOM
> serial at COM7:57600
>
> # ls -lt /dev/ttyUSB0
> crwxrwxrwx 1 root dialout 188, 0 2006-05-12 22:14 /dev/ttyUSB0
>
> # ls -lt /dev/ttyS6
> lrwxrwxrwx 1 root root 12 2006-05-11 23:59 /dev/ttyS6 -> /dev/ttyUSB0
>
> # ls -lt /dev/COM7
> lrwxrwxrwx 1 root root 10 2006-05-12 08:30 /dev/COM7 -> /dev/ttyS6
>
> # make mica2 install
> compiling MicaHWVerify to a mica2 binary
> ncc -o build/mica2/main.exe -Os -board=micasb -target=mica2 -Wall
> -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -finline-limit=100000
> -fnesc-cfile=build/mica2/app.c MicaHWVerify.nc -lm
> compiled MicaHWVerify to build/mica2/main.exe
> 11738 bytes in ROM
> 450 bytes in RAM
> avr-objcopy --output-target=srec build/mica2/main.exe
> build/mica2/main.srec
> make[1]: Entering directory `/opt/tinyos-1.x/apps/MicaHWVerify'
> installing mica2 binary
> uisp -dprog=mib510 -dserial=/dev/ttyUSB0 -dpart=ATmega128 --wr_fuse_e=ff
> --erase --upload if=build/mica2/main.srec
> Firmware Version: 1.8
> Atmel AVR ATmega128 is found.
> Uploading: flash
>
> Fuse Extended Byte set to 0xff
> make[1]: Leaving directory `/opt/tinyos-1.x/apps/MicaHWVerify'
>
> # java hardware_check
>
> Hardware check started
> serial at COM7:57600: resynchronising
> Node transmission failure
>
>
Week 5

MSDA
- Did lab safety
- Run through with jeff
- Cannot work with benzene because it is carcinogenic.
- Use ether possibly
- Mass spec is down
- Trying to establish lower limit of detection
- MSDA will work with ECS, calibration of ether.
ECS
- Power supply is not critical.
- Look at whether the motes can read battery voltage
- Look at whether motes adjust for voltage changes.
Mark Johnson e-mail about pspice and availability of cadence.
UPS
-finalized mounting.
Oct 26th is the EPICS open house 5:30 PM