soft/lpc122x/scialys
2 months agoAdd host app for Scialys Linux extention board master
Nathael Pajani [Thu, 31 Oct 2024 13:30:57 +0000 (14:30 +0100)]
Add host app for Scialys Linux extention board
Decode scialys frames and send relevent information to MQTT brocker

2 months agoImprove critical low temperature handling
Nathael Pajani [Thu, 31 Oct 2024 13:29:33 +0000 (14:29 +0100)]
Improve critical low temperature handling

2 months agoImprove Watchdog reset conditions
Nathael Pajani [Thu, 31 Oct 2024 13:29:08 +0000 (14:29 +0100)]
Improve Watchdog reset conditions

2 months agoImprove communication with extentions
Nathael Pajani [Thu, 31 Oct 2024 13:28:06 +0000 (14:28 +0100)]
Improve communication with extentions

2 months agoChange programm name
Nathael Pajani [Thu, 31 Oct 2024 12:53:01 +0000 (13:53 +0100)]
Change programm name

3 months agoChange overvoltage signaling to static yellow
Nathael Pajani [Tue, 17 Sep 2024 09:39:03 +0000 (11:39 +0200)]
Change overvoltage signaling to static yellow
Fix "yellow" color for forced mode command.

3 months agoMove to v04
Nathael Pajani [Mon, 16 Sep 2024 18:02:23 +0000 (20:02 +0200)]
Move to v04

3 months agoMake these vars volatile as they can be changed in interrupt context
Nathael Pajani [Mon, 16 Sep 2024 18:01:50 +0000 (20:01 +0200)]
Make these vars volatile as they can be changed in interrupt context

3 months agoUpdate overvolage mode update to prevent deadlock
Nathael Pajani [Mon, 16 Sep 2024 18:01:08 +0000 (20:01 +0200)]
Update overvolage mode update to prevent deadlock

3 months agoUpdate watchdog feeding to prevent some deadlocks
Nathael Pajani [Mon, 16 Sep 2024 18:00:10 +0000 (20:00 +0200)]
Update watchdog feeding to prevent some deadlocks

3 months agoAdd hysteresys to max water temp handling
Nathael Pajani [Mon, 16 Sep 2024 17:59:07 +0000 (19:59 +0200)]
Add hysteresys to max water temp handling

3 months agoUpdate First character sent for config frame
Nathael Pajani [Mon, 16 Sep 2024 17:56:10 +0000 (19:56 +0200)]
Update First character sent for config frame

3 months agoUpdate Leds handling and meaning
Nathael Pajani [Mon, 16 Sep 2024 17:54:48 +0000 (19:54 +0200)]
Update Leds handling and meaning

3 months agoMoved enum to interface.h
Nathael Pajani [Mon, 16 Sep 2024 17:51:16 +0000 (19:51 +0200)]
Moved enum to interface.h

3 months agoUpdate Readme and Config first character
Nathael Pajani [Mon, 16 Sep 2024 17:41:07 +0000 (19:41 +0200)]
Update Readme and Config first character

9 months agoMove version to "Production 01"
Nathael Pajani [Mon, 11 Mar 2024 15:38:30 +0000 (16:38 +0100)]
Move version to "Production 01"

9 months agoAdd "delay" mode for mode display
Nathael Pajani [Mon, 11 Mar 2024 15:38:12 +0000 (16:38 +0100)]
Add "delay" mode for mode display

9 months agoTypo in comments
Nathael Pajani [Mon, 11 Mar 2024 15:37:35 +0000 (16:37 +0100)]
Typo in comments

9 months agoUpdate USB-UART communication, allow sending config and prepare for receiving new...
Nathael Pajani [Mon, 11 Mar 2024 15:36:56 +0000 (16:36 +0100)]
Update USB-UART communication, allow sending config and prepare for receiving new config over USB-UART link

9 months agoFix temp table problem causing forced mode on startup
Nathael Pajani [Mon, 11 Mar 2024 15:33:15 +0000 (16:33 +0100)]
Fix temp table problem causing forced mode on startup

