Hi Eric, great answer as always. Answers inline (red font to be readable)






On Thu, Nov 14, 2013 at 12:31 PM, Alaios <[email protected]> wrote:

Hi,
>actually when I learn something new I always try a toy game, most of the time 
>does not make sense but is fun.

no problem.   writing simple games is a great way to explore what you have to 
work with.   good idea.


 

>
>I want to understand how to use those lovely connectors my telosb has so I 
>have two toy games in mind.

it would be helpful if you state what connectors you are talking about.   You 
really should try to be more succinct about what you are talking about.  This 
is the 4th email about this topic and we still haven't gotten to exactly what 
you are talking about.

that is true, is part of the toy game I have in mind to start collecting all 
those small things I do miss. I know from experience that is possible to 
connect external sensors or control circuits from telosb so it would be a way 
also for me to implement those.


I beleive you are talking about the expansion connector.  (if so that would 
have been a great thing to have stated in your first email).

yes, after reading a bit that should be. I am still bit confused though how 
they work. I will see tomorrow the msp430 (telosb microprocessor) manual but I 
guess it will not be an easy read (I have heard though that none ever died 
doing that so chances are one me :) )



try to think to yourself that if you were receiving this email, what kind of 
information would you need to be able to answer the question.  Put yourself in 
the shoes of the receiptiant and try to give them enough (or more than enough) 
information so that people you are asking for help can do that without a flurry 
of emails back and forth.   Make it easy for them.

indeed true and appreciate your courage to tackle my noobiness


Now are you talking about GIO2 and GIO3 on U28 on the 6 pin expansion header of 
the telosb?

let me read a bit first :) my firstthink tomorrow is to understand those little 
"holes" on the board.


do you have telosb schematic?   That is kind of essential for messing aournd 
with physical wiring.  Do a google search for tinyos telosb schematic.   It 
will get you to here…  

thanks.. still looks like rocket science. I hope patience and reading would 
heal wounds

 

>
>a. If I understand it right these pins can give as output 3volts peaks and 
>same for inputs. In that case I will connect to the right pins a 3volt led and 
>make it lid.

that is a strange way to talk about digital signals.  Usually saying 3 Volts 
peak implies that it is an analogue signal.  The digital signals I think you 
are talking about are 0 to I beleive 3.3V.  The term you are looking for is 
called the signal level.

thanks do not know the language yes so I got it. I guess that 0 volt is the low 
and 3.3 the high (what also is called in the code high and low pin)


Connecting a LED directly to a digital signal,  Say between the signal and then 
to ground is asking for trouble.  You do realize you need a resistor to do 
current limiting?
 
no, :( I am having a very low low level understanding, I am coming from 
coumpter science where the lowest was assembly. I guess that should be a toy 
game it self to be able to design basic circuits and understand this stuff. I 
also should understan the notion of ground.In the meantime I can just connect 
the voltometer there to see the output


>
>b. Find an external sensor connect it and try to get the values I need.

Depends on what you are trying to do.

If you are just getting started and want to get going with something simple do 
the led.

If you on the other hand, what to explore, what is involved in interfacing a 
sensor to tinyos and tinyos h/w then going the sensor route will be a better 
learning experience.


you can always do both.   start wtih the led to see if you can get a signal to 
wiggle.   Then do the more complicated sensor.   But depends on how the sensor 
interfaces.   Do you have an idea of what is involved with interfacing a 
sensor?   Do you know about different busses?   I2C, SPI, etc.
thanks for the tip. After finishing the led I will proceed to understanding 
bussed and controlling external sensors. Have a few around.


You seem to be wandering around in the wilderness a bit.

Yep, but I can not complain, given my level in low level stuff. In one month I 
have learned quite lot of stuff. Wiring, interfacing, using wireless interface, 
sending data to pc,reading from humidity, temperature sensor, writing to serial 
terminal, using telosb button and more stuff. 

Thanks a lot all
Regards
Alex


 

>
>I guess that a is far simpler than b but still I need some ways to get me 
>started
>
>
>Regards
>A
>
>
>
>
>On Thursday, November 14, 2013 8:15 PM, Eric Decker <[email protected]> wrote:
> 
>
>
>
>
>
>On Thu, Nov 14, 2013 at 10:52 AM, Alaios <[email protected]> wrote:
>
>Hi all,
>>If I understand it right the easiest way to read an input 3 voltage or set a 
>>3voltage output is to use the GeneralIO interface. Is not that right?
>>
>
>
>First it would be more better if you explain what you mean by a "3 voltage" 
>thing.   Do you mean tri-state?  If so please use the right term.   
>
>
>Anyway, GeneralIO is very well described in two places.   The first is TEP117, 
>Low-Level I/O, and the second is the source code.
>
>
>When I'm looking for things I use stuff like…
>
>
>    find . -iname "*generalio*"
>
>
>when looking for what files have some thing to do with the name GeneralIO  or
>
>
>    grep -nHiR generalio .
>
>
>when looking for what files use GeneralIO.   The last will produce lots of 
>output.
>
>
>
>
>
>
> 
>Any guide to start with?
>>
>
>
>sure.  look at the TEPS.   Look at the tutorials, to see if they touch on any 
>of the problem you are messing with.
>
>
>docs.tinyos.net
>
>
>do google searching.
>
>
>
>
>The more you help yourself, the more other folks will be willing to help you 
>too.
>
>
>
>
> 
>Regards
>>Alex
>>
>>
>>
>>_______________________________________________
>>Tinyos-help mailing list
>>[email protected]
>>https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>
>
>
>-- 
>Eric B. Decker
>Senior (over 50 :-) Researcher
>
>
>
>
>_______________________________________________
>Tinyos-help mailing list
>[email protected]
>https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>



-- 
Eric B. Decker
Senior (over 50 :-) Researcher




_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to