You asked for it and here it is.
I finally got the time to implement support for Wireless Xbox 360 controllers to the USB Host Library. This is done via a Xbox 360 Wireless receiver that is normally intended for Windows computers.
The receiver supports up to four controllers internally, so it was fairly easy to implement it.
Actually I havn’t tested the library with more than one controller, but if somebody out there could confirm if it’s working or not, with more than one controller, I would really appreciate it!
Thanks to Tim, multiple controllers is now confirmed to work! Read more…
We at TKJ Electronics have just received a big bunch of inexpensive 2×16 Alphanumeric character display with a built in HD44780 controller, making it easy compatible with the Arduino or any other microcontroller.
We all know that it has been quite a while since we have written any posts on the blog and we apologize to all our readers.
Before telling more about the project and the blog post finally to come I would like to explain the reason for the big delay.
As TKJ Electronics has been evolving quite a bit over the past year we have been provided with a still increasing amount of consultancy work.
This includes everything from PCB Layout, Arduino software development, Robot platform development, ARM processor units and FPGA solutions. Read more…
We have had a couple of embedded projects for our customers where the requirement were large-screen LVDS displays. By large screen I mean sizes over 7″ and a resolution of 800×480 where the common SSD1963 LCD controller can’t be used as the frame buffer RAM is too small.
LVDS Display Controller V1.0
So now we have decided to make our own similar display controller board but for LVDS displays as they are much more inexpensive and common (used in TVs and PCs). Read more…
This board features their new STM32F3 microprocessor with a Cortex-M4 core running up to 144MHz together with an FPU and a DSP that was announced back in June.
STM32 F3 Discovery Kit
The exciting news about this upcoming board is the on board features as the board will contain a 3-axis gyroscope (L3GD20) and a 6-axis e-compass consisting of a 3-axis accelerometer and a 3-axis magnetometer (LSM303DLHC).
As the board is supposed to be priced around $10 this will make an extremely low cost AHRS system with plenty of processing power to do the DCM math algorithm together with PID loops and other tasks.
I have for a long time been interrested in Kalman filers and how they work, I also used a Kalman filter for my Balancing robot, but I never explained how it actually was implemented. Actually I had never taken the time to sit down with a pen and a piece of paper and try to do the math by myself, so I actually did not know how it was implemented.
It turned out to be a good thing, as I actually discovered a mistake in the original code, but I will get back to that later.
I actually wrote about the Kalman filter as my master assignment in high school back in December 2011. But I only used the Kalman filter to calculate the true voltage of a DC signal modulated by known Gaussian white noise. My assignment can be found in the following zip file: http://www.tkjelectronics.dk/uploads/Kalman_SRP.zip. It is in danish, but you can properly use google translate to translate some of it. If you got any specific questions regarding the assignment, then ask in the comments below.
Okay, but back to the subject. As I sad I had never taken the time to sit down and do the math regarding the Kalman filter based on an accelerometer and a gyroscope. It was not as hard as I expected, but I must confess that I still have not studied the deeper theory behind, on why it actually works. But for me, and most people out there, I am more interrested in implementing the filter, than in the deeper theory behind and why the equations works. Read more…
We have been working with the new Raspberry Pi board for a while but didn’t show it to you guys before now.
Many of you might already have seen and read plenty of videos and articles about it so I thought it would be more appropriate to make a tutorial on how to use the GPIO’s, and especially on how to speed up the GPIO’s.
In this video I walk you thru all the steps from installing the Raspbian image which is based upon Debian. This is by far the most complete and well working image I’ve discovered.
Together with a complete X-window system it also comes with many different developer tools preinstalled such as Python and GCC.
So go watch the video while to set up your own Raspberry Pi for GPIO control.
For you who have read about the STM32F4 Cortex-M4 processor you might know that this processor family includes a 10/100 Ethernet MAC with dedicated DMA that supports supports IEEE 1588v2 hardware, MII/RMII.
This means that the only electronics needed to enable the ethernet capability is an external PHY and the Magjack connector.
On the STM3240G-EVAL evaluation board the DP83848 PHY is used and luckily for us we were able to find a simple breakout board for this chip on eBay.
DP83848 Phy breakout board
To hook up this Phy to the STM32F4DISCOVERY board a slight change in the pins, compared to the connections on the evaluation board, had to be made. Because the STM32F4DISCOVERY board only contains the 100-pin version some of the full MII pins are missing so we have to use the PHY in RMII mode. Read more…
The library now also supports the Nunchuck controller and the Motion Plus extensions. The newest version of the library can be found at github.
The library now also work with the new Wiimote where the Motion Plus extension is built-in. Check out my commit to see what where needed in order to make the new Wiimote work as well – the main difference is that you now have to send the data using the interrupt channel.
To tell if your Wiimote is the new type, it should have a label at the bottom saying “Wii MotionPlus INSIDE”. If you are in doubt take a look at this picture.
Some of you might already have seen and read about the Multimedia streaming client project we posted as a video a couple of weeks ago. Though for you who haven’t here comes a description.
The Multimedia Streaming Client in action
Back in May we were kindly given some of MikroElektronika’s latest ARM development tools and decided that we would make a big and time consuming project with it.
As we started planning the project we had no ideas at all but all of a sudden the idea of a Multimedia streaming client struck my head. Why not use the on board VS1053 Audio codec chip for music playback and then use the Ethernet port to add a streaming functionality. Read more…