9 months agoAdd support to decode config from Scialys module and signal handler to close (and...
Nathael Pajani [Mon, 11 Mar 2024 15:30:14 +0000 (16:30 +0100)]
Add support to decode config from Scialys module and signal handler to close (and flush) files when killed/exited

11 months agoAdd tools to dump display (make screenshots) of Scialys module
Nathael Pajani [Tue, 30 Jan 2024 21:55:44 +0000 (22:55 +0100)]
Add tools to dump display (make screenshots) of Scialys module

11 months agoFix first display collumn of message
Nathael Pajani [Tue, 30 Jan 2024 21:53:36 +0000 (22:53 +0100)]
Fix first display collumn of message

11 months agoImproved comments
Nathael Pajani [Tue, 30 Jan 2024 02:38:37 +0000 (03:38 +0100)]
Improved comments

11 months agoImprove button press filtering by software
Nathael Pajani [Tue, 30 Jan 2024 02:38:19 +0000 (03:38 +0100)]
Improve button press filtering by software

12 months agoRework of the main algorithm, to be tested
Nathael Pajani [Wed, 13 Dec 2023 22:02:41 +0000 (23:02 +0100)]
Rework of the main algorithm, to be tested

12 months agoFix relay command to avoid holding relay current in bistable relays
Nathael Pajani [Wed, 13 Dec 2023 21:55:15 +0000 (22:55 +0100)]
Fix relay command to avoid holding relay current in bistable relays

13 months agoAdd host decoder to test the slave communication protocol
Nathael Pajani [Fri, 24 Nov 2023 23:14:59 +0000 (00:14 +0100)]
Add host decoder to test the slave communication protocol

13 months agoThis comment has been ... somehow cut in it's run
Nathael Pajani [Fri, 24 Nov 2023 23:10:43 +0000 (00:10 +0100)]
This comment has been ... somehow cut in it's run

13 months agoAdd TOR slave module support (alpha v0.1 version)
Nathael Pajani [Fri, 24 Nov 2023 23:02:32 +0000 (00:02 +0100)]
Add TOR slave module support (alpha v0.1 version)

13 months agoMany fixes and improvement towards v1.0
Nathael Pajani [Fri, 24 Nov 2023 23:01:39 +0000 (00:01 +0100)]
Many fixes and improvement towards v1.0
Add Communication with "slave" modules

13 months agoFix overvoltage detection for electrical test version
Nathael Pajani [Fri, 24 Nov 2023 22:57:05 +0000 (23:57 +0100)]
Fix overvoltage detection for electrical test version

13 months agoAdd logging to file separated in "data" and "info" parts
Nathael Pajani [Fri, 24 Nov 2023 22:55:58 +0000 (23:55 +0100)]
Add logging to file separated in "data" and "info" parts

13 months agoThis one is to decode UART0 info (over USB-to-UART bridge)
Nathael Pajani [Fri, 24 Nov 2023 22:53:33 +0000 (23:53 +0100)]
This one is to decode UART0 info (over USB-to-UART bridge)

13 months agoFix binary name
Nathael Pajani [Fri, 24 Nov 2023 22:52:51 +0000 (23:52 +0100)]
Fix binary name

18 months agoParam interface fixes
Nathael Pajani [Mon, 10 Jul 2023 01:04:01 +0000 (03:04 +0200)]
Param interface fixes

18 months agoMove sensors code to sensors.[ch]
Nathael Pajani [Mon, 10 Jul 2023 01:03:14 +0000 (03:03 +0200)]
Move sensors code to sensors.[ch]

18 months agoAdd uart number as parameter for scialys_uSD_append_data()
Nathael Pajani [Mon, 10 Jul 2023 00:58:15 +0000 (02:58 +0200)]
Add uart number as parameter for scialys_uSD_append_data()

23 months agoUpdate old boards code to new software interfaces.
Nathael Pajani [Wed, 8 Feb 2023 23:38:56 +0000 (00:38 +0100)]
Update old boards code to new software interfaces.

23 months agoUpdate README
Nathael Pajani [Wed, 8 Feb 2023 23:38:14 +0000 (00:38 +0100)]
Update README

23 months agoMoving old soft versions related to old boards to "old" directory
Nathael Pajani [Wed, 8 Feb 2023 23:37:17 +0000 (00:37 +0100)]
Moving old soft versions related to old boards to "old" directory
 to prevent recompilation when re-building all apps.
These may not build anymore (though I updated some today to allow re-compilation)

2 years agoRemove DC 12V test mode from main app
Nathael Pajani [Sun, 20 Nov 2022 16:07:29 +0000 (17:07 +0100)]
Remove DC 12V test mode from main app

2 years agoGoing on with code cleaning, re-organisation, and fixes
Nathael Pajani [Sun, 20 Nov 2022 16:03:33 +0000 (17:03 +0100)]
Going on with code cleaning, re-organisation, and fixes

2 years agoAdding test version used for Electrical safety tests
Nathael Pajani [Sun, 20 Nov 2022 16:00:37 +0000 (17:00 +0100)]
Adding test version used for Electrical safety tests

2 years agoAdd README to scialys frames decode host application
Nathael Pajani [Thu, 10 Nov 2022 11:35:27 +0000 (12:35 +0100)]
Add README to scialys frames decode host application

2 years agoUpdate main README
Nathael Pajani [Thu, 10 Nov 2022 11:34:42 +0000 (12:34 +0100)]
Update main README

2 years agoUpdate/Fix uSD support
Nathael Pajani [Thu, 10 Nov 2022 11:34:28 +0000 (12:34 +0100)]
Update/Fix uSD support
Now need to test effective data logging.

2 years agoStop tracking generated binary file
Nathael Pajani [Tue, 8 Nov 2022 17:26:26 +0000 (18:26 +0100)]
Stop tracking generated binary file

2 years agoUpdate gitignore files to prevent binary inclusions
Nathael Pajani [Thu, 24 Sep 2020 11:09:03 +0000 (13:09 +0200)]
Update gitignore files to prevent binary inclusions

2 years agoCommunication (data) decoding app for scialys module
Nathael Pajani [Thu, 11 Jun 2020 19:02:51 +0000 (21:02 +0200)]
Communication (data) decoding app for scialys module

2 years agoAdding README file and .gitignore file to the repository.
Nathael Pajani [Tue, 8 Nov 2022 16:59:05 +0000 (17:59 +0100)]
Adding README file and .gitignore file to the repository.

2 years agoIntermediate update of uSD support for Scialys App
Nathael Pajani [Mon, 7 Nov 2022 22:41:44 +0000 (23:41 +0100)]
Intermediate update of uSD support for Scialys App

2 years agoHuge update of app configuration menu (params)
Nathael Pajani [Sat, 15 Oct 2022 00:39:04 +0000 (02:39 +0200)]
Huge update of app configuration menu (params)

2 years agoBug fix, data corruption when SD card not present or not responding
Nathael Pajani [Sat, 15 Oct 2022 00:34:58 +0000 (02:34 +0200)]
Bug fix, data corruption when SD card not present or not responding

2 years agoRemove unused variable
Nathael Pajani [Sun, 12 Jun 2022 20:45:42 +0000 (22:45 +0200)]
Remove unused variable

2 years agoSplit interface.c in two files, one for the interface code, one for the parameters...
Nathael Pajani [Sun, 12 Jun 2022 18:53:31 +0000 (20:53 +0200)]
Split interface.c in two files, one for the interface code, one for the parameters configuration menu

2 years agoFix button events so interface is no more sensible to small electro-static discharges
Nathael Pajani [Mon, 7 Feb 2022 10:39:32 +0000 (11:39 +0100)]
Fix button events so interface is no more sensible to small electro-static discharges

2 years agoNamespace update for time and uSD part of Scialys support app Also add comments and...
Nathael Pajani [Thu, 11 Nov 2021 02:54:47 +0000 (03:54 +0100)]
Namespace update for time and uSD part of Scialys support app Also add comments and reorder functions according to call order from main().

2 years agoNamespace update for time handling part of Scialys support app
Nathael Pajani [Thu, 11 Nov 2021 02:49:10 +0000 (03:49 +0100)]
Namespace update for time handling part of Scialys support app

2 years agoNamespace update for uSD part of Scialys support app
Nathael Pajani [Thu, 11 Nov 2021 02:48:36 +0000 (03:48 +0100)]
Namespace update for uSD part of Scialys support app

2 years agoUpdate headers and oldest valid date/time
Nathael Pajani [Sun, 25 Apr 2021 22:06:54 +0000 (00:06 +0200)]
Update headers and oldest valid date/time

2 years agoScialys support going on ...
Nathael Pajani [Thu, 19 Nov 2020 18:55:48 +0000 (19:55 +0100)]
Scialys support going on ...

2 years agoUpdated v10 Adding max temps hysteresys Working on configuration menu
Nathael Pajani [Fri, 12 Jun 2020 23:31:56 +0000 (01:31 +0200)]
Updated v10 Adding max temps hysteresys Working on configuration menu

2 years agoChanges to old v08 scialys version.
Nathael Pajani [Thu, 11 Jun 2020 19:05:16 +0000 (21:05 +0200)]
Changes to old v08 scialys version.

2 years agoRemoved unused test apps for old versions
Nathael Pajani [Thu, 11 Jun 2020 19:04:23 +0000 (21:04 +0200)]
Removed unused test apps for old versions

2 years agoScialys v09 app
Nathael Pajani [Thu, 11 Jun 2020 19:03:46 +0000 (21:03 +0200)]
Scialys v09 app

2 years agoScialys v10 app, initial version
Nathael Pajani [Thu, 11 Jun 2020 19:03:25 +0000 (21:03 +0200)]
Scialys v10 app, initial version

2 years agoScialys app v0.3.2 Fix manual forced heating Change fan command (always on when cmd...
Nathael Pajani [Thu, 13 Jun 2019 19:16:41 +0000 (21:16 +0200)]
Scialys app v0.3.2 Fix manual forced heating Change fan command (always on when cmd != 0) Add version info on display

2 years agoFirst release of app for v08 of Scialys module
Nathael Pajani [Thu, 13 Jun 2019 18:27:13 +0000 (20:27 +0200)]
First release of app for v08 of Scialys module

2 years agoTest support of scyalis v07 boards
Nathael Pajani [Thu, 11 Apr 2019 14:00:45 +0000 (16:00 +0200)]
Test support of scyalis v07 boards

2 years agoUpdate all files to mention version 3 of the GPL.
Nathael Pajani [Thu, 21 Feb 2019 15:34:16 +0000 (16:34 +0100)]
Update all files to mention version 3 of the GPL.

2 years agoScialys test 230V
Nathael Pajani [Thu, 3 Jan 2019 22:11:11 +0000 (23:11 +0100)]
Scialys test 230V

2 years agoScialys test mosfet
Nathael Pajani [Thu, 3 Jan 2019 22:10:59 +0000 (23:10 +0100)]
Scialys test mosfet

2 years agoScialys test 12V
Nathael Pajani [Thu, 3 Jan 2019 22:10:48 +0000 (23:10 +0100)]
Scialys test 12V

2 years agoDev projet scialys, support version 0.3 (obsolete)
Nathael Pajani [Thu, 3 Jan 2019 21:39:55 +0000 (22:39 +0100)]
Dev projet scialys, support version 0.3 (obsolete)

2 years agoCurrent dev status for the version 5 of the Scialys module
Nathael Pajani [Thu, 3 Jan 2019 21:05:02 +0000 (22:05 +0100)]
Current dev status for the version 5 of the Scialys module

2 years agoFix over-heating protectioin for beta version of scialys module
Nathael Pajani [Sat, 1 Dec 2018 13:18:45 +0000 (14:18 +0100)]
Fix over-heating protectioin for beta version of scialys module

2 years agooled: add support for SPI ssd130x displays
Cyprien Laplace [Sat, 24 Jun 2017 20:47:22 +0000 (16:47 -0400)]
oled: add support for SPI ssd130x displays

For I2C displays, the bus_type needs to be added:

+   .bus_type = SSD130x_BUS_I2C,
    .address = DISPLAY_ADDR,
    .bus_num = I2C0,

To use a SPI display:

1/ add the SSP include:

    #include "drivers/ssp.h"

2/ add the SPI pins to the init table:

    /* SPI : Display */
    { LPC_SSP0_SCLK_PIO_0_14, LPC_IO_DIGITAL },
    { LPC_SSP0_MISO_PIO_0_16, LPC_IO_DIGITAL },
    { LPC_SSP0_MOSI_PIO_0_17, LPC_IO_DIGITAL },

3/ update the oled_display conf:

    .bus_type = SSD130x_BUS_SPI,
    .bus_num = SSP_BUS_0,
    .gpio_dc = LPC_GPIO_0_0,
    .gpio_cs = LPC_GPIO_1_0,
    .gpio_rst = LPC_GPIO_0_31,

4/ initialize the SPI bus:

    ssp_master_on(SSP_BUS_0, LPC_SSP_FRAME_SPI, 8, 8*1000*1000);

2 years agoUpdated for the new ssd130x driver api
David Odin [Wed, 19 Apr 2017 18:38:14 +0000 (20:38 +0200)]
Updated for the new ssd130x driver api

2 years agoAdd a test in apps makefiles to get proper function of :make in vim when the user...
Nathael Pajani [Wed, 19 Apr 2017 00:55:03 +0000 (02:55 +0200)]
Add a test in apps makefiles to get proper function of :make in vim when the user has added "let $COMPILE_FROM_IDE = 1" to his ~/.vimrc

2 years agoLatest version of the test code for the beta version.
Nathael Pajani [Tue, 28 Mar 2017 13:27:39 +0000 (15:27 +0200)]
Latest version of the test code for the beta version.

2 years agoScialys module support going on. Almost all board functions tested (missing : EJP...
Nathael Pajani [Wed, 26 Oct 2016 23:51:00 +0000 (01:51 +0200)]
Scialys module support going on. Almost all board functions tested (missing : EJP detection and µSD card)

2 years agoSupport for beta version of Scialys module - initial commit
Nathael Pajani [Tue, 27 Sep 2016 22:00:26 +0000 (00:00 +0200)]
Support for beta version of Scialys module - initial commit

2 years agoCode for support of alpha version of Scialys module
Nathael Pajani [Tue, 27 Sep 2016 21:58:34 +0000 (23:58 +0200)]
Code for support of alpha version of Scialys module