I am Moving to my new blog codeofphi.com
Here is the video that shows my experiment with Bluetooth modules .
If you scroll down below you will see my projects where I have used a custom board .Today i will share how i made that .first of all you need to have Eagle PCB designing software then you need to the STM32F4 user manual that briefly describes the scales of the board .since I am using LCD of a phone i will have to design the LED Driver circuits .I have chosen the TPS61040 for this purpose. It has a option to control the brightness of the LCD using a PWM signal. below are two images of the circuit.
Scroll below to see these boards in action ..
In this video you can see how i made a video player with just 192kb of ram yes RAM of STM32F4 is 192 Kb .With that much of RAM I am playing this video .The Video is stored on SD card and I have used libjpeg to decode each frame out of the AVI container.
Microsoft has a very good documentation of AVI .you can see them here.
Below is a code that runs on stm32f4 ,you may not view it on mobile devices.
Hello everybody here is another project that shows how to sync stm32 with dropbox . It may be confusing dropbox is a cloud storage service while stm32 is a Micro-controller , It doesn't mean you will save files on stm32 what i have made is pretty different .Using This device you can push your files in your desktop/PC to dropbox .Below is a image that shows what i actually mean.
As you can see above STM32 sends a request to PC via a wireless module then PC responds by sending all the drives and directories info present on the PC.The application running on the STM32 lets the user to choose file to push to dropbox .Once chosen it sends the index and address of the file to PC a C# application running on pushes that file to dropbox and thats it.
Below is a video of the device...
comment for any queries ...
Here is my Video That shows how I interfaced My STM32F4 Discovery Boards LIS302DL Motion Sensor with My PC.
TIPS:- If you want to reproduce this then be careful of few things here are those
1. Don't use Events in your c# code.
2. Don't use Read buffer function instead use read byte function .
3. Be careful with noise any value grater than 4 can never be noise but values like 1...2.. can be noise
Ever thought on building your own mouse from wires and micro controllers .If you have a USB supported MCU such as STM32F103 then you should think about it.Using STM32F103 for a mouse is of course Overkill.
that's why we are going to test it to its limits .At the end your device will show up as three devices in your device manager as a mouse,as a HID device which is touch screen device(will talk later) and one as a COM port for other purposes.
below are some snap shots of my screen.
Most of the times Embedded developers work on C and C provides only one way to store large data files and that's ARRAY .In order to store an image file on flash of a MCU we first need to convert it to a RGB array.I have made a application that converts any image file into a RGB array .It stores the data onto clipboard so that it can be pasted on any text editing software or in your IDE directly.
In order to use it just set your desired resolution and hit convert.After this you will have all the RGB values in your clipboard.Then you can open word pad and paste to see all the data.
Pixel order is Red,green then blue.Starting values in the array are for top left corner and ending values are for bottom right.
Here is the preview of the Application .If you want to modify the software then download the source codes from below .It's made in C# & Visual Studio 2010 so make sure you have VS10 in your computer .
For any doubts comment below.
In this post i am going to provide a brief description on how to interface , Calibrate and use Resistive touch panels .I will try to stay away from maths as much as possible but you need a little math to get the job done.First of all let me show you how the touch screens work .Well there are so many touchscreen controllers in the market . In most of the tutorial you will find about how to interface the touchscreen controller to MCU not about how to interface the touchscreen to MCU. Here are some pictures of a touch screen with its LCD.