wahz.blogspot.com
Musings of a WAHZ: July 2015
http://wahz.blogspot.com/2015_07_01_archive.html
Musings of a WAHZ. AKA The insanity of a Work-At-Home-Zombie developer. Wednesday, 22 July 2015. Printing/Reading floats on an AVR in Atmel Studio. As part of my lab power supply project I have been coding the control software that runs on the power supply module and drives the DACs/ADCs as well as other things. The plan is to use provide a text based control interface over USB using a USB to UART chip (MCP2200). When I first did this I found I got link errors like this:. E:/program files (x86)/atmel/atm...
wahz.blogspot.com
Musings of a WAHZ: Lab Power Supply - Current sensing/limiting
http://wahz.blogspot.com/2015/05/lab-power-supply-current-sensinglimiting.html
Musings of a WAHZ. AKA The insanity of a Work-At-Home-Zombie developer. Wednesday, 20 May 2015. Lab Power Supply - Current sensing/limiting. I've made some progress on the current sensing and current limiting circuit design but I'm still not quite there yet. This turned out to be a lot harder than I thought. I split the design into the part that measures the current and the circuit that controls the voltage regulator to limit the output current (current error amplifier). Basics of Current Sensing. The cu...
wahz.blogspot.com
Musings of a WAHZ: August 2014
http://wahz.blogspot.com/2014_08_01_archive.html
Musings of a WAHZ. AKA The insanity of a Work-At-Home-Zombie developer. Friday, 22 August 2014. Google Mock - Dammit gets me every time. Actually this isn't Google Mock's fault but it does catch a code error. I have a class. Virtual void provideAService()=0;. Then I have a mock for this. Class MockMyService : public MyServiceInterface. MOCK METHOD0(provideAService, void() ;. In my test I expect it to be called. EXPECT CALL( *mockService, provideAService() ;. Virtual MyServiceInterface() ;. Another thing...
wahz.blogspot.com
Musings of a WAHZ: March 2015
http://wahz.blogspot.com/2015_03_01_archive.html
Musings of a WAHZ. AKA The insanity of a Work-At-Home-Zombie developer. Monday, 30 March 2015. Lab Power Supply Project. The PSU I have is one of these Jaycar. Ones that Dave Jones reviewed. It's not too bad really overall and it wasn't expensive. We've used it for all sorts of stuff including as PSU for my son's LIPO charger. What I would really like is one of these Rigol DP832A. Not to mention that the DP832A is close to $1000 here in Australia - that gives me a fair budget for the build! Pretty high p...
wahz.blogspot.com
Musings of a WAHZ: May 2015
http://wahz.blogspot.com/2015_05_01_archive.html
Musings of a WAHZ. AKA The insanity of a Work-At-Home-Zombie developer. Wednesday, 20 May 2015. Lab Power Supply - Current sensing/limiting. I've made some progress on the current sensing and current limiting circuit design but I'm still not quite there yet. This turned out to be a lot harder than I thought. I split the design into the part that measures the current and the circuit that controls the voltage regulator to limit the output current (current error amplifier). Basics of Current Sensing. The cu...
wahz.blogspot.com
Musings of a WAHZ: June 2014
http://wahz.blogspot.com/2014_06_01_archive.html
Musings of a WAHZ. AKA The insanity of a Work-At-Home-Zombie developer. Thursday, 26 June 2014. I have a Tektronix 475! Well I have a broken Tektronix 475. But it is getting less broken! What is a Tektronix 475? Well it is a classic (1975ish) analogue oscilloscope. Pretty much the workhorse of its day and used for electronics development and testing. It's a beautiful and capable bit of gear that has 200MHz of bandwidth and some other cool delay and zoom features. Well I've been playing around with this s...
wahz.blogspot.com
Musings of a WAHZ: Configuring Centos with a DHCP Reservation
http://wahz.blogspot.com/2015/05/configuring-centos-with-dhcp-reservation.html
Musings of a WAHZ. AKA The insanity of a Work-At-Home-Zombie developer. Sunday, 3 May 2015. Configuring Centos with a DHCP Reservation. Sigh I'm sure I struggled with this the last time I had to do it. Hence I am writing a little note for next time! Windows 2003 Server running a DHCP server. Select and copy the hardware address. Logon to the windows 2003 machine where the DHCP server is running and run the DHCP configuration tool for Administrative Tools. For some reason when I first installed the system...
wahz.blogspot.com
Musings of a WAHZ: Lab Power Supply - Progress!
http://wahz.blogspot.com/2015/05/lab-power-supply-progress.html
Musings of a WAHZ. AKA The insanity of a Work-At-Home-Zombie developer. Tuesday, 12 May 2015. Lab Power Supply - Progress! Since the last post I added a new winding to my transformer, sorted out my ground problems and figured out why my pre-regulator was messing up the output. The voltage output now actually looks really good! I calculated I needed to add 40 turns to get 10V. In the end I only got 8V but it doesn't matter. Using the new Winding. I was talking with Peter Oakes. About how to integrate this...
wahz.blogspot.com
Musings of a WAHZ: February 2014
http://wahz.blogspot.com/2014_02_01_archive.html
Musings of a WAHZ. AKA The insanity of a Work-At-Home-Zombie developer. Tuesday, 18 February 2014. Elevating just one part of an application. In Windows Vista and up, even if you have administrator rights, applications you run can't perform actions that REQUIRE administrator rights unless the user is prompted with a UAC. The documentation. In my case most of the GUI to be displayed already existed so all I needed to do was to provide a wrapper for it. In the dialog where the elevated GUI is invoked, the ...
wahz.blogspot.com
Musings of a WAHZ: Atmel Studio 6.2 and atmega328p Serial Comms
http://wahz.blogspot.com/2015/07/atmel-studio-62-and-atmega328p-serial.html
Musings of a WAHZ. AKA The insanity of a Work-At-Home-Zombie developer. Wednesday, 1 July 2015. Atmel Studio 6.2 and atmega328p Serial Comms. As part of my ongoing Lab Power Supply project I thought that it was time I learned to use Atmel Studio. While Arduino is pretty quick to get things going I really started to hit its limits in the dummy load project. Just managing lots of Windows gets hard and I ran into problems when I tried using microprocessors not supported by the IDE. Atmel Studio 6.2. I'm qui...