]> www.fi.muni.cz Git - openparking.git/log
openparking.git
9 years agoerror counters to modbus
Jan "Yenya" Kasprzak [Mon, 25 May 2015 18:21:33 +0000 (20:21 +0200)]
error counters to modbus

9 years agoRS485 xmit fixes
Jan "Yenya" Kasprzak [Mon, 25 May 2015 18:20:54 +0000 (20:20 +0200)]
RS485 xmit fixes

9 years agoDo more RX checks in the IRQ handler.
Jan "Yenya" Kasprzak [Sat, 23 May 2015 19:02:37 +0000 (21:02 +0200)]
Do more RX checks in the IRQ handler.

9 years agomodbus: make modbus_poll return value
Jan "Yenya" Kasprzak [Sat, 23 May 2015 15:48:50 +0000 (17:48 +0200)]
modbus: make modbus_poll return value

- the return value is usable for determining whether a potentially
lengthy packet processing went on.

9 years agoMaximum distance is not an error
Jan "Yenya" Kasprzak [Sat, 23 May 2015 15:28:06 +0000 (17:28 +0200)]
Maximum distance is not an error

Try to handle the too-distant object gracefully - treat them as if the
pulse ended at the ECHO_TIMEOUT time.

Now -1 means error (the echo pulse has not started), while too long
value is simply recorded as maximum value.

9 years agoMake running averaging optional.
Jan "Yenya" Kasprzak [Sat, 23 May 2015 15:27:39 +0000 (17:27 +0200)]
Make running averaging optional.

9 years agoMaximum distances as modbus registers
Jan "Yenya" Kasprzak [Sat, 23 May 2015 15:26:02 +0000 (17:26 +0200)]
Maximum distances as modbus registers

9 years agoTimeout adjustments
Jan "Yenya" Kasprzak [Sat, 23 May 2015 12:50:42 +0000 (14:50 +0200)]
Timeout adjustments

9 years agomodbus.c rewritten for a single buffer
Jan "Yenya" Kasprzak [Sat, 23 May 2015 14:54:14 +0000 (16:54 +0200)]
modbus.c rewritten for a single buffer

No need for separate Rx and Tx buffer with request-response nature
of MODBUS/RTU.

9 years agohc-sr04.scad: make it slightly bigger
Jan "Yenya" Kasprzak [Sat, 23 May 2015 14:20:27 +0000 (16:20 +0200)]
hc-sr04.scad: make it slightly bigger

9 years agoUse TX end IRQ instead of busy wait
Jan "Yenya" Kasprzak [Fri, 22 May 2015 22:13:07 +0000 (00:13 +0200)]
Use TX end IRQ instead of busy wait

9 years agomeasurements: running avg
Jan "Yenya" Kasprzak [Fri, 22 May 2015 21:13:25 +0000 (23:13 +0200)]
measurements: running avg

9 years agoTimeout tuning
Jan "Yenya" Kasprzak [Fri, 22 May 2015 21:12:08 +0000 (23:12 +0200)]
Timeout tuning

9 years agoThree-state LED: display errors if present
Jan "Yenya" Kasprzak [Fri, 22 May 2015 21:10:43 +0000 (23:10 +0200)]
Three-state LED: display errors if present

Also support remote status update via modbus (untested yet)

9 years agoRemove unused function do_measurements()
Jan "Yenya" Kasprzak [Fri, 22 May 2015 20:17:50 +0000 (22:17 +0200)]
Remove unused function do_measurements()

9 years agoClock handling factored out to a separate file.
Jan "Yenya" Kasprzak [Fri, 22 May 2015 20:17:31 +0000 (22:17 +0200)]
Clock handling factored out to a separate file.

9 years agoLEDs moved to the final destination.
Jan "Yenya" Kasprzak [Fri, 22 May 2015 19:38:46 +0000 (21:38 +0200)]
LEDs moved to the final destination.

9 years agoFixed permissions for the source code.
Jan "Yenya" Kasprzak [Thu, 21 May 2015 12:30:54 +0000 (14:30 +0200)]
Fixed permissions for the source code.

9 years agoOutline: modbus registers
Jan "Yenya" Kasprzak [Thu, 21 May 2015 12:25:36 +0000 (14:25 +0200)]
Outline: modbus registers

9 years agoWorking modbus
Jan "Yenya" Kasprzak [Thu, 21 May 2015 12:25:09 +0000 (14:25 +0200)]
Working modbus

9 years agoPreliminary modbus rtu implementation.
Jan "Yenya" Kasprzak [Wed, 20 May 2015 23:27:06 +0000 (01:27 +0200)]
Preliminary modbus rtu implementation.

9 years agoOTL text update (in Czech, sorry :-)
Jan "Yenya" Kasprzak [Wed, 20 May 2015 20:57:08 +0000 (22:57 +0200)]
OTL text update (in Czech, sorry :-)

9 years agoDirectory layout
Jan "Yenya" Kasprzak [Wed, 20 May 2015 19:34:28 +0000 (21:34 +0200)]
Directory layout

- PCB-related files in board/
- Arduino firmware in firmware/
- OpenSCAD objects in things/

9 years agoOpenSCAD source files.
Jan "Yenya" Kasprzak [Wed, 20 May 2015 19:20:59 +0000 (21:20 +0200)]
OpenSCAD source files.

9 years agoFirmware - initial revision.
Jan "Yenya" Kasprzak [Wed, 20 May 2015 19:11:15 +0000 (21:11 +0200)]
Firmware - initial revision.

9 years agoResubmitted version with outline
Jan "Yenya" Kasprzak [Mon, 4 May 2015 10:55:37 +0000 (12:55 +0200)]
Resubmitted version with outline

9 years agoBoard sent to fab.
Jan "Yenya" Kasprzak [Thu, 30 Apr 2015 20:54:46 +0000 (22:54 +0200)]
Board sent to fab.

9 years agoFuse added.
Jan "Yenya" Kasprzak [Thu, 30 Apr 2015 16:16:20 +0000 (18:16 +0200)]
Fuse added.

9 years agoMinor routing mods
Jan "Yenya" Kasprzak [Wed, 29 Apr 2015 23:23:28 +0000 (01:23 +0200)]
Minor routing mods

9 years agorenamed sensor headers, fixed D+/D- labels
Jan "Yenya" Kasprzak [Wed, 29 Apr 2015 22:55:43 +0000 (00:55 +0200)]
renamed sensor headers, fixed D+/D- labels

9 years agoInitial commit
Jan "Yenya" Kasprzak [Wed, 29 Apr 2015 21:24:23 +0000 (23:24 +0200)]
Initial commit