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
I’m happy enough with my initial test results to zip this up and offer it to anyone who would like to use and/or improve the software. I’ve mentioned this module in a couple of posts during it’s initial development and after having integrated the software into my own project. Feedback is, of course, welcome. The […]
Continue.. SDCC I2C Master Module for PIC18 Devices Alpha
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
… And not a single component being utilized except the breadboard. Still love this though.
Continue.. All of that Useful Hardware…
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!
Due to a recent change in spending habits, I decided to replace my ageing scope meter with a newer, nicer model. If it holds up for a few months, I will probably give it a brief review. Still exploring options, but triggering seems to be half-way decent for a portable, rechargeable scope in this price […]
Continue.. New Toy – Hantek DSO1200 Handheld Oscilloscope
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!