Building on my previous post regarding inclusion of assembly language files in MPLABX projects that use SDCC for PIC18, I thought I would present a real-world example covering Manchester encoding of data to achieve neutral DC bias for RF applications. This seemed like the perfect example to use as the encoding of serial data is, […]
Continue.. SDCC + PIC18 Assembly Manchester Encoding for Neutral RF DC Bias
One of the features that I’d like to see added to the SDCC toolchain for MPLABX is the ability to include .asm files in projects and have the tool chain understand them. The current version of the tool chain doesn’t understand how to build and object file from an .asm source file and include this […]
Continue.. Using PIC Assembly in SDCC Projects With MPLABX
Sometimes, it’s nice to see an example of an implementation that is, otherwise, strewn throughout pages of a datasheet. I decided to pull some serial code out of a debugging file and provide it as an example to anyone who is having trouble getting their Microchip EUSART to perform correctly. The example is thoroughly documented […]
Continue.. Microchip PIC Simple EUSART Serial Example
Not long ago, I wrote a post regarding hardware and software interfacing a Maxim DS1620 Digital Thermometer/Thermostat. In my copious free time, I decided to follow through with a working example that displays temperature data on any LCD display that uses the ubiquitous Hitachi 44780 chipset. Below you’ll find a schematic as well as a […]
Continue.. Maxim DS1620 Thermometer Output on Hitachi 44780 Example
This is an update to a post that I made a week or so ago. I’ve reverted to using hardware and had good results this week. It took a lot of trial and error, but here we go: When the master implementation is finished, I plan to make the source public. It needs some hardening […]
Continue.. I2C Master and Slave In Hardware: Progress!
Updated: For a working example, please read this post next. It provides schematic and software that will display the output of the Maxim DS1620 on any Hitachi 44780-compatible LCD. I was in the shop the other day, putting some FETs away and labeling drawers when I came across a drawer full of DS1620s. I have […]
Continue.. Maxim DS1620 Digital Thermometer Interfacing
One of the first things that do in software when beginning a new implementation that utilizes the internal oscillator of a PIC micro device is check the accuracy of the oscillator. Once I’m satisfied that the oscillator frequency is as close to spec as possible, I’ll usually write this to EEPROM data to be read […]
Continue.. Don’t Neglect OSCTUNE When Using INTOSC!
I’ve been meaning to document project specifics as I develop in an attempt to share my software and provide an explanation as to how and why I chose a particular approach. I’d also like to provide readers with usable code that can be adapted to their own projects. Hopefully, this short article will be the […]
Continue.. Ultrasonic Range Measurement With PIC Assembly