Rocio.RocioBarcia History
Hide minor edits - Show changes to markup - Cancel

Code with if statement > Attach:switchOnCd.pbp
Code with if statement: Attach:switchOnCd.pbp Set a variable so that we know when we have already pressed the button.
Code with if statement > Attach:cdplayer07.pbp
Code with if statement > Attach:switchOnCd.pbp
Hacking a Cd Player.
It workssssssssssss!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! :)))))))))
Rocio's code Attach:cdplayer05.pbp
Rocio's code. Thank you Gilado!
Code with if statement > Attach:cdplayer06.pbp
Code with if statement > Attach:cdplayer07.pbp
Code with if statement > Attach:cdplayer06.pbp
Rocio's code (switch - not working yet)> Attach:cdplayer02.pbp

Attach:pdRealy.jpg Δ Rocio's code
Attach: switch.jpg

Attach:Kazu Δ'sCd.jpg
Attach: switch.jpg



Kazu's code (sensor - adc) > Attach:cdplayer01.pbp Rocio's code (switch - not working yet)> Attach:cdplayer02.pbp
16F819
16F819
week 7 - midterm.
week 3 - Serial.
week 4 - Serial.
week 3 - Serial.


Attach: serial.pbp












With a variable resister (flex sensor or potentiometer) I turn on a series of LED's one by one.
goto main
Paralel Circuit (Each LED receives the same voltage but uses more miliamps. That means that the battery will be usefull for less time.
Paralel Circuit. (Each LED receives the same voltage but uses more miliamps. That means that the battery will be usefull for less time.
Serial Circuit. (The voltage is divided in each LED. If you have 5v coming from the 5v regulator, and you have 5 LED in series, each one will receive 1v.
Paralel Circuit (Each LED receives the same voltage but uses more miliamps. That means that the battery will be usefull for less time.

Serial Circuit. (The voltage is divided in each LED. If you have 5v coming from the 5v regulator, and you have 5 LED in series, each one will receive 1v.

After a long time I got the light turning on and off with the switch.
LED series resistor calculator: http://ourworld.compuserve.com/homepages/Bill_Bowden/led.htm
LED series resistor calculator: http://ourworld.compuserve.com/homepages/Bill_Bowden/led.htm
week 2 - Start with code.
DEFINE OSC 4
input portb.0 output portb.1
output portd.2 output portd.3
main:
if portb.0 = 1 then high portd.2 low portd.3 else high portd.3 low portd.2 endif goto main PAUSE 1000 low portd.2 high portd.3 pause 500
goto main
ttach:firstbreadboard.ext
ttach:firstbreadboard.ext
The electrons trip
The electrons trip
LED. Voltage required and mA (miliams-current-1000ma=1amps): http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&storeId=10001&catalogId=10001&productId=94511
LED information. Voltage required and mA (miliams-current-1000ma=1amps): http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&storeId=10001&catalogId=10001&productId=94511
Voltage required by the LED and mA (miliams-current-1000ma=1amps): http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&storeId=10001&catalogId=10001&productId=94511
LED. Voltage required and mA (miliams-current-1000ma=1amps): http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&storeId=10001&catalogId=10001&productId=94511
They come from the 5-15VDC power supply, they go trough the power supply connector, to the switch, to the 5V regulator, to the 220 ohm resistor, to the LED and finally to ground.
They come from the 5-15VDC power supply, they go through the power supply connector, to the switch, to the 5V regulator, to the 220 ohm resistor, to the LED and finally to ground.
Voltage required by the LED and mA (miliams-current-1000ma=1amps): http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&storeId=10001&catalogId=10001&productId=94511
LED series resistor calculator: http://ourworld.compuserve.com/homepages/Bill_Bowden/led.htm
week 1 - My first experience building a circuit.
week 1 - Building my first circuit.
They go through the 5-15VDC power supply, to the power supply connector, to the switch, to the 5V regulator, to the 220 ohm resistor, to the LED and finally to ground.
They come from the 5-15VDC power supply, they go trough the power supply connector, to the switch, to the 5V regulator, to the 220 ohm resistor, to the LED and finally to ground.
The electrons trip They go through the 5-15VDC power supply, to the power supply connector, to the switch, to the 5V regulator, to the 220 ohm resistor, to the LED and finally to ground.
week 1 - My first experience doing a circuit.
I met with Kate and together found out how to do an LED turn on.
week 1 - My first experience building a circuit.
I met with Kate and together found out how to make an LED turn on. So exciting!
So Good!
week 1 - My first experience doing a circuit.
I met with Kate and together found out how to do an LED turn on.
www.itp.nyu.edu/~rvb221/pcomp.html
I don't know if to do my pcomp page here or not.
So Good!
www.itp.nyu.edu/~rvb221/pcomp.html
www.itp.nyu.edu/~rvb221/pcomp.html
I don't know if to do my pcomp page here or not.
www.itp.nyu.edu/~rvb221/pcomp.html





