TOP Contributors

  1. MIKROE (2653 codes)
  2. Alcides Ramos (352 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136736 times)
  2. FAT32 Library (69951 times)
  3. Network Ethernet Library (55942 times)
  4. USB Device Library (46266 times)
  5. Network WiFi Library (41886 times)
  6. FT800 Library (41171 times)
  7. GSM click (28983 times)
  8. PID Library (26413 times)
  9. mikroSDK (26361 times)
  10. microSD click (25376 times)
Libstock prefers package manager

Package Manager

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]

< Back
Visual TFT/GLCD Project

Camper Light Control Project Update

Rating:

0

Author: Dick Berry

Last Updated: 2016-02-18

Package Version: 1.0.0.2

Category: Graphics & LCD

Downloaded: 608 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

No Abuse Reported

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".

  • Information
  • Comments (0)

Visual TFT/GLCD Project Blog

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

Interrupt timing

Interrupt timing

New timing reducing the time in the MP3 server to 4.445%.

View full image

ALSO FROM THIS AUTHOR

Sorting out the Logarithmic Scale for the Volume Control for SMART_MP3 Click

0

Here is a spreadsheet with the volume control numbers for a 0 to 11 scale translated to the 0 - 255 controls of the Smart_MP3. It's a simple LOG10 scale but that approximates the true LOG scale close enough.

[Learn More]

Readin the AM2303 Temp/Humidity Sensor with Basic

0

I'v seen a several C examples for reading these sensors but haven't found one in Basic. So here is the Source file for a Module in my RV Monitor Project for Handleing the AM2303. See the RV Monitor Project for a detailed Blog.

[Learn More]

Interrupt Driven State Machine MP3 Player for Smart MP3-Board

0

This is a real time state machine that plays MP-3 files from the SD Card using the Smart-MP3 board. Now I can service the GLCD and Touch Panel while playing Audio Files. I've included the five songs I tested with. Just copy them to your SD Card.

[Learn More]