Re: [Tinyos-help] ADC Readings and VREF

2010-12-02 Thread krisa
Hi! About the different results with different batteries - my guess would be, that the fluctuations arise because of differences in the rate at which the batteries are able to release current (which is a measurement less known than Ah or Voltage). It means, that while one battery under load is stil

Re: [Tinyos-help] [Tinyos-Help] Send Data from PC to TelosB (basestation)

2010-11-26 Thread krisa
The file you are looking for is located (at least on my tinyos installation) in folder /opt/tinyos-2.1.1/support/sdk/java/net/tinyos/packet/ and it is called Packetizer.java Basically it contains the decription of the UART communication protocol as well as full implementation for methods for both r

Re: [Tinyos-help] ADC reading fluctuations

2010-11-09 Thread krisa
A huge thank you! I Knew just connecting the variable resistor to adc pin and ground seemed like not the best choice, but didn't know about voltage divider (as I am quite new to electronics) With 10 kohm resistor in voltage divider it just worked (I got readings of approx 2000 while the variable re

Re: [Tinyos-help] Using ncg and one hop blink app

2010-11-09 Thread krisa
Hi! I wont be perfectly helpful, seeing as I practically havent used C at all, but I can guide you in the right direction. Basically thiese are the steps: 1) Be able to read & write stream of bytes to/from your usb port in C 2) Implement base station mote in tinyos, which should be able to send Rad

[Tinyos-help] ADC fluctuations

2010-11-07 Thread krisa
I am having a problem with reading value from ADC ports of telosb mote using TinyOS 2.1.1 I have a simple variable resistor sensors (bend sensors) attached to ports 6.3 - 6.7 (ADC3-ADC7), and while their resistace is not changed I would assume their readings to be somewhat constant (of course with

[Tinyos-help] ADC reading fluctuations

2010-11-07 Thread krisa
I am having a problem with reading value from ADC ports of telosb mote using TinyOS 2.1.1 I have a simple variable resistor sensors (bend sensors) attached to ports 6.3 - 6.7 (ADC3-ADC7), and while their resistace is not changed I would assume their readings to be somewhat constant (of course with