Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Energy Counter Project | ||||||||
Line: 118 to 118 | ||||||||
Data storage | ||||||||
Changed: | ||||||||
< < | ![]() | |||||||
> > | This module doesn't store the data by itself. The objective is to have the data in some place where it can be quickly accessed.
The following figure describes the SW architecture inside the Linux Server. Further detais in the next sub-sections.
![]() USB to serialThe "USB to serial" adapter is a standard of-the-shelf adapter usually based on a FTDI or Prolific device. In this case the serial interface is done at TTL levels in order to skip all the TTL to/from RS-232 conversion.Linux Driver ttyUSBThe "USB to serial" adapter is directly supported by the Linux Kernel and is mapped into a /dev/ttyUSBxxx device.serial_hubThe serial_hub software, developed by me, has some interesting features, most of them not needed for this specific project. In general:
energymeter_resampleThe energymeter_resample software converts energy consumption events (pulses reported by ATmegaOnDIN) into an average power consumption report once per minute.The output of this SW is something similar to: 1429270680.000000 25.683640 123.180953 182.124549 1429270740.000000 25.680292 123.784811 182.011305 1429270800.000000 25.534447 123.763774 182.006320 1429270860.000000 25.534447 124.544685 181.391650
| |||||||
Deleted: | ||||||||
< < | -- PedroMaiaAlves - 2015-06-16 | |||||||
| ||||||||
Line: 131 to 171 | ||||||||
| ||||||||
Added: | ||||||||
> > |
|