Update REDME.md
made the example clear and add a bit of explination
This commit is contained in:
parent
a42cadd9bf
commit
ee9e1c328c
39
REDME.md
39
REDME.md
|
@ -3,14 +3,18 @@ building a Bus system with out central Authorety to build a activitiy based akt
|
||||||
|
|
||||||
# System:
|
# System:
|
||||||
Our Bus contains n element R nodes.
|
Our Bus contains n element R nodes.
|
||||||
|
|
||||||
One Node can be activated limitless often.
|
One Node can be activated limitless often.
|
||||||
|
|
||||||
Each note Contane a inner Value
|
Each note Contane a inner Value
|
||||||
|
|
||||||
A Note can communicate only with all direct naibours.
|
A Note can communicate only with all direct naibours.
|
||||||
|
|
||||||
## How to realize it in Hardware?
|
## How to realize it in Hardware?
|
||||||
|
|
||||||
use Serial (Rx Tx) on a microcontroller and conect them according to this theme:
|
use Serial (Rx Tx) on a microcontroller and conect them according to this theme:
|
||||||
|
|
||||||
|
the __ visolize a micro controller
|
||||||
---
|
---
|
||||||
__ __ __ __ __ __ __ __ __ __ __ __ __ __ __
|
__ __ __ __ __ __ __ __ __ __ __ __ __ __ __
|
||||||
Rx--|<--Tx-->|--Rx--|<--Tx-->|--Rx--|<--Tx-->|--Rx--|<--Tx-->|--Rx--|<--Tx-->|--Rx--|<--Tx-->|--Rx--|<--Tx-->|--Tx
|
Rx--|<--Tx-->|--Rx--|<--Tx-->|--Rx--|<--Tx-->|--Rx--|<--Tx-->|--Rx--|<--Tx-->|--Rx--|<--Tx-->|--Rx--|<--Tx-->|--Tx
|
||||||
|
@ -20,7 +24,11 @@ Tx-->|--Rx--|<--Tx-->|--Rx--|<--Tx-->|--Rx--|<--Tx-->|--Rx--|<--Tx-->|--Rx--|<--
|
||||||
|
|
||||||
one pair of Rx and Tx match a microcontroller.
|
one pair of Rx and Tx match a microcontroller.
|
||||||
|
|
||||||
The diods in the according polarety : - --|<-- + limeits the sicnal travel that one lamp only can sent and recive from his Naighbours.
|
The diods in the according polarety :
|
||||||
|
|
||||||
|
/- --|<-- +
|
||||||
|
|
||||||
|
limeits the sicnal travel that one lamp only can sent and recive from his Naighbours.
|
||||||
|
|
||||||
# How to build a scalable lighnis improvements according to this system?
|
# How to build a scalable lighnis improvements according to this system?
|
||||||
|
|
||||||
|
@ -80,7 +88,9 @@ horezontely notes verticly data iterations
|
||||||
|
|
||||||
therefore we can variate with the injected value at time of activation the first node.
|
therefore we can variate with the injected value at time of activation the first node.
|
||||||
|
|
||||||
if a node get activated and the bus has infinit speed the thunnele will follow you and the size of the aktivation is build by value of the activaton threshhold.
|
if a node get activated and the bus has infinit speed
|
||||||
|
|
||||||
|
the thunnele will follow you and the size of the aktivation is build by value of the activaton threshhold.
|
||||||
|
|
||||||
we want to apply it to lamps therefore it shuld turn off.
|
we want to apply it to lamps therefore it shuld turn off.
|
||||||
|
|
||||||
|
@ -88,18 +98,41 @@ to bind the thunnel of light to the agylity of the wihicle we can build the a
|
||||||
|
|
||||||
|
|
||||||
inner_thrashold > activation and inner_threshold < maximum_thunnle
|
inner_thrashold > activation and inner_threshold < maximum_thunnle
|
||||||
|
|
||||||
increase the activation by some value.
|
increase the activation by some value.
|
||||||
|
|
||||||
in all other cases set activaton value to to min activaton.
|
in all other cases set activaton value to to min activaton.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
|
||||||
|
---+------------------------------------
|
||||||
|
1 | 0 0 0 3 0 4 0 0 0
|
||||||
|
2 | 0 0 2 3 3 4 3 0 0
|
||||||
|
3 | 0 1 2 3 3 4 3 2 0
|
||||||
|
4 | 0 1 2 3 3 4 3 2 1
|
||||||
|
5 | 0 1 2 3 3 4 3 2 1
|
||||||
|
|
||||||
|
---
|
||||||
|
We started on not 4 with an activation value of 3 and on 6 with 4.
|
||||||
|
|
||||||
|
the explaination workes better if we can visolize time too.
|
||||||
|
|
||||||
this creates the effect that if an activation has take place in past the the next activation would be taller and therefore the light thunnel increases in size.
|
this creates the effect that if an activation has take place in past the the next activation would be taller and therefore the light thunnel increases in size.
|
||||||
|
|
||||||
the lamps shuld allso turn off .
|
the lamps shuld allso turn off .
|
||||||
therefore we shuld add a time based decreasing function to the nodes.
|
therefore we shuld add a time based decreasing function to the nodes.
|
||||||
|
|
||||||
Problem solved.
|
## First Problem solved.
|
||||||
The Bus Dont have to be synced on a clock.
|
The Bus Dont have to be synced on a clock.
|
||||||
|
|
||||||
and the time based reduction don't have to be synced.
|
and the time based reduction don't have to be synced.
|
||||||
|
|
||||||
No unwanted adding inteference take palce .
|
No unwanted adding inteference take palce .
|
||||||
|
|
||||||
The bus Dont have a limit for there paticepents.
|
The bus Dont have a limit for there paticepents.
|
||||||
|
|
||||||
you can build crossways too.
|
you can build crossways too.
|
||||||
|
|
||||||
|
# we shuld bring this code to live.
|
||||||
|
see the regarding ino file.
|
Loading…
Reference in a new issue