Two years ago I published post about Remote controller with PCA9535. This device was not without some disadvantages, of course. Some of them: not accurate board outline, IQRF module orientation, through-hole push buttons. Now I have finished new version with some improvements, which replaces disadvantages mentioned above.
If you are not daily user of IQRF modules, probably you often find that you have to look into reference manual for correct function names and parameters. If you want to simplify work with IQRF OS functions, this article is just for you. This post describes how to install IQRF syntax highlight and auto-completion into Notepad ++ (from 6.6.6 version).
In this article you can read about working with RGB LED diode. You can display 8 colors using one LED diode. LED is connected by 3 pins to MCU for control color and by 1 pin is connected to MCU via transistor to regulate brightness (see scheme). Regulation of brightness is performed by PWM.
uns8 savedTX; ... RTHOPS = 0xFF; // @bank5 != TX = savedTX; // @bank11 != @bank5 == RTDEF = 2; // @bank5
I like TR-52D modules, but I was disappointed of their DAC capabilities inherited from used MCU. Fortunately we have several ways, how to fix this issue. One of them is AS1500 digital potentiometer usage. It is very simple (from programming view) device and not so expensive. Following example is only draft. For fully functional circuit, some additional hardware is required.
Sometimes, you need to measure analog signal and then switch something on or off according to the result. This short example shows, how to do it. Everything you need is DDC-SE-01 module as a sensor module and DDC-RE-01 as relay module. Of course you need DK-EVAL-04 or CK-USB-04 for both of them as a master module.
Activity of registered readers on this site is tracked. They collect user points for activity, and spend this points for rewards. The following lines shows the point value for activity.
- site visit (you have to be logged in): 1 point per day
- post/page comment: 5 points per approved comment
- deleted comment (by moderators or yourself): -10 points per comment
- published post: 250 points per approved and published post
- high valuable post: 500 points per approved and published post. As high valuable could be considered post with own construction, interesting idea etc. It depends on moderators, which post will be considered as high valuable post.