Turn-key PCB assembly services in prototype quantities or low-volume to mid-volume production runs

MSP430 piano uses touchscreen as input

This is an interesting way of playing music. A standard resistive touchscreen can be really great input device for such musical instrument. It only requires four wires for input. Well.. ADC inputs. But most microcontrollers have even more of those. What about output? A PWM modulation works like a charm. Rohit Gupta built a touchscreen piano using MSP430G2231 microcontroller. To read touchscreen coordinates he used TI App Note where you can find pretty all details. Also his previous experiments with generating PWM tones on MSP430 also were used here. To make it easier play, he drew a grid on paper and put back of resistive film. All is left to play a good melody. I think kids would love such project. Continue reading

STM32 and 320×240 LCD with touch screen is a great combination

Graphical LCDs gives a huge advantage in embedded project. When it comes with touch screen things get more interesting. Zizzle shares his tutorial project on how to set up STM32 microcontroller to work with 320×240 LCD with touch screen. As he states running such LCDs on smaller scale microcontrollers like AVR (Arduino) is possible but eats to much of resources without leaving them for real applications. Using ARM is what at least is needed along with additional memory for buffering screen images. You can choose lots of boards that are already built for you like these on ebay based on STM32F103, Project setup consist of Ubuntu where ARM toolchain is running. Eclipse C++ IDE is obvious selection. Openocd was chosen for programming and debugging. Another nice accent in code that it is FreeRTOS based. So this gives a great template for further development of various projects. Continue reading

TouchClock: a touch on time

Back in high school I always wanted to make a set of fonts which is based on my own handwriting – it’s not that my handwriting is that awesome but it’s the fact that its not consistent and amazingly unreadable! It’s the same idea with this clock it has a touch screen where you can write the numbers and the figures for it to display. Talk about customized gear. This touch clock was made using a 128×64 BL/WH TOUCHSCREEN GLCD from CircuitED. Using the ADCs on a PIC18 development board we can get the X and Y coordinates of the sensed touch. Similar to what they use in touch screen of cell phones and tablet PCs. The author also gave us the code for some other members of the PIC18 family namely PIC18F452, PIC18F4620 and PIC18F4685 – making the project more portable – gonna build one. Continue reading