I was wanting to insert some text into a file at a certain location in the file without overwriting text in the file. Googling I found that most all posts would give an example of writing to a file and another to read from a file but nothing that illustrated how to insert text at a given location within the file.
The AD9833 Signal Generator is a relatively inexpensive low power DDS device that can be used for a miriad of applications.
I'm in the process of creating a DB WPF .NET application for my significant other that she can organize her stamp collection. In the application one of the requirements is she wants to have a picture of the stamp. So my problem arose in getting an image from the clipboard and updating an Image control.
With the release of Raspberry Pi Pcio the foundation has entered into the embedded market. Priced at $4 the Pico was designed with the DIYer in mind and although inexpensive the board packs a lot of functionality in a small pakage.
EventAggregator, a part Microsoft's Prism library provides an event mechanism, that allows the developer to communicate between loosly coupled components in a WPF application. Anyone familiar with the MQQT Subscribe/Publish messaging protocol should find the Prism EventAggregator pattern earier to understand.
There comes a time in every programmers career when they look back on a time that was very special to them, that time for me was the age of the 8 bit micro processor. I loved them for their simplicity and the fact that anyone with a little knowledge of electronic and could program in Assembler and/or C programming laguages could put together a crude system using only a few chips.
Years ago I was given an assignment of creating a test instrument that had a dot matrix display and charged with the task of devising a menu system to be used by the operators to program the machine. To solve the problem I created firmware that shifted the display at a rate the operator could read comfortably but quick enough to be able to program the machine in a timely manner. It turned out to be a big success so when years later I spotted a dot matrix display on ebay I thought it would be fun to see if I could created a C++ library for the device.
I'm currently working on an .NET Core 3 WPF application that uses ADO and I ran into a problem when using DataView's RowFilter to filter data. Because I was using the same table in several windows whenever I set the RowFilter in one View it would simulatneously filter the DataView in another window because I was using the same DataView.
YACCM is an easy to use highly configurable and extensible configuration manager that was created out of pure desperation. After spending many hours attempting to extend the standard microsoft configuration manager it proved to be complex undertaking and was abandoned in favor of a more simple and intuitive approach that I came up with here. As a side note I did not come up with the YACCM acronym I found that several site had offered it for download and had given it this acronym.
A State Machine is defined as a pattern that allows an object to change it's state as a result of an external stimulus. When the number of states is known and of a limited number it is called a Finite State Machine..
The RFScanner Prrof-of-concept application was created to scan and monitor active channels for the inexpensive 433MHz RF communcations devices. Used together with the HT-12E/HT-12D EncoderDecoder chips these devices offer a fairly simple way to communicate.
My Significant Other uses a calendar to keep track of all our important appointments and hangs the calendar on the refrigerator using those little magnets she collects from places she's visited. Well the dang thing kept falling because the magnets weren't strong enough so her solution was to use more magnets. I recently purchased some earth magnets for a project I completed and had a few left over so we put out heads together and came up with a solution that works very well.
I recently purchase several pairs of the 433Mhz RF Transmitter/Receiver modules from a vendor on ebay. They are very inexpensive and they use the Amplitude Ship Keying (ASK) protocol, which allows the developer to transfer data between the two devices wirelessly using RF. But very early on I realized that the communications I required for my project would be very simple, just a notification to turn a device on and off. During my research I found that the HT-12D/HT-12E encoder/decoder devices allow the transfer of 4 bits of data without one having to deal with the ASK protocol.
About a year ago a friend sent me a link to the Nextion web site where they advertise touch screen displays of various sizes. At the time I didn't have the need for a display with that much resolution and consequently never did any research on the display. But in the last couple of months I started doing some research and became intrigued with the display and so I broke down and ordered an 2.8" 320x240 Nextion touch display.
I used to struggle when it came time to remove my print, using blue tape when the printer finished but with this simple trick you can remove the product easily!
The Stopwatch project is an inexpensive bench Stopwatch/Timer, hardware/firmware solution that I have had on my long list of projects to do for some time. It has a simple interface; a 20x4 LCD display times and 4x4 keypad to configure the times. There are two main segments in the Stopwatch project; the clock source, an ATtiny2313 MCU that provides the clock pulses to the the Stopwatch segment, an ATMega328P that provides everything else.
In this the second and final article of the Garage Light series I will be providing the receiver and associated circuitry and code to complete the project. When I started this project I didn't have a clear design and as a result got into a just one more feature mode and ended up with a nice design.
As the old saying goes, "Necessity is the mother of invention" and in this case the need was a light in the garage that could be turned on for a period of time when motion is detected. We tried putting a couple of inexpensive motion sensitive, battery operated lights along the path to the recycle and garbage bins but they are so faint and you have to get so close to trigger them that it just didn't do the job.