I am currently working on a neat project (Raspberry Pi CNC Board) where I have to program a bunch of Arduinos for each of the boards I am making. At first I did it with the Arduino IDE one board at a time but that was very tedious and required me to sometime change the … Read More →
Category Archives: Programming
Easiest Python Integrated Development Environment (IDE) – PyCharm
I have used Python on and off over the last year or so and keep getting surprised how versatile the programming language is. From the start I have accepted that it’s a scripting language and always used a normal text editor with the hope of someday being able to develop in a proper Integrated Development … Read More →
Real Time Operating System – FreeTROS with LPC microcontrollers
I recently started moving from Arduino/Atmel 8-Bit processors to NXP/ARM 32-bit processors. It’s been a huge learning curve but it opens lots of doors for bigger and better projects. The first set of Micro Controllers I targeted was NXP’s LPC11U14 and LPC4337. These processors run much faster the Arduino’s and they work great for multi-tasked … Read More →
Arduino Float to String (That actually works)
If you have ever tried to use sprintf() on an Arduino to convert from a float to a string, you will notice it doesn’t work.
1 2 3 |
sprintf(buf,"%f", floatvar); |
The above function will most likely return a “?” to your char buffer. If you google around, you’ll see various functions that people have written to overcome this, but all of … Read More →
SparqEE CELLv1.0: Cellular made easy (Arduino/Pi/+)
Cellular made easy – Add GSM/3G support to your Arduino/Raspberry Pi/BeagleBone projects Chris Higgins at SparqEE has come up with a simple development board[CELLv1.0] that can give your projects cellular capabilities. So what can you actually do with it? Well,I can think of lots of things: Add an off-grid internet connection to your home automation system. … Read More →
Raspberry Pi – Alternative to Sumba folder sharing when it’s not working on Windows 7
I’m sure I’m not the only person getting frustrated with sharing files between a Raspberry Pi and a Windows 7 system. There seems to be an issue where Windows 7 enables encryption or something that stops Windows from connecting to the Samba shared folder. Having Windows 7 Home Premium also doesn’t help, it does not include all … Read More →
Blender – The next step after Sketchup
I have used Sketchup to make models for my 3D printer for a while. Sketchup is a very capable tool but it does have its limitations. Rounding edges and creating natural shapes are some of them. Keeping with free software I decided to looking into Blender. Blender is a very powerful 3d modeling tool but has a … Read More →
Raspberry Pi – Automating things with BASH scripts
BASH scripts are small files containing lines of commands. These little scripts are very useful. The following are a few examples … BASH scripts can contain any command you can run from a shell. This makes it very,very powerful. You can use it to set up/configuring your Raspberry Pi (…or any Linux-based system for that … Read More →
Simple MySql data to XML with PHP
PHP can be used to create dynamic XML files that get data from your MySql database. Things to consider with the code below: There should be no spaces or open lines before “ All values between ‘[]’ brackets need to be replaced by your own settings. The three header lines will make sure your browser … Read More →