TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (387 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (120 codes)
  5. Bugz Bensce (97 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 (140169 times)
  2. FAT32 Library (72625 times)
  3. Network Ethernet Library (57645 times)
  4. USB Device Library (47958 times)
  5. Network WiFi Library (43556 times)
  6. FT800 Library (42943 times)
  7. GSM click (30141 times)
  8. mikroSDK (28672 times)
  9. PID Library (27058 times)
  10. microSD click (26553 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: 639 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

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]

Displaying a 12 VDC Battery Voltage on the LCD of a Easypic V7

5

By scaling the +9.4 Volt to 14.5 Volt battery voltage with a Zener Diode and a 10K resister you can display the Battery voltage with two decimal points resolution on the Two Line LCD of a EasyPic V7 Development board using the RA1 AtoD input of a PIC16F76 Microcontroller. Version 2 Uploaded on 2013/05/25

[Learn More]

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]