Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,194,443 members, 7,954,748 topics. Date: Saturday, 21 September 2024 at 08:29 AM |
Nairaland Forum / Science/Technology / Programming / Microcontrollers (35049 Views)
Help Needed On My Project Work Using Microcontrollers / How To Write Assembly Language For Microcontrollers (2) (3) (4)
(1) (2) (3) ... (10) (11) (12) (13) (14) (Reply) (Go Down)
Re: Microcontrollers by Nobody: 8:46pm On Sep 23, 2013 |
hoodboi: Thanks bro I rilly apreciate this. I only jst got admitted into unilorin myself through direct entry. It seems a friend of mine is saying he as some conxns in kd dat wud be faster. But let me hear him out, If he's nt making sense I'll come bk. Thank you once again.Thats OK. Im actually a PG student there, that is why I realy do not stay there, I only go there to see my supervisor! |
Re: Microcontrollers by hopefullman: 3:04pm On Sep 26, 2013 |
@engr princejude.i have sucessfully programed my pic with mplab.i cant forgive myself for forgetting to buy a 4mhz crystal when ordering for my pickit3.i have 8,14,27mhz xtal bt d pic wont run with it.my pic doesn't have internal oscilator{pic16f84a-04/p}.i'm using an external RC oscillator which is very unstable.i had to erase my pic severaltimes to make a code to work.the code isn't working verywell since i dnt knw the frequency d pic is operating.thanks for ur help. |
Re: Microcontrollers by princejude(m): 9:32am On Sep 27, 2013 |
hopefullman: @engr princejude.i have sucessfully programed my pic with mplab.i cant forgive myself for forgetting to buy a 4mhz crystal when ordering for my pickit3.i have 8,14,27mhz xtal bt d pic wont run with it.my pic doesn't have internal oscilator{pic16f84a-04/p}.i'm using an external RC oscillator which is very unstable.i had to erase my pic severaltimes to make a code to work.the code isn't working verywell since i dnt knw the frequency d pic is operating.thanks for ur help. ww1.microchip.com/downloads/en/devicedoc/31002a.pdf Study the above microchip's OSCILLATOR manual. Read section 2.4 : "External RC Oscillator" and don't forget to include the reset circuit at "MCLR" pin. that is, connect 10k resistor from Pin 4(MCLR) to VCC and 10uF capacitor from Pin4(MCLR) to GND. But why do you use PIC16F84A-04/P ? That chip is too low and expensive. |
Re: Microcontrollers by Tchalz(m): 11:53am On Sep 27, 2013 |
Thanks PrinceJude f0r everything..D0es y0ur c0mpany n0w have Pic16f628A? |
Re: Microcontrollers by princejude(m): 3:05pm On Sep 27, 2013 |
Tchalz: Thanks PrinceJude f0r everything..D0es y0ur c0mpany n0w have Pic16f628A? We don't have 16f628A but we have 16f84A, 16F873A, 16F876A |
Re: Microcontrollers by princejude(m): 7:12am On Sep 28, 2013 |
Dot Matrix Scrolling Message Display[size=10pt][/size] Introduction: Multiplexed displays are electronic displays where the entire display is not driven at one time. Instead, sub-units of the display (typically, rows or columns for a dot matrix display or individual characters for a character orientated display) are multiplexed, that is, driven one at a time, but the electronics and the persistence of vision combine to make the viewer believe the entire display is continuously active. 10x8 LED dot matrix display: In the above figure, the rows are negative and columns are positive. Now, if I connect a single column to positive 5V and a single row to negative (0v), then the LED in place of the intersection of the corresponding row and column will glow. Now , if we select a single column(means a +5 volt at selected column) , say column 1 and multiple rows (means connect 0V to few selected rows), say row 1,2 & 8, then the selected 1,2 and 8 LEDs in column 1 will glow. Now if i shift the column(means shifting the positive voltage from column 1 to column 2), and if i change the row data ,then the new data will be displayed in column 2. Now, if i continuously shift the column and provide row data corresponding to each column, then i can display the different row data (8 bit) in different columns. . So, if one frame(10 column shift) is completed within 1/16 th of a second, then due to the persistence of vision of our eye, we will feel the entire columns are activated at a time, and thus we will see all the ten -8bit data corresponding to the 10 columns , at a time. Now, if a set of 8bit data (say 5x8 ) represents a letter, say , 'A' then we will see letter 'A' in the display. |
Re: Microcontrollers by princejude(m): 6:40am On Oct 01, 2013 |
The PIC16F887 provides the 8 bit row data. CD4017 is used to select the column one by one. Now, for shifting the column position, a clock is provided by the PIC to the CD4017. On every clock, the column is shifted .(from right to left in this case).
|
Re: Microcontrollers by princejude(m): 6:48am On Oct 01, 2013 |
The code bellow will display a still letter A:
|
Re: Microcontrollers by princejude(m): 6:59am On Oct 01, 2013 |
0x7e,0x90,0x90,0x7e,0x00 are hex values that will form the character you want to display on the dot matrix. You can generate the hex values using a "dot matrix font generator" You can download it from here:http://www.instructables.com/id/LED-Scolling-Dot-Matrix-Font-Graphics-Generator-/. It is an excel software |
Re: Microcontrollers by princejude(m): 7:13am On Oct 01, 2013 |
(~) was used to invert the LEDs connection because the hardware connection was not the same as the font generator |
Re: Microcontrollers by princejude(m): 9:59am On Oct 01, 2013 |
Scrolling Message Code:
...run to church will upload the circuit later 1 Like |
Re: Microcontrollers by Tchalz(m): 11:29am On Oct 01, 2013 |
Thank you s0 much br0 f0r this tut0rial..I reserve my questi0ns f0r n0w until y0u are thr0ugh,c0s I'v s0 many t0 ask. |
Re: Microcontrollers by princejude(m): 1:02pm On Oct 01, 2013 |
The Circuit:
|
Re: Microcontrollers by princejude(m): 1:16pm On Oct 01, 2013 |
The circuit's PDF is here: http://www.4shared.com/office/xePzVxmb/Matrix.html |
Re: Microcontrollers by hopefullman: 3:03pm On Oct 01, 2013 |
princejude:i've downloaded d book.almost same as pic16f8x datasheet.the formula 4d rc osc frequency wasnt shown.they only recomend values for r&c.is there a formula to cal the frequency?i'v read f=1/RC bt it's nt acurate.it doesnt take temp&voltage into consideratn.i tink microchip intentionaly hid ths info.jst want 2know d speed my uc 's runing |
Re: Microcontrollers by princejude(m): 3:44pm On Oct 01, 2013 |
hopefullman: I will advice you to use crystal, forget about the RC. If you can't get 4MHz(or less) crystal then change your chip to Pic16f84a or any that can accept high crystal value. |
Re: Microcontrollers by hopefullman: 5:57pm On Oct 01, 2013 |
princejude:my chip is pic16f84a-04/p.as per datashet,it's max frequency is4mhz ***sad*** |
Re: Microcontrollers by Tchalz(m): 8:35pm On Oct 01, 2013 |
I am g0ing t0 try 0ut this project..Sir,is it p0ssible t0 cascade 2 10 by 5 displays using 2 CD4017s t0 s0urce currents f0r the LEDs? Just in case I want t0 increase the length of the display.. |
Re: Microcontrollers by cjs10lib(m): 8:35am On Oct 05, 2013 |
@Prince. Please how long does the training for students last, how many programs are involved and how much is the fee. I appreciate ur tireless effort and would want to gain more knowledge. Am currently a windows programmer using vb.net and SQL server database. Your reply will very appreciated. |
Re: Microcontrollers by princejude(m): 2:52pm On Oct 05, 2013 |
cjs10lib: @Prince. Please how long does the training for students last, how many programs are involved and how much is the fee. I appreciate ur tireless effort and would want to gain more knowledge. Am currently a windows programmer using vb.net and SQL server database. Your reply will very appreciated. The training time table is here: http://www.microscale-embedded.com/index.php?option=com_content&view=article&id=47&Itemid=50 MST101: Embedded System Using PIC microcontroller with application in GSM modem ----- N65k MST106: Embedded System Using AVR Microcontroller with application in GPS receiver ----N65K MST108: Embedded System Using 8051 Microcontroller with application in RFID -- ---- N65K Open the training link above to see other courses. The duration depends on the type of training you choose. The "Fast Track Courses" will be between 4 to 6 hours for 1 week The "Modular Track Courses" will be between 2 to 3 hours for 2 weeks The N65k covers the cost of all the training materials including development kit, programmer, microcontroller, training manual with sample codes, and all the software required for the training. |
Re: Microcontrollers by pheforusty(m): 4:21pm On Oct 07, 2013 |
Is it possible 2 combine 2 voltage regulators 78XX to get a current of 2A. |
Re: Microcontrollers by princejude(m): 5:15pm On Oct 07, 2013 |
pheforusty: Is it possible 2 combine 2 voltage regulators 78XX to get a current of 2A. It is possible, but you must add some diodes (D1 and D2) in the link below to protect the regulators. http://www.instructables.com/id/Increasing-current-on-78xx-series-regulators/ You can also use a pass transistor as show below: http://electronicsjmbh..com/2012/02/power-supply-5-volts-5-with-pass.html ...... your transformer must be up to 2A (or more) |
Re: Microcontrollers by pheforusty(m): 8:18pm On Oct 07, 2013 |
princejude:tenk u. |
Re: Microcontrollers by wisemania(m): 3:09am On Oct 09, 2013 |
Having read dis thread 4rm d ist 2 d 12th page i mst say dat am gr8ly impressed,making me feel like a software engineer already..@Princejude thanks alot 4ur immeasurable sacrifice uve made on d newbies on this thread,i rili du appreciate it....i saw some documentary lately on CCTV-news,about some robotics chalenge,and 4rm wt i saw ,its like Egypt has its robots ready 4d chalenge,i saw some gr8 wrks of d egyptian team of programmers (including ladies) and i mst say,i wept for my beloved country,coz all we du is 2 create mobile apps,websites and some oda non chalenging projects...i was gingered 2 len robotics,of wc u have made me 2undestand dat 2b a good software engineer one haz 2 len C folowed by assembly...aldo i dnt kw any 4now dats y i got confused wen i saw d code snippets uv bin pasting here...anywaz thanks once again,wen am redy ill definately revisit dis thread 4mr info...thanks.... |
Re: Microcontrollers by jetmaster: 12:28am On Oct 21, 2013 |
when i connect the usb cable of my topwin to the usb port on my window 7 64bit and click on the topwin icon on the desktop,it will read usb error! Reload usb driver and when i click on the reload usb driver, it will also give Can`t loading USB Driver. please help me i will appreciate thanks. |
Re: Microcontrollers by princejude(m): 5:36am On Oct 21, 2013 |
jetmaster: when i connect the usb cable of my topwin to the usb port on my window 7 64bit ... Test the topwin with window XP first,may be the driver is not compatible with window 7. Topwin universal progrsmmer I have used only worked wiith XP. |
Re: Microcontrollers by hopefullman: 3:28pm On Dec 06, 2013 |
Does microscale have dc generator?the dc generator should be able to produce 12v dc at low rpm.thanks |
Re: Microcontrollers by Nobody: 2:12pm On Sep 06, 2014 |
. |
Re: Microcontrollers by spikesC(m): 3:49pm On Sep 06, 2014 |
Ishsoph: . Are you into programming electronics? |
Re: Microcontrollers by princejude(m): 4:58pm On Apr 24, 2015 |
Latest Arrival 30% discount: ADXL335 ACCELEROMETER ARDUINO UNO mega328 pdip ARDUINO UNO mega328 smd HC-SR04 ULTRASONIC L298N MOTOR DRIVER MQ-2 GAS SENSOR LM3940 IT-3.3V Regulator BC547 BC557 PIC18F2550-PDIP DHT11 HC-SR501 PIR MOTION SENSOR RELAY MODULE U-BLOX GPS MODULE SIM900 GSM 1uF/50V 10uF/50V 100uF/50V 22pF Flame Sensor SOIL MOISTURE SENSOR HYGROMETER TK103 CAR TRACKER CP2102 USB TO TTL 502 5K Blue trimmer Adjust Resistor BUZZER BLACK ARDUINO JUMPER WIRE 6X1 CABLE with female header FOR PICKIT3 ENC28J60/SD CARD MODULE 8p dupont 2.54mm pitch cable with female 4p dupont 2.54mm pitch cable with female 2p dupont 2.54mm pitch cable with female 28 pin IC Socket 40 pin IC Socket 2.54MM RIBBON CABLE (5meters) http://www.jutronix.com/new-arrivals/ |
Re: Microcontrollers by princejude(m): 3:03pm On May 03, 2015 |
Coming Soon!!! 1. PCB drilling bits (1 set = 0.3mm, 0.4mm, 0.5mm, 0.6mm, 0.7mm, 0.8mm, 0.9mm, 1.0mm, 1.1mm, 1.2mm) 2. NRF24L01+ WIRELESS MODULE (Upgrade Version) 3. NRF24L01+ (Power Enhanced) 4. NRF24L01+PA+LNA wireless modules 1100meters (with Antenna) 5. MQ-7 Module 6. PIC18F4520 7. USBasp AVR and 8051 Programmer And more.... .... www.jutronix.com |
(1) (2) (3) ... (10) (11) (12) (13) (14) (Reply)
Game Development: Next Gen 3d PC Game Team / How To Make A Simple Calculator In Notepad Using .bat Format / First Thing First, Learn To Program!
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 68 |