- Overview
- Resources
- Reading sensor values
- Controlling actuators
- Building an enclosure
- CircuitPython examples
- Python examples
![]() |
Data acquisition is the process of sampling signals that measure real world physical conditions and converting the resulting samples into digital numeric values that can be manipulated by a computer.
--- from Wikipedia
A Sensor is used to measure the real world physical conditions and a microcontroller represents the Connected Device able to manipulated these sensor values.
We will use such devices to find out:
- how to connect to the physical world?
- how to print out sensor values?
- how accurate the sensor is?
- how to deal with wrong values?
- how to visualize the data in a excel sheet and/or jupyter notebook?
- Slides on Microcontrollers, Sensors & Actuators.
- Slides From Prototype to Connected Product.
The available hardware includes a number of sensors:
- The button as an example of a digital sensor.
- The DHT11, a common temperature and humidity sensor.
- A light sensor and a rotary angle sensor which are both analog sensors.
The available hardware includes the following actuators:
- The buzzer and the LED as examples of digital actuators.
- The chainable RGB LED with a custom two-wire protocol.
- The TM1637 4-digit display with a custom one-wire protocol.
Actuators can help to make a device more interactive.
TODO
First, try these examples with CircuitPython on the nRF52840:
- Reading analog sensor input, e.g. light or rotation.
- Reading digital sensor input, e.g. from a button.
- Reading a DHT temperature & humidity sensor.
Then, add an actuator to provide some interactive feedback:
- Controlling digital actuators, e.g. a buzzer or LED.
- Controlling a chainable RGB LED, e.g. to indicate states.
- Controlling a TM1637 4-digit display, e.g. to show the time.
Try these examples with Python on the Raspberry Pi.