Electronics Lab Philippines

ARDUINO,ATMEL-AVR,ZILOG ENCORE ,PIC..CIRCUITS/APPS

Offline zirlou21

  • *******
  • 762
  • 84
  • Gender: Male
  • I wish there is GOD...
    • ARDUINO,ATMEL-AVR,ZILOG ENCORE,PIC..CIRCUITS/APPS
ARDUINO,ATMEL-AVR,ZILOG ENCORE ,PIC..CIRCUITS/APPS
« on: March 24, 2015, 05:49:40 AM »
 :) :) :)


...Welcome to MCU world circuits and application.
Anyone can contribute any mcu ckts/apps for review and scrutiny.
Any ckts. mcu platform will be appreciated.

***You are not obliged to divulge  your hard-earned source-code,,,but if you will share some snippets/sketch/algorthm/flow charts much be appreciated.
     Any comments suggestions are welcome to better this thread.
--------------------------------------------------------------------------------------------

...I have some ckts done for my previous project i'd like to share for review and scrutiny..i hope we can learn each other from our vast experience.

...Basketball Scoreboard /Timer w/ ShotClock and BallPossesion console-ctlr.
...Magnetic card reader,Barcode reader,RTC 7-SegLED/LCD w/ Temp-Humid.
...I2C EEPROM reader/writer,Rotary/Encrimental  encoder w/PWM output
...80x5 Dot Matrix LED ScrollingMessage Display
...GSM/GPRS SCADA apps
...PLC/DCS controller
...FingerPrint Biometric Logger,RF-ID reader .
...among others

...unahin ko na BBscoreboard project kase medyo malalim approach sa programming ng MULTIPLEX display of 13-7segment LED plus IndicatorLEDs at 2x14 matrix-keySwitch controller.

...INPUT-SW:
=GameTimer button START & STOP
=ShotClock Timer button START & STOP
=Score Team-A button +1PT,+2PTs,+3PTs
=Score Team-B button +1PT,+2PTs,+3PTs
=BallPossesion button TEAM-A,TEAM-B
=Period button ADJ-UP
=Buzzer button ON (horn-buzzer NO-normally open sw)
=Jumpball button ON (extinguish the BPOSS indicatorLED's)
=*Adust/Setup button ( setting gmTmr/ShtClkTmr/Period,Score)

...PLAY-CONDITION:
>shotClkTmr cannot be START unless gameTmr is already STARTS.
>if shotClk Tmr reach to zero(shotclk violation foul) horn buzzer will be ON automatic for 3-5 sec*,gameTmr will be STOP, shotClk Tmr reset to 24sec.
>period button can only be Enable after gmTmr==0.0 then reset gmTmr to 10:00*
>all button is active/enable one at a time only;if press one button all other are disabled unless releasing the previous button.**except SETUP/ADJ button.

schematic
ver_1 BBscoreboard ctlr
ver_2 BBscoreboard ctlr
...NO OFFENSE pls..usapang teknikal lang,walang personalan.....


Offline >>>^żżż^<<<

  • *****
  • 13845
  • 706
  • żżż
Re: ARDUINO,ATMEL-AVR,ZILOG ENCORE ,PIC..CIRCUITS/APPS
« Reply #2 on: March 24, 2015, 12:05:28 PM »
No idea about programming kaya inggit na lang sa inyo. Basa basa na lang baka matututo.
http://www.elab.ph/index.php?topic=52236.0 TF?
http://www.elab.ph/index.php?topic=41860 ? ? ? DIY traffo Test Build Uli
http://www.elab.ph/index.php?topic=33717  I2c / spi programmer
http://www.elab.ph/index.php?topic=37150.0 Lcr esr makikigulo rin ba kayo ??? Test Build
http://www.elab.ph/index.php?topic=29963.0 Esr collection na malamig
http://www.elab.ph/index.php?topic=25854.0 Basic C++ Programming Tutorials by Prof Asimo
We only live once,treasure those we love, make friends not enemies and keep our family closer. And we will be at peace.
FISH

Offline rage3657

  • ******
  • 360
  • 23
  • Gender: Male
Re: ARDUINO,ATMEL-AVR,ZILOG ENCORE ,PIC..CIRCUITS/APPS
« Reply #3 on: March 24, 2015, 12:46:36 PM »
balak ko gumawa ng medicine reminder ilalagay ko un board sa medicine box mismo, may memory gap na kasi.. minsan ang tanong ko sa sarili ko nakainom naba ako? lalo na pag na distract.  i post ko pag nayare.
bong

Offline zirlou21

  • *******
  • 762
  • 84
  • Gender: Male
  • I wish there is GOD...
    • ARDUINO,ATMEL-AVR,ZILOG ENCORE,PIC..CIRCUITS/APPS
Re: ARDUINO,ATMEL-AVR,ZILOG ENCORE ,PIC..CIRCUITS/APPS
« Reply #4 on: March 24, 2015, 12:48:19 PM »
 :) :) :)

