config:remotecontrol:k8055
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
config:remotecontrol:k8055 [2019/09/23 15:07] – grr tondose | config:remotecontrol:k8055 [2022/08/25 07:55] – tondose | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Velleman K8055 and K8055N | + | ====== Velleman K8055 ====== |
This article describes remote control for the Velleman K8055 family of USB experiment boards. | This article describes remote control for the Velleman K8055 family of USB experiment boards. | ||
Line 7: | Line 7: | ||
Supported Velleman products are: | Supported Velleman products are: | ||
- | * [[http:// | + | * [[https:// |
- | * [[http:// | + | * [[https:// |
- | * [[http:// | + | |
- | * [[http:// | + | as well as their (now obsolete) predecessors |
+ | |||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
- | The VM110(N) device is virtually the same as the K8055(N) but comes fully assembled, whereas the latter has to be completed by soldering first. | ||
mAirList supports the five digital inputs for triggering of [[reference: | mAirList supports the five digital inputs for triggering of [[reference: | ||
Line 49: | Line 53: | ||
K8055Remote(0).SetDigitalChannel(3); | K8055Remote(0).SetDigitalChannel(3); | ||
+ | | ||
+ | === Digital Inputs === | ||
+ | |||
+ | The status of the digital inputs can be read by the fucntions | ||
+ | |||
+ | function ReadDigitalChannel(Channel: | ||
+ | function ReadAllDigital: | ||
+ | | ||
+ | The former reads the status for each input individually, | ||
+ | |||
+ | K8055Remote(0).ReadDigitalChannel(2); | ||
+ | | ||
+ | whereas the latter gives a complete survey of all five inputs via the five least significant bits. | ||
+ | |||
+ | Example: | ||
+ | |||
+ | A value of 25 corresponds to inputs 1, 4 and 5 being set and inputs 2 and 3 being cleared. | ||
+ | |||
+ | 1 ⋅ 2⁰ + 0 ⋅ 2¹ + 0 ⋅ 2² + 1 ⋅ 2³ + 1 ⋅ 2⁴ = 1 + 0 + 0 + 8 + 16 = 25 | ||
+ | ^ ^ | ||
+ | Bit 1 | Bit 3 | Bit 5 | ||
+ | Inp 1 Bit 2 Inp 3 Bit 4 Inp 5 | ||
+ | Inp 2 Inp 4 | ||
| | ||
=== Analogue Outputs === | === Analogue Outputs === |
config/remotecontrol/k8055.txt · Last modified: 2022/08/25 15:12 by tondose