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

Python web server in Raspberry Pi

There are many ways of serving web pages from Raspberry Pi. One of the ways is to install Apache webserver software. This is still a standard solution for most of the purposes. These things require quite some performance, and this is not always an optimal choice. If you need a simple web server for your home project that would efficiently work with GPIO you could try a Python web server. Are you interested to learn the most trending programming language ‘Python’? Then Intellipaat ‘Python Online Training‘ is for you. Python web server relies on flask – an extension that provides web microframework. It allows building and rendering webpages with few lines of code. Sankar has written a short tutorial on how to start with a simple static webpage from Raspberry Pi. From there you can move on with more advanced pages that include dynamic content and so on. Continue reading

RPi board for learning Python

Python is popular programming language used in Raspberry Pi. It is easy, intuitive and well documented. With Raspberry Pi hardware you can access physical pins and do lots of crazy things. Anyway like any new thing you need to learn it. TO make thing much easier, jechavarria introduced Rpi board which is dedicated for learning Python on Raspberry Pi. Rpi board has four 10mm diffused LEDs – each different color. Each is controlled through Mosfet transistor key. Then there are couple push buttons that are lined with LEDs and in the middle there is a buzzer which is also driven through transistor key. On top of it Rpi board carries 2×16 LCD. Additionally you can see I2C buss connector for future extensions and. Couple green LEDs on a side are just for indicating 3V and 5V power supply. Rpi board mounts on top of Raspberry Pi model B (or A) and should fit on B+ model. He also provides few Python code examples to get started with. Continue reading

DIY USB Based CPU Monitor

Instructables user janw built a CPU/RAM load monitor that plugs into your USB port and has posted the steps on Instructables so all you DIYers can build your own! This little device shows you the CPU-load, how much physical and virtual memory is used. The data is shown per 10% on 3 led bars. To achieve this the user have to use a VCP (Virtual COM Port), so that it can be connected to a PC via a USB connection to receive the data. Collecting as well as sending the data was done with the help of a PYTHON script. There are very basic requirements of the project. For sending and collecting the data, the user needs to have the python 2.7v along with Pyserial and Psutil. For the hardware part, you need a attiny2313 which is manufactured by the Atmel corporation, along with a UART to USB converter, a programmer, a compiler as well as some LED’s resistors and some capacitors.  You can use either the SMD components or through hole components for soldering the components. Continue reading

MCU and PC communicates via soundcard

Many microcontroller projects include communicatin with PC. It may be a simple data logging, accepting commands via serial terminal or be a complex data acquisition system with GUI. In order to communicate microcontroller with PC, one of several communication interface is needed like RS232, USB or any other. No matter how complex your project is you always have to complement both sides with proper signal converters like RS232 or USB to TTL chips. Usually these cost more than other part of project. Scott came out with simpler solution that works almost on any machine and operating system. One condition – there has to be a soundcard involved. Microcontroller simply sends specially timed pulses to soundcard mic/line input while python script decodes them in to data bytes. In bidirectional version both sides act same. You will find full source codes for AVR microcontroller and python to start simple communication that require no investments. This is a great choice for hobby level projects. Continue reading

The Finest Computer-controlled LED Lamp

Are you being bored of the same old desk lamp in your living room or bedroom? Wouldn’t it be fantastic to have a magnificent desk lamp, which it could change color constantly, for example it flashing red when you receive an e-mail from your friends or colleagues? Or even better, that it pulls weather reports from the internet and translates the forecast temperature to a certain color? It could add some white flashes, if thunderstorms are forecast or when your phone is ringing, it could flash green if it’s a friend/colleague or red if it’s your bossy employer (WoW, doesn’t it sounds like a “Red Alert” here? lol) Well, this computer-controlled LED lamp is a very simple and easy to develop project. The simple Python and C programs for your PC or Mac have been provided, so it will allow you to program color patterns into the lamp without a further modification. There are enormously bright LEDs, where it is bright enough to be used as lamps. Normally, they also come with three emitters, red, green and blue on a… Continue reading