We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
Rating:
Author: Dick Berry
Last Updated: 2016-02-18
Package Version: 1.0.0.2
Category: Graphics & LCD
Downloaded: 625 times
Followed by: 1 user
License: MIT license
This is the mid point of this project. The Light Control is working with Blue Tooth Coms between the head end and the light controller. The VGLCD code is working the touch panel to turn on and off lights. I will be adding Voice Control using the Speak-Up and Smart_MP3 modules in the near future. Enjoy
New Version, more functionally.
Dick
Do you want to subscribe in order to receive notifications regarding "Camper Light Control Project Update" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "Camper Light Control Project Update" changes.
Do you want to report abuse regarding "Camper Light Control Project Update".
DOWNLOAD LINK | RELATED COMPILER | CONTAINS |
---|---|---|
1406515155_camper_light_con_mikrobasic_pic.zip [705.98KB] | mikroBasic PRO for PIC |
|
Camper Touch Panel and Voice Control Project
This project is complete through Phase One which is the touch panel control over Blue Tooth coms to a receiver that turns on lights in my POP up camper. Almost all the GUI is done and working. I will be adding Voice Control using a Speak-Up Click board and a Smart_Mp3 board in the next phase.
I had to upgrade the Head End processor to a PIC18f46K22 to get more memory and am running it at 64 Mhz to push the Display to max speed. The Receiver is a PIC 16F1825 at 8 Mhz on the internal OSC. This little 14 Pin PIC has plenty of resources and just enough I/O for this project.
Here is a link to a Video I made to show Hardware and function.
https://www.youtube.com/watch?v=Sm-aYVhLHJI
All the source and documentation is here so even if you don't own a license to Visual GLCD you can see the screens. The Basic source is also included for you to examine how VGLCD builds code.
New version. I added the a MUSAC function to the Volume Screen. Up to 100 MP3 files played from the SD card. You don't need 100 files. It plays files named MUSACnn.MP3 from 00 to 99 until the file isn't found then starts from 00 and plays them again. I also was able to increase the Interrupt interval from 250ms to 500ms by re-sampling the MP3 files at 8000bps. The music didn't sound any different to me and the time in the MP3 server went down from 100ms to 30ms. This makes the GLCD and Touch Panel much more responsive. I now save the file number and volune level in the EEPROM so it doesn't start over at song 00 and retains the set volume when it's shut down and turned on again. I'll add a picture of the new Interrupt timing. The Audio files are in my MP3 Player Project just rename and resample them Interrupt Driven State Machine MP3 Player for Smart MP3-Board. Time to move on to the Speak-Up module and get Voice Commands working. Thanks for looking Dick