No idea about programming kaya inggit na lang sa inyo. Basa basa na lang baka matututo.

...kung more on hardware side ka at less ang interaction mo sa software side eh madali mo na ring matutunan ang programming ng mcu.

...mahalaga may knowkedge ka na sa logic ckts(AND.OR,INVERTER,Flip-flops,counter registers etc.),number system(binary,decimal,octal,hexa)at simple binary arithmmetic pwede na yan starting ground.

...isunod mo aralin internal architecture ng isang MPU then MCU ano ang kaibahan nila,
ano ang Instruction set,syntax,mnemonic,directives,operands,addressing mode.
Then simulan mo sa isang mcu na paganahin ang simpleng LED blinker pero unawain mo ang step by step operation na nangyayari sa loob ng napili mong mcu.

...once na na grasp mo na ang operation sa loob ng mcu na madali lang pala saka mo na i-level up ang dahan dahan sa high level platform of mcu ang mga experiments mo.

...i'm sure ma aaddict ka sa mcu apps kase unlimited ang pwede nitong paggamitan at masasabi mo na hawak ko na lahat ng control ng anumang machine to be control.

..PS,may begginer's thread si ASIMO about  Arduino sabayan mo narin.
...yung thread kina GlutnixNeo  at Motion55 para sa advance programmers na..pero mahusay karagdagang kaalaman din.
...NO OFFENSE pls..usapang teknikal lang,walang personalan.....

Offline zirlou21

  • *******
  • 762
  • 84
  • Gender: Male
  • I wish there is GOD...
    • ARDUINO,ATMEL-AVR,ZILOG ENCORE,PIC..CIRCUITS/APPS
Re: ARDUINO,ATMEL-AVR,ZILOG ENCORE ,PIC..CIRCUITS/APPS
« Reply #5 on: March 24, 2015, 12:56:11 PM »
 :) :) :)

balak ko gumawa ng medicine reminder ilalagay ko un board sa medicine box mismo, may memory gap na kasi.. minsan ang tanong ko sa sarili ko nakainom naba ako? lalo na pag na distract.  i post ko pag nayare.


...ok good yan and welcome....
...NO OFFENSE pls..usapang teknikal lang,walang personalan.....

Offline zirlou21

  • *******
  • 762
  • 84
  • Gender: Male
  • I wish there is GOD...
    • ARDUINO,ATMEL-AVR,ZILOG ENCORE,PIC..CIRCUITS/APPS
Re: ARDUINO,ATMEL-AVR,ZILOG ENCORE ,PIC..CIRCUITS/APPS
« Reply #6 on: March 24, 2015, 01:20:07 PM »
 :) :) :)


No idea about programming kaya inggit na lang sa inyo. Basa basa na lang baka matututo.

...add ko lang magandang may books ka nito "TTL Cookbok"by Forest Mimms at "CMOS Cookbook" by Don Lancaster. NAPAKAGANDANG reference ito para sa beginner's ng digital electronics....hindi ito nawawala sa tabi ko.,nabili ko pa ito sa RadioShack Megamall,,kaya na sad din ako sa bunkrupcy ng radioshack.
...NO OFFENSE pls..usapang teknikal lang,walang personalan.....

Online Super zHero

  • *****
  • 5773
  • 310
  • Simple problem- ...simple solution.
Re: ARDUINO,ATMEL-AVR,ZILOG ENCORE ,PIC..CIRCUITS/APPS
« Reply #7 on: March 24, 2015, 06:05:37 PM »
Abang ako dito,,,,
Talking about cookbooks, saan kaya meron Arduino Cookbook by Michael Margolis?  Nagdownload ako sa internet ng PDF.

Offline >>>^żżż^<<<

  • *****
  • 13845
  • 706
  • żżż
