References Chapter 3 Motor Control from Power Semiconductor Applications (Philips Semiconductors) Fundamentals of Power Electronics Fundamentals of Power Electronics slides
For few dollars you can by UART to bluetooth chips like this one: They can be master/slave or slave only. The problem is that they are identical and the documentation is a mess, and that they are really small, so you need some soldering skills (but it can pretty easily done with standard solder tools). […]
ST has an exhaustive application note on current sensing: AN4076 (shunt resistor based current sensing circuit design) The general schema is as follows: In our case we can skip the offset stage. Probably the first filter stage can be skipped too if we just want a rough approximation and probably the filtering can be shifted […]
In this example we will use the ADC to monitor the main voltage. LiPo are used in RC toys for their characteristics. An overall introduction on LiPo can be found in Lithium Polymer Etiquette: A Comprehensive Guide to Working with LiPo. One thing that is clear is that these batteries can be dangerous. It is […]
In the previous post we managed to set up a connection between the board and a PC through USB. The board send the acceleration’s sensor data at a regular interval, and on the PC side this data is plot using a simple program developed with Qt framework. Now we want to expand it in order […]
Debugging a system that runs a RTOS can derive great benefit from extra tools. STATEVIEWER is an Eclipse GDB FreeRTOS Kernel Awareness plugin. It is created and distributed by High Integrity Systems, that sells also commercial versions of FreeRTOS (OpenRTOS and SafeRTOS), but works for FreeRTOS too.
Intro In the previous post we have managed to get a serial communication with an host PC through USB. Now we will add a big loop with a state machine in order to handle simple commands from the host (i.e. start/stop sampling) and to send back the requested data. In the next post this programming […]
Intro Well, after having a complete build and debug environment set up, the first thing that I usually want to do is to attach the device to a PC. In the past I always had a USART port, which I connect through a USB-to-serial adaptor, or a FTDI or equivalent chip on the board. This […]