Søren Bøgeskov Nørgaard

Inline Assembly Functions in C for PIC18F Microcontrollers

2016-09-10

I have been playing around with Assembly programming for Microchip PIC18F microcontrollers. I have figured out how to easily make inline functions in Assembly with the XC8 compiler. The results are shown here.

From Jemdoc to Jemdoc+MathJax

2016-06-19

I changed my website from being generated by Jemdoc to being generated by Jemdox+MathJax. This means that I do not need LaTeX on my PC to generate formulas for the website. Simultaneously, Jemdoc+MathJax is compatible with Python 3 which is what I always use anyway, so now I only need one Python version on my PC.

I added the ability to center images with the img_center block. My version can be found on Github.

Changing the Clock Speed of the Lattice iCEblink40-HX1K

2016-04-25

I have today fixed the jittering clock, I discovered on the Lattice FPGA board yesterday. I simply lowered the maximum clock speed to 25MHz by changing the set resistor on the board. See the results here.

Lattice iCEblink40-HX1K Clock Inaccuracy

2016-04-24

I noticed that the clock frequency of the Lattice FPGA board changed when I did my designs. See why here.

Programming the Lattice iCEblink40-HX1K from Linux

2016-04-20

Yesterday, I got the whole toolchain for a Lattice FPGA board working except for the actual programming of the part. Today, I found the tool icedude, which makes it possible to flash the board from Linux! This means that the board is now fully functional in Linux! Check out the guide here.

Lattice ICE40 FPGA on Linux

2016-04-19

I just bought a Lattice FPGA evaluation board. I spent my weekend trying to get it working with Linux. I got far enough that a hex file was generated for the board based on my VHDL code but apparently, the programming functionality is only present in the Windows version. Bummer. In case I find a solution, I will update the web site. See the project here.

Moving Away From Github Pages

2016-03-02

As I have gotten a dedicated server, I am moving away from Github Pages, where my web site was hosted before. This gives me more freedom to have dynamic content on the website.

Comparison of MP3-files at Different Bitrates

2016-01-26

To decide on what format to keep my digital music in, I have added a visual, spectrogram comparison of some different bitrates. Check it out here.

Updated Power Supply on the RIAA

2015-12-09

I added a voltage regulator the RIAA project because 100 Hz noise was introduced by the bad power brick I was using to supply it. New pictures and measurements were added to accommodate the update.

BJT RIAA Project added

2015-11-14

I just designed a RIAA amplifier using a couple of transistors per channel. See the project here!

dsPIC33 Project: ADC to DAC loopback

2015-08-30

I added a project where audio is looped from ADC input to DAC output on a dsPIC33. This can be the basis of small audio DSP projects, hopefully. Check it out!

Update of aauskema2text

2015-08-30

I updated this script for the 9th semester at AAU/Wireless Communication Systems.

Note on Expectation and Standard Deviation of PSDs

2015-02-17

I have added a note+script about determining expectation and standard deviation of an arbitrary power spectral density (PSD) or probability density function (PDF). This is done in the context of determining delay spread in wireless propagation.

Update of Math Notes

2015-01-27

I found some un-clear things in some of the math notes. I have updated them now.

Kalman Filter Note

2015-01-27

I added a note on implementing a Kalman filter. I have also included an example, implemented in python.

Update of aauskema2text

2015-01-26

Updated aauskema2text to my fit 8th semester courses.

Upated Various Notes

2014-10-10

Just updated some minor mistakes in some of the notes.

Updated aauskema2text

2014-09-01

I just updated the script to fit the courses of Wireless Communication Systems masters, first semester.

Small Change to aauskema2text

2014-02-20

There was a problem with detecting the Communication course so I made a small fix to the script.

Script aauskema2text Supports iCal Format

2014-02-02

The perl script for downloading and displaying AAU's calendar in text format has been rewritten to support the new non-sict Moodle. The new script is on the scripts page.

HP50g Sequence Calculation Program

2014-01-05

I just wrote a program for calculating sequences on a HP50g. Apparently, a program like this already exists on the HP (doh) but it may serve as an example of how to do a for loop on a HP50g. See here.

LTSpice to CSV

2014-01-03

Have you ever been annoyed by the export format from LTSpice? It contains a lot of weird characters and is not easily parsed. I just added a script to convert it into a more normal CSV format. The script can be found in the scripts section.

Scripts Page

2013-12-12

I just added some scripts that might be of use by AAU students.

  • One for plotting data from the frequency analyzer in the LAB.

  • One for parsing the Moodle course calender to a text table for the current week (for use with conky, for example).

Merry Christmas!

Notes -> papers

2013-11-26

Today I have changed the title of the notes page to “Papers”. Hope this doesn't cause any problems :-).

Convolution on HP50g and HP49g

2013-09-20

I just found a program online to calculate discrete convolution, like in my last note, on a HP50g calculator. I have shared it on my HP page.

Note on Discrete Time Convolution

2013-09-18

One thing i've found to be very touch in mathematics is convolution and I never really got a grasp of it. Now I finally think I have it (at least the discrete time version) so now there is a note available here on the subject. Søren.

English Coding Standard for C

2013-09-10

I just translated the C conding standard on the papers page to English, so that more people may be able to use it. I hope somebody can :)

Notes on Modeling and Control

2013-09-06

I have made a new topic on the papers page called modeling and control. First note is about translational and rotational mechanical system (mass spring damper systems). Enjoy!

Various Notes and HP Calculator Programs

2013-08-26

Today, I have added some notes as well as some HP calculator programs, that some might find interresting. I have also revisited the “About” seciton, so you can know a bit about me.

Also, I have chosen a bit larger font, to make it look like I have more content.

Some New Content

2013-06-28

I have added a section in the menu containing some small programs etc. for the HP50g calculator i use. It will perhaps not be very well documented, but short things that may be able to help someone.

If something is unclear, or you have suggestions, please contact me :)