Re: ARDUINO,ATMEL-AVR,ZILOG ENCORE ,PIC..CIRCUITS/APPS
« Reply #8 on: March 24, 2015, 06:13:11 PM »
Hmm mukhang makukuha ko kung logic lang pero yung operation ng software ang hirap talaga ako.
http://www.elab.ph/index.php?topic=52236.0 TF?
http://www.elab.ph/index.php?topic=41860 ? ? ? DIY traffo Test Build Uli
http://www.elab.ph/index.php?topic=33717  I2c / spi programmer
http://www.elab.ph/index.php?topic=37150.0 Lcr esr makikigulo rin ba kayo ??? Test Build
http://www.elab.ph/index.php?topic=29963.0 Esr collection na malamig
http://www.elab.ph/index.php?topic=25854.0 Basic C++ Programming Tutorials by Prof Asimo
We only live once,treasure those we love, make friends not enemies and keep our family closer. And we will be at peace.
FISH

Offline rage3657

  • ******
  • 360
  • 23
  • Gender: Male
Re: ARDUINO,ATMEL-AVR,ZILOG ENCORE ,PIC..CIRCUITS/APPS
« Reply #9 on: March 24, 2015, 07:10:47 PM »
Hmm mukhang makukuha ko kung logic lang pero yung operation ng software ang hirap talaga ako.

need talga jan sis mag invest ng time..study , practice..study more.. practice more...
bong

Offline zirlou21

  • *******
  • 762
  • 84
  • Gender: Male
  • I wish there is GOD...
    • ARDUINO,ATMEL-AVR,ZILOG ENCORE,PIC..CIRCUITS/APPS
Re: ARDUINO,ATMEL-AVR,ZILOG ENCORE ,PIC..CIRCUITS/APPS
« Reply #10 on: March 24, 2015, 10:50:10 PM »
 :) :) :)


Hmm mukhang makukuha ko kung logic lang pero yung operation ng software ang hirap talaga ako.

...Nakow napakadali lang po ng software side programming.
Tip#1:  basahin mo muna kaibahan ng dalawang processor architecture
ang VonNeuman at Harvard architecture masisiyahan ka dito at mabubuksan isip sa mcu ngayon.,,assembly for low level programming then itong c/c++ high level programming na ito.

...dyan mo rin malalaman ang meaning  ng CISC at RISC computer,kaibahan
ng OTP at Flash mcu.

...tama si rage3657 basa-basa lang pag may time.

...Then kung gusto mo simulan sa basic programming gamit tayo ng PIC16f84A busisiin natin kaloobloban ng mcu na ito saka tayo gawa apps.ckt.

...kung meron nga lang motorola MC6802 mpu doon talaga barebone microcomputer ang bubuuin natin ewan ko lang pag di ka pa natuto ng mpu/mcu tech.,,dito pati memory mapping aaralin mo,eprom,sram,clock source at i/o interface,address bus,data bus at control bus yun nga lang pure assembly ang programming pero titibay naman understanding mo sa software control ng mpu or mcu.

...nuong nagtuturo pa ako sa tech school one of my subject is CA computer architecture nakabase pa sa Intel MPU-8088 dito himay na himay talaga kaloblooban ng mpu,..internal architecture kase ang hardware side ng mpu or mcu then ang assembly programming naman nito ang software side naman.

...so halungkatin mo muna old books mo about computer baka makita mo pa 8088 mpu good starting guide yan sa information about evolution ng mcu.

....pag may tanong shoot mo lang at alalayan tayo dito from ground up to
na matuto tayo dito.
...NO OFFENSE pls..usapang teknikal lang,walang personalan.....

Offline zirlou21

  • *******
  • 762
  • 84
  • Gender: Male
  • I wish there is GOD...
    • ARDUINO,ATMEL-AVR,ZILOG ENCORE,PIC..CIRCUITS/APPS
Re: ARDUINO,ATMEL-AVR,ZILOG ENCORE ,PIC..CIRCUITS/APPS
« Reply #11 on: March 25, 2015, 01:00:50 AM »
 :) :) :)

Abang ako dito,,,,
Talking about cookbooks, saan kaya meron Arduino Cookbook by Michael Margolis?  Nagdownload ako sa internet ng PDF.

...ang alam ko sir sa National bookstore marame ako nakita dyan na about arduino thru 'evil genius' books...sa alexan sir nag try rin ba kayo.

...or pwede naman seguro iprint ang pdf file nyo then pa bookbind para may hard copy na.
...NO OFFENSE pls..usapang teknikal lang,walang personalan.....

Offline congressman

  • ****
  • 4772
  • 324
  • Gender: Male
Re: ARDUINO,ATMEL-AVR,ZILOG ENCORE ,PIC..CIRCUITS/APPS
« Reply #12 on: March 25, 2015, 01:29:51 AM »
:) :) :)


