In the beginning of this year I’ve written a short tutorial how to read PWM signals from RC radio with Arduino. While it is can be useful when building own RC equipment, it does not help much when one has to deal with PPM (CPPM) signal. Let’s be honest, PPM is much more useful...
MATLAB Code for Even Parity Check & Adding Parity Bit, in an User Dfined Bin Sequence clc; close all; clear all; x = input('Enter the bit sequence to test for Even parity: '); t = 0; for i = 1:length(x)%can replace this 'for' loop just by t=sum(x) if(x(i)) t = t ...
It's a PWM output, so I flatten the voltage with a resistor and a capacitor. In addition I use an optocoupler 4N25 for an isolated PTT switch for the PA. Look at the https://github.com/dl1bz/ESP32-XPA125B-HL2/blob/main/ESP32-XPA125B-HL2-Schematic.pdf for details. As goodie ...
NeoPixels Revealed: Getting physical to uncover PWM Secrets And now for the code… With all this in mind, we can write some very simple Arduino code to drive NeoPixels… https://github.com/bigjosh/SimpleNeoPixelDemo/blob/master/SimpleNeopixelDemo/SimpleNeopixelDemo.ino Download this program and...
The fpga4fun design uses a pwm signal to generate the tones. Each tone has frequency ( or period ) and a duration. You may write 2 roms, one for the period of each tone and the other for the lenght ( in pwm periods ) of the note. You read at same time bot...
### Using toolchain: Arduino AVR v1.6.1 | gmake (64-bit Windows) ### 'E:\MATLAB_CD\S_Function_HC_SR_04\Test_SR04_PWM_ert_rtw\Test_SR04_PWM.mk' is up to date ### Building 'Test_SR04_PWM': C:\PROGRA~1\MATLAB\R2016a\bin\win64\gmake -f Test_SR04_PWM.mk all g++ -fno-ex...
In this post I have explained how to generate electricity from our shoe while walking. This electricity can be simultaneously used for charging a cellphone
### Using toolchain: Arduino AVR v1.6.1 | gmake (64-bit Windows) ### 'E:\MATLAB_CD\S_Function_HC_SR_04\Test_SR04_PWM_ert_rtw\Test_SR04_PWM.mk' is up to date ### Building 'Test_SR04_PWM': C:\PROGRA~1\MATLAB\R2016a\bin\win64\gmake -f Test_SR04_PWM.mk all g++ -fno-ex...