Bouni's blog
random bits and pieces
Taking a DQ860MA stepper driver apart
2015-02-03
I’ve bought 4 large stepper motors and 4 DQ860MA drivers on ebay a few days ago. Unfortunately one was faulty from the beginning. The seller sent me a new one winthin 2 days which is awesome, but the best part is that i hadn’t to return the damaged one!
So i decided that there are pepole out there who for sure are interested in a teardown :-)
I posted a video on Youtube showing how I connected a Smoothieboard wired to a Yaskawa Sigma 2 AC-Servodriver with a 400W Servomotor. Afterwards I got asked to show more details and that’s why I write this blog post.
Clone a Firmware RAID 1 using Clonezilla
2014-11-20
I had two identical computers of which one had a damaged Windows 7 installation that refused to boot. The other was a spare machine for that case, but unfortunately it wasn’t updated for about 2 years. So I had to install about 200 Updates which was really annoying.
After all the updates were installed I decided to make an image of the up-to-date computer and restore it on the damaged one.
Since I’m a big fan of open source tools, I wanted to use one and decided to use Clonezilla . The biggest problem with Clonezilla is that it does not support creating images of Software/Fake Raid’s/Firmware RAID’s according to their website.
My computers both have 2 SSD disks with 120GB each configured as RAID1. The RAID controller is the one provided by the Intel X79 chipset of the ASUS P9X79 Pro Mainboards, which is a Firmware RAID.
SICK FlexiSoft, Modbus/TCP and python
2014-11-09
Last week i tried to read and write data to and from a SICK FlexiSoft Safty controller which has a Modbus/TCP gateway.
Because i had a lot of trouble to get that up and running i decided to write a few lines about i managed to solve my problems.
My MateDealer project was entirely written in C because the Arduino IDE or more detailed the HardwareSerial part lacks the 9-bit support. It is easy to send a 8 bit data frame, but nearly impossible to do that with 9 bit frames. I worked for a while on implementing 9-bit support for the Arduino IDE and recently i finished my work!
I’ve recently bought a few SparkFun ProMicro 5V 16Mhz clones from Ebay because they are extremely cheap (7 Euro each) and habe native USB. The only problem i had is that i was not able to program them using inotool .
locale-gen fails on raspberry Pi
2013-12-12
I’ve tried to generate the locales on my Raspberry Pi, but i ran into a problem that i was not able to solve for a few hours.
1 2 3 4 5 root@rpi: ~$ locale-gen Generating locales... en_US.UTF-8.../usr/bin/locale-gen: line 41: 303 Killed localedef -i $input -c -f $charset -A /usr/share/locale/locale.alias $locale locale gave me another error
Good bye Arduino IDE
2013-12-11
I’ve worked with the Java based Arduino IDE for a long time now, and always thought that i miss the comfort of vim. But for soom reason i never searched for an alternative, but yesterday i had enough of that shit piece of software!
Ino 🔗So i googled a bit to find an alternative and stumbled upon ino . After a few test i must say that ino is exactly what i was looking for :-) Take a look at the quickstart to see how easy it is.
Flask / Flask SQLAlchemy tipps and tricks
2013-11-15
I use Flask and Flask-SQLAlchemy for a while now. Doing so i spent a lot of time in searching for the solutions for different problems. See this as my notebook of helpfull snippets. I will update this post from time to time because i don’t want to create a new blog post for each line of helpfull code.
Leaflet and Leaflet.draw save and restore
2013-11-12
I work on a project that has a form including a map, so a logged in user can enter his data and drawing features on the map and save it afterwards. The user gets a page that shows the map with the features on it. I will show how to save and restore the drawn data as geoJSON and how to save circles because that type of feature is not supported by geoJSON.