TOP Contributors

  1. MIKROE (2762 codes)
  2. Alcides Ramos (374 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (91 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 (139275 times)
  2. FAT32 Library (71759 times)
  3. Network Ethernet Library (57128 times)
  4. USB Device Library (47434 times)
  5. Network WiFi Library (43098 times)
  6. FT800 Library (42409 times)
  7. GSM click (29835 times)
  8. mikroSDK (28106 times)
  9. PID Library (26886 times)
  10. microSD click (26200 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: 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

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

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]

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]

ExpressPCB Schematic and PCB Layout (FREE Software)

0

A very nice Schematic Drawing Tool and PCB Layout Software (Free Download) Extensive Library with component building. Up to four layer PCB can be ordered from them but not required. Software is not a trial and is fully enabled. Many PIC Controllers in the Library. http://www.expresspcb.com/index.htm Enjoy! Dick

[Learn More]