How does Arduino Wiring Language work? -
i new arduino , read book < intel galileo , intel galileo gen 2 api features , arduino projects linux programmers > that:
in 2003, student named hernando barragan created hardware thesis describing ide , integration circuit boards powered micro-controllers. contributions other researches concept evolved allowing developers write few lines of code in order to reproduce simple connections of hardware components.
could explain how software change hardware wiring bold part says?
this not talking changing physical wires. means code can drive micro-controller communicate hardware. each pin of micro-controller can different things , speak different hardware have physically connect hardware yourself.
for example:-
to communicate different hardware, such gps, plug gps wires pins of micro-controller , use code monitor pins. arduino monitor voltage on pins determine power on/off (0's , 1's) , allow know result in own code. similar morse code faster. 8 zero's or 1's gives 1 byte, 1 byte 1 letter or number. wait long enough , have whole message (in reality takes few milliseconds quite big message)
some hardware uses 0's , 1's described above, uses analog values give readings. example temperature sensor, when powered, might produce voltage between 0 , 5 volts. have wire plugs 1 of analog pins on arduino. arduino code can read voltage of temperature sensor connected analog pin, perform bunch of calculations , determine temperature is.
some hardware such motors , other sensors use more complex messaging systems
connect pins of arduino micro-controller read or written using methods described in specification of hardware. involves quite complex code arduino/wiring simple set of instructions in background uses complex code.
Comments
Post a Comment