I am very close to finishing the main controller software. I had some issues with the Particle Cloud IDE and decided to move everything local. I did end up using the Particle Dev atom IDE provided on their website. This IDE uploads and compiles the code in the cloud and downloads a complete binary file that I can flash to the photon with dfu-utils. I could not get the photon android app to work to connect to WiFi so I used various particle CLI tools to do the job. After a bit of messing with the tools I had my work flow going for me. I am using the SparkTime lib (for NTP) and the SparkIntervalTimer lib (for timed tasks) to aid in various tasks in the controller code. I need to do a bit more polishing of the firmware code but it will eventually make its way to the github repo.
In the firmware, I used the Particle Cloud to aid in configuration options such as:
- NTP Server URL
- Display On Time
- Display Off Time
- Timezone settings
- Display Brightness
as well as displaying the current configuration of the device. The only thing this does not handle is connection to WiFi.
All of this was done with a local HTML file with some JavaScript and AJAX functions. This will also make its way to the github repo.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.