TOP Contributors

  1. MIKROE (2650 codes)
  2. Alcides Ramos (350 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 (136552 times)
  2. FAT32 Library (69749 times)
  3. Network Ethernet Library (55851 times)
  4. USB Device Library (46190 times)
  5. Network WiFi Library (41812 times)
  6. FT800 Library (41005 times)
  7. GSM click (28930 times)
  8. PID Library (26386 times)
  9. mikroSDK (26292 times)
  10. microSD click (25304 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

Saving Glcd Calibration Data in internl EEPROM

0

Calibrate the Touch Panel (only if required) with saved data that is check summed. Displays Cal Data and EEPROM Data on GLCD PIC 18F46K22

[Learn More]

RV Monitor System Two Displays, Battery Voltage, Fresh Water Level, Outside Temp, Inside Temp, With Cycleing Mode

10

This is a Monitor system for Travel Trailers, Pop Up's and other RV's. I have made provisions for two displays, one inside and one outside. A single button for each display steps through the modes. Modes include Battery Voltage: Fresh Water Level: Outside Temp: Inside Temp: Cycle The Data Displays: Off: Thanks For Looking Dick

[Learn More]

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]