...add ko lang magandang may books ka nito "TTL Cookbok"by Forest Mimms at "CMOS Cookbook" by Don Lancaster. NAPAKAGANDANG reference ito para sa beginner's ng digital electronics....hindi ito nawawala sa tabi ko.,nabili ko pa ito sa RadioShack Megamall,,kaya na sad din ako sa bunkrupcy ng radioshack.
Uy meron ako nyan. Ginawa ko yung project na knightrider 16 led's.
Sis zirlou sample naman ng input multiplexer circuit. 16 pots at 16 leds data, clock, strbe yung communication. Tia
Peace!

Offline >>>^żżż^<<<

  • *****
  • 13845
  • 706
  • żżż
Re: ARDUINO,ATMEL-AVR,ZILOG ENCORE ,PIC..CIRCUITS/APPS
« Reply #13 on: March 25, 2015, 01:43:04 PM »
Dapat magcontri na dito si kong ng matuto naman kaming mga walang alam. ::)
http://www.elab.ph/index.php?topic=52236.0 TF?
http://www.elab.ph/index.php?topic=41860 ? ? ? DIY traffo Test Build Uli
http://www.elab.ph/index.php?topic=33717  I2c / spi programmer
http://www.elab.ph/index.php?topic=37150.0 Lcr esr makikigulo rin ba kayo ??? Test Build
http://www.elab.ph/index.php?topic=29963.0 Esr collection na malamig
http://www.elab.ph/index.php?topic=25854.0 Basic C++ Programming Tutorials by Prof Asimo
We only live once,treasure those we love, make friends not enemies and keep our family closer. And we will be at peace.
FISH

Offline _basura_man()

  • *
  • 1169
  • 63
  • Senior Software Engr. in http://goo.gl/iM8khM
Re: ARDUINO,ATMEL-AVR,ZILOG ENCORE ,PIC..CIRCUITS/APPS
« Reply #14 on: March 25, 2015, 01:56:17 PM »
subscribing Sir zirlou, ++points
Senior software developer at day, HW and FW hobbyist at night.
Working at http://goo.gl/iM8khM.

Offline kaizer

  • ****
  • 4885
  • 227
Re: ARDUINO,ATMEL-AVR,ZILOG ENCORE ,PIC..CIRCUITS/APPS
« Reply #15 on: March 25, 2015, 02:15:22 PM »

Offline PlCUSER

  • **
  • 2455
  • 182
Re: ARDUINO,ATMEL-AVR,ZILOG ENCORE ,PIC..CIRCUITS/APPS
« Reply #16 on: March 25, 2015, 02:54:51 PM »
:) :) :)


...Nakow napakadali lang po ng software side programming.
Tip#1:  basahin mo muna kaibahan ng dalawang processor architecture
ang VonNeuman at Harvard architecture masisiyahan ka dito at mabubuksan isip sa mcu ngayon.,,assembly for low level programming then itong c/c++ high level programming na ito.

...dyan mo rin malalaman ang meaning  ng CISC at RISC computer,kaibahan
ng OTP at Flash mcu.

...tama si rage3657 basa-basa lang pag may time.

...Then kung gusto mo simulan sa basic programming gamit tayo ng PIC16f84A busisiin natin kaloobloban ng mcu na ito saka tayo gawa apps.ckt.

...kung meron nga lang motorola MC6802 mpu doon talaga barebone microcomputer ang bubuuin natin ewan ko lang pag di ka pa natuto ng mpu/mcu tech.,,dito pati memory mapping aaralin mo,eprom,sram,clock source at i/o interface,address bus,data bus at control bus yun nga lang pure assembly ang programming pero titibay naman understanding mo sa software control ng mpu or mcu.

...nuong nagtuturo pa ako sa tech school one of my subject is CA computer architecture nakabase pa sa Intel MPU-8088 dito himay na himay talaga kaloblooban ng mpu,..internal architecture kase ang hardware side ng mpu or mcu then ang assembly programming naman nito ang software side naman.

...so halungkatin mo muna old books mo about computer baka makita mo pa 8088 mpu good starting guide yan sa information about evolution ng mcu.

....pag may tanong shoot mo lang at alalayan tayo dito from ground up to
na matuto tayo dito.
ok tong approach na to. cumpleto.

pero dun sa mga super newbie, pwd din mag skip ng most items jan and take the "fast and the furious" way.

ung 2 pamangkin ko, ung isa 11 years old. nag eenjoy na sa arduino trinket at ws2812b. ilalagay nya na dw sa lamp project nya sa school last year.
ung isa naman, now 12 (started arduino last year), nung isang gabi, avrstudio, at90usbkey, at usb modem na ung nilalaro. his dad wants to install sms remote control sa planta nila. sabi ko, before ako bumalik ng sg, kung babalik pa ko, anak na nya ung maggagawa ng hardware na need nya.

