Random header images ... Recharge your page to see more!

November 1.2014

Amplitude of currents and voltages in a circuit RLC Series - Flash Interactive Animation

Course Electronics Technician Professional, Automation and Control
Discipline - Electricity and Electronics
Module 4 - Single-Phase Alternating Current

Amplitude of currents and voltages in a circuit RLC Series


Tags: , , ,

Vote:
0 votes, average: 0,00 out of 50 votes, average: 0,00 out of 50 votes, average: 0,00 out of 50 votes, average: 0,00 out of 50 votes, average: 0,00 out of 5 (0 votes, average: 0.00 out of 5)
You must Register to vote for this post.
Loading... Loading ...
Print Out: Imprima este post Print this post
Readings: 121 readings

No comment

October 27.2014

Capacitive reactance, what is it? - Interactive flash animation

Course Electronics Technician Professional, Automation and Control
Discipline - Electricity and Electronics
Module 4 - Single-Phase Alternating Current

Capacitive reactance - flash interactive animation


Tags: , , ,

Vote:
0 votes, average: 0,00 out of 50 votes, average: 0,00 out of 50 votes, average: 0,00 out of 50 votes, average: 0,00 out of 50 votes, average: 0,00 out of 5 (0 votes, average: 0.00 out of 5)
You must Register to vote for this post.
Loading... Loading ...
Print Out: Imprima este post Print this post
Readings: 19 readings

No comment

October 21.2014

Picaxe - Display Control 7-Segment



The following program is one example of how we can connect and control the operation of a seven-segment display from a PICAXE microcontroller.
To learn more about the seven-segment displays see previous article here .
. First we present the display wiring diagram of the 7-segment Picaxe.
Note that we use the adjustable voltage divider to the left in the picture, in order to control the voltage entering the inlet 7 (analog value) and in this way we can, in the program, control the time the display is lit in each issue ( the program will basically counts 0 to 9 (in endless loop), and the figures in the display). If the voltage to enter the pin 7 of Picaxe is greater (potentiometer mouse pointer up), the display will be more time at each number, which consisted a 0-9 count.
The display used in this case is of common cathode, as may prove the first image.
. Then we present the .bas display program that work with the above mentioned, having a part which flashes the decimal point display twice per count of 0 to 9 carried out.
At the end of the article we give you the link to download the .bas program itself, ready to be run in the PICAXE Programming Editor (download here ).
. Then show a picture where you can see which segments are sent, the program, the display lights up, in each case (each number 0-9)
.Finally, We present a program running image (simulation in PICAXE Programming Editor), and in the case of the picture, the counter is the number 7 (only segments A, B and C lit, to form said number).

Questions or errors, send email, sff. Thank you.

ligarPicaxeaDisplay7SegmentosCatodoComum_3

'************************************************* ****
'File Name: setesegmentos.bas
'Version: 1.0
'Description: PICAXE -> Display Seven-segment
'************************************************* ****

'Use PICAXE 28X
#picaxe 28X

'Variable Assignment
symbol cnt = b0
adc_val symbol = b1
seg_dot symbol = 7

let pins =% 00000000 'Reset all pins Outputs / Outputs

main:
for cnt = 0 to 9
readadc 7, adc_val 'Reads the analog value at the gateway 7 for adc_val variable / b1

gosub disp_val
pause adc_val
next cnt

'Clean Outputs / Outputs
let pins =% 00000000 'Clear / Reset all pins outputs / Outputs
pause 100

for cnt = 0 to 2
high seg_dot
pause adc_val
low seg_dot
pause adc_val
next cnt

goto main 'Around the Home / main
end

disp_val:
select cnt
case 0
00111111 let pins% = '0 -> A = 1 B = 1 C = 1, D = 1, E = 1, F = 1, G = 0, = POINT 0
case 1
let pins =% 00000110 '1 -> A = 0, B = 1, C = 1, D = 0, E = 0, F = 0, G = 0, POINT = 0
case 2
let pins =% 01011011 '2 -> A = 1, B = 1, C = 0, D = 1, E = 1, F = 0, G = 1, POINT = 0
case 3
01001111 let pins =% '3 -> A = 1 B = 1 C = 1, D = 1, E = 0, F = 0, G = 1, POINT = 0
case 4
let pins =% 01100110 '4 -> A = 0, B = 1, C = 1, D = 0, E = 0, F = 1, G = 1, POINT = 0
case 5
let pins =% 01101101 '5 -> A = 1, B = 0, C = 1, D = 1, E = 0, F = 1, G = 1, POINT = 0
case 6
01111101 let pins =% '6 -> a = 1, B = 0, C = 1, D = 1, E = 1, F = 1, G = 1, POINT = 0
case 7
let pins =% 00000111 '7 -> A = 1, B = 1, C = 1, D = 0, E = 0, F = 0, G = 0, POINT = 0
8 case
01111111 let pins% = '8 -> A = 1 B = 1 C = 1, D = 1, E = 1, F = 1, G = 1, POINT = 0
case 9
let pins =% 01101111 '9 -> A = 1, B = 1, C = 1, D = 1, E = 0, F = 1, G = 1, POINT = 0
endselect
return

'EOF: setesegmentos.bas

7segmentos_2

case_7

Download the program here .


Tags: , , , ,

Vote:
0 votes, average: 0,00 out of 50 votes, average: 0,00 out of 50 votes, average: 0,00 out of 50 votes, average: 0,00 out of 50 votes, average: 0,00 out of 5 (0 votes, average: 0.00 out of 5)
You must Register to vote for this post.
Loading... Loading ...
Print Out: Imprima este post Print this post
Readings: 24 readings

No comment