kung kaya nung mga pamanking ko na kaka patuli pa lng, eh malamang kayang kaya din ng mga matagal nang tuli dito. kahit supot. ;D ;D ;D

Offline zirlou21

  • *******
  • 762
  • 84
  • Gender: Male
  • I wish there is GOD...
    • ARDUINO,ATMEL-AVR,ZILOG ENCORE,PIC..CIRCUITS/APPS
Re: ARDUINO,ATMEL-AVR,ZILOG ENCORE ,PIC..CIRCUITS/APPS
« Reply #17 on: March 25, 2015, 03:39:28 PM »
 ;) ;) ;)

Uy meron ako nyan. Ginawa ko yung project na knightrider 16 led's.
Sis zirlou sample naman ng input multiplexer circuit. 16 pots at 16 leds data, clock, strbe yung communication. Tia


...@cong yun bang mga pots mo para sa analog input ng mcu...ilang volts bawat pots ang minomonitor mo,
ilang ADC input ng mcu ang gagamitin mo,isa lang ba...kung isa lang gagamit nga tayo ng dalawang 8input analog mux.
yun namang 16 outputs mo gagamit tayo dalawang 8bit-shift regs like 74HC595.CD4094 at 74LS164.
...then use your peborit mcu to do the works.
...NO OFFENSE pls..usapang teknikal lang,walang personalan.....

Offline zirlou21

  • *******
  • 762
  • 84
  • Gender: Male
  • I wish there is GOD...
    • ARDUINO,ATMEL-AVR,ZILOG ENCORE,PIC..CIRCUITS/APPS
Re: ARDUINO,ATMEL-AVR,ZILOG ENCORE ,PIC..CIRCUITS/APPS
« Reply #18 on: March 25, 2015, 04:28:55 PM »
 :) :) :)


ok tong approach na to. cumpleto.

pero dun sa mga super newbie, pwd din mag skip ng most items jan and take the "fast and the furious" way.

ung 2 pamangkin ko, ung isa 11 years old. nag eenjoy na sa arduino trinket at ws2812b. ilalagay nya na dw sa lamp project nya sa school last year.
ung isa naman, now 12 (started arduino last year), nung isang gabi, avrstudio, at90usbkey, at usb modem na ung nilalaro. his dad wants to install sms remote control sa planta nila. sabi ko, before ako bumalik ng sg, kung babalik pa ko, anak na nya ung maggagawa ng hardware na need nya.

kung kaya nung mga pamanking ko na kaka patuli pa lng, eh malamang kayang kaya din ng mga matagal nang tuli dito. kahit supot. ;D ;D ;D

...tingin ko nga sir mas madaling makasabay mga bata sa bagong style of learning ng mcu sa ngayon(talking about Arduino)...basta naituro tamang foundation sa kanila....at tuloy tuloy lang practice seguradong malayo mararating ng bata sa ngayon....ok yan.,gudluck.

...eto naman kaseng mga soon to be forgets(pardon my words) na member natin ay interesado sila talaga dito sa mcu tech na ito,...ang problema maybe ay continous guidance of how to walkthrough step by step to inner workings of this device......tama nandiyan nga ang mga info at books sa internet pero saan mo sisimulan.....and that is why this thread is trying to accomplish....
sa pagtutulungan ng bawat isa at contribution ng mga masters natin dito ay maengganyo natin lahat ng gustong matuto nito.

...and I know sirPICUSER will not hesitate to impart some of your expertise to us....TIA
...NO OFFENSE pls..usapang teknikal lang,walang personalan.....

Offline zirlou21

  • *******
  • 762
  • 84
  • Gender: Male
  • I wish there is GOD...
    • ARDUINO,ATMEL-AVR,ZILOG ENCORE,PIC..CIRCUITS/APPS
Re: ARDUINO,ATMEL-AVR,ZILOG ENCORE ,PIC..CIRCUITS/APPS
« Reply #19 on: March 25, 2015, 06:09:02 PM »
 :) :) :)


Uy meron ako nyan. Ginawa ko yung project na knightrider 16 led's.
Sis zirlou sample naman ng input multiplexer circuit. 16 pots at 16 leds data, clock, strbe yung communication. Tia

...eto na cong final ckt. 16_IOv02
file:///C:/Documents%20and%20Settings/Administrator/Desktop/elab/16_IOv02.JPG
...NO OFFENSE pls..usapang teknikal lang,walang personalan.....