Princejude's Posts
Nairaland Forum › Princejude's Profile › Princejude's Posts
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 (of 20 pages)
Since you know java, I think C# will be the best option for u to start with. C# is more OOP than C++. And is also similar to java. |
Na wa ooo... I nearly give this thief my N30k this morning. If not nairaland... See Laptop spec and price: HP ENVY DV6 INTEL i7-3RD GENENERATIONI receive an sms to my phone this morning: " Hurry..u have between now and 4pm to get our gagets at an awoof price, Laptop for 8k, Ipa for 16k plus lots more. visit www./naija53 or http://biz4naija.com/just-arrived-stock-available-for-grabs/ Call 07011198227"Thanks to nairaland. |
hopefullman: 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 runingI 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. |
The circuit's PDF is here: http://www.4shared.com/office/xePzVxmb/Matrix.html |
The Circuit:
|
Scrolling Message Code:
...run to church will upload the circuit later |
(~) was used to invert the LEDs connection because the hardware connection was not the same as the font generator |
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 |
The code bellow will display a still letter A:
|
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).
|
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: https://i40.tinypic.com/2pqtdn6.png 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. |
Tchalz: Thanks PrinceJude f0r everything..D0es y0ur c0mpany n0w have Pic16f628A?We don't have 16f628A but we have 16f84A, 16F873A, 16F876A |
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. |
The Chairman, Managing Director and the CEO, Peace Group, owner of the Popular Transport Firm, Peace Mass Transit, Mr Samuel Maduka Onyishi, in this interview with ANTHONY ADA ABRAHAM, discusses why he wants to continue to sustain the empowerment programmes and an all-round industrial revolution in Enugu State, this time, as a politician. Some major entrepreneurs would rather focus on their business, but you are gearing up for entry into politics; what is the lure? Mr Samuel Maduka Onyishi (Peace Mass Transit) I do not think I want to be called a politician. Politics, for me, is a calling. I am into politics, because I want to be part of the decision-making process in the country. I know what Nigerians need, from my experience. I also know how the poor feel and I am in a privileged position to address the numerous challenges faced by the poor, the middle-class and the highly-placed in society. If you consider my antecedents, you will understand that I started life as a poor man. I can never forget where I am coming from. I also have experience as a middle-class and as a highly-placed. When businessmen shy away from politics, you can attribute that to lack of the sacrificial spirit and will power to solve the many demands of society. I have come to realise that God empowered wme to do same for others, and not to indulge in frivolous spending or the so-called ‘bigmanism’. Another reason is that I also want to leave a legacy, one which I will be remembered for. When I was growing in business, I made a pact with God, telling Him that I will use the resources he availed me to bless him in return. What better way to do this than to render service to humanity? Money is no legacy; if you leave that as a legacy for your children, they end up fighting over it and breeding hatred among themselves. But legacies are beyond money; they are more tangible and valuable. You have been a member of the PDP since 1998; with the latest drama in the party, which of the factions are you loyal – the purported ‘New PDP’ as led by Baraje or the ‘mainstream PDP’ chaired by Tukur? We don’t have factions in the Enugu State chapter of the party. We have only one PDP and it starts from the ward. In my ward, council, local government and state, we have only one PDP, and we don’t know any other PDP except the one whose chairman is Bamanga Tukur. What is your take on the formation of the Baraje-led PDP? You should be aware that the Independent National Election Commission (INEC) cannot register two PDPs. That said, I see what is happening now as a family problem that must be resolved. In that regard, President Jonathan is the leader of the party, the one playing a leading role by calling the family into the house to resolve contending issues. It is a family matter and, as such, must be tackled in-house. I am confident that the president is equal to the task. There are reports that you are eyeing the number one seat in your state, Enugu, in 2015; can you confirm that? Our governor, Sullivan Chime, has actually zoned the next governorship slot to Enugu North Senatorial Zone, which is Nsukka where I come from. The PDP in the state has also zoned it to Enugu North. Because they saw me grow from grass to grace and as a person they can trust, it is normal for them to beckon on me to represent them. I am not telling you whether I will run or not; what I am telling you that I am qualified to run. However, if my people say I should run, I cannot say no, because I have been an instrument of service to the people. That said, my decision is hinged on God’s approval. How do you intend to do that in order to surpass the aforementioned strides of the former and current governors of the state? Given the availability of funds, the potential to make more money for Enugu State and as an entrepreneur of repute, I believe that the God who has taught me how to create wealth and manage resources will not abandon me even as governor, hence, my strong belief that with the third eye of an entrepreneur, I will only do what I know how to do best. Enugu, at this time, needs a person who can sustain and improve ongoing development initiatives, and prepare it for the economic challenges ahead. With what is happening in the oil and gas sector, it is clear that so many countries are discovering oil at their backyards and, sooner than later, you will know that most of the countries who import oil from Nigeria have started discovering oil in their respective countries. A clear example is the United States of America (USA). When they tap into their new-found oil wells, they may not see the need to buy from us again. Now, since oil is our major source of revenue, this means that we would have lost our major source of income. When this happens, the monthly allocation from the federal government will be reduced. States must strive to survive. The implication is that any state which cannot survive on its own through internally generated revenue to sustain development and service delivery is only sitting on a time bomb, and may not survive. The earlier we start planning for a Nigeria without oil, and an Enugu State without oil, the better for us. The future of the state, in terms of development, income generation and all other economic indicators depends on who the leaders are and their qualities – creativity, economic savvy and goodwill. I have done it before and, today, I have over 4,000 Nigerians on my payroll. I can do it again. If I am a governor, the state will be more sustained under me. I will provide adequate security measures and build the capacity of my people through education, provision of good health facilities, agriculture, tackle unemployment among the people, especially the youths, provide sustainable job opportunities through agriculture and others. Political pundits at different fora are of the opinion that President Jonathan is the most distracted and criticised leader in the world; if what they say is true, has it in any way affected his transformation agenda over the past two years? The opposition political parties are yet to see anything good that this government has achieved. For me as a businessman, and as a believer in the transformation policies of Mr. President, the core aspect of every activity or programme is organisation. When turning around businesses to achieve transformation, many things ought to be put into consideration. Nigeria, because of our diverse culture and religion, needs some special skills to run. Jonathan has performed exceedingly well; his result in terms of achievement over the past two years is excellent. As a stakeholder in road transport business for now, I look at Nigeria from the road transport perspective; I knew how the roads were prior the assumption of office of the present administration. I am aware how the road from Enugu to Port Harcourt highway was; I know how the Enugu-Abakiliki road was. Apart from what the state governments are doing, the federal government is working assiduously on the major highways, building dual roads, massive construction of bridges and flyovers; you cannot start and finish constructing a 100-kilometre road in one month, therefore, he needs time for the result to manifest. more info: http://www.nsukkadeje.com/ill-sustain-enugu-beyond-oil-maduka/
|
Tchalz: Please sir,0ne m0re thing...I'v downloaded and installed every software you posted other than the proteus 7.67sp4.I am having serious headache applying the patch.Could you please help? Thanks in advanceMaybe the file is corrupt. Try this one: http://www.4shared.com/rar/v-cQSwRL/ProteusProfessional77SP2.htm OR Search for "Proteus" inside the 4shared.com How to Patch Proteus 7.7 SP2 shown above After downloading the proteus7.7 disable your antivirus, unzip the zipped file. Then unzip the second file named "Proteus.Professional.7.7.SP2" to open the license files. Install Proteus "pro-setup77",When it ask of the license file: browse to the "LXK Proteus 7.7 SP2" folder, then select "Users of the former USSR_LICENCE". After installation, open the "LXK Proteus 7.7 SP2" folder, double-click "LXK Proteus 7.7 SP2 ENG v1.0.0" Click "Browse..." to select the proteus installation folder C:\Program Files(x86)\Labcenter Electronics\Proteus7.7 Then Click "Update". Enjoy and don't forget to enable your antivirus after installation |
sir rinky: I have been downloading some projects...What type of project ? sir rinky: ...for a job am working onWhich job are you working on ? sir rinky: ...i have softwares as source and i do not know how to compile them.Which software, compiler or language ? |
hoodboi: if u are in lag i can arrange a pickupI am in Kaduna |
hoodboi: How can I get it?I stay in kwara state.You add N2k as shipment, then we send it to u |
hoodboi: Pls can I get the links too. I'm a regular software /web developer and I have been extremely busy so haven't been able to monitor this thread. Also I would like to know how much your cheapest programmer costs at micro scale?Search for pcwh in 4shared.com. PICKIT2 is N5500 |
Tchalz: Please sir,0ne m0re thing...I'v downloaded and installed every software you posted other than the proteus 7.67sp4.I am having serious headache applying the patch.Could you please help? Thanks in advanceWhich link did u download proteus7.67. Post the link. |
Tchalz: Please sir,0ne m0re thing...I'v downloaded and installed every software you posted other than the proteus 7.67sp4.I am having serious headache applying the patch.Could you please help? Thanks in advanceAfter extracting the file, check the "Readme". .txt document , It contains the instructoon on how to patch the software |
hopefullman: yes i have but it's not working.data execution prevention is preventing it from installing completely.i've disabled it but it's the same.what is "data execution prevention" is preventing it? what antivirus are u using ? Don't u think dat its ur antivirus dat is preventing the installation.? Disable ur antivirus and firewall then. install the pickit3 software again. |
Tchalz: Good afternoon gurus..I have a little problem with my LED display(7-segment).It is a dual-digit type and has got 10pins.I am finding it difficult to understand the pin configuration since there is no part number written on it.As it is I can't tell if it is common k or common a.I'l be grateful if anyone here could help me sort this out.Download this datasheet and use the pinout at page 3 www.marthel.pl/pdf.php?goto=katalog/Betlux/BL-D36A-22.pdf If you have a good digital meter that can be able to light an LED, do the following: Set the meter to diode measuring scale or beeper scale for continuity testing. Put the positive(RED) wire of your meter on the first pin of the upper row and the negative(black) wire of the meter on any of the other pins,the corresponding segment will be ON. If the segments are ON, it is a Common Anode because the common pin is positive(RED wire). If the segments didn't light, swap the meter probe. If the segments light when the black wire was at pin 1 then it is Common Cathode. Pin 1(first pin at upper row) is the Common pin for the first digit while pin 6(last pin of down row) is the common pin for the second digit. |
NIGERIA NATIONAL FLAG DAY |
hopefullman: yes i have but it's not working.data execution prevention is preventing it from installing completely.i've disabled it but it's the same.Download and try this :http://ww1.microchip.com/downloads/en/DeviceDoc/PICkit3%200.2.0.3%20Setup.zip |
hopefullman: sir i'm stil waitin 4ur response on how to program my pic with mplab.thanksCheck my post b4 your post where u said u bought visual studio 2008 from Lagos |
Always save flex_lcd.c in your project folder. If u edit the lcd connection, save it. Whether u save it b4 or after u compile it will work. |
Good Boi: I am currently learning C++ and am interested in microcontrollers and embedded system, I want to know if C++ is sufficient for microcontroller programming, as in without cHello Good Boi, C++ can be used to program 32-bits microcontroller (called ARM). There are different types of ARM such as ARM Cortex M0, ARM Cortex M3, ARM Cortex M4, ARM7,ARM9. ARMs are powerful chips which are commonly used to design most of these our smart phones (Androids and Ipads). I bought one of the ARM kit recently. When I was testing the kit I discovered that you can use C++ with it.
I saw the above code in one of its header file. I think the reason why you can use C++ is because the chips have an Operating System called uCOS ( MiCrocontroller Operating System). Though I am using KEIL to test it. |
hopefullman: Sir.i cant download the .net 2 framework for now cos it's quite large {22mb}. i dnt hav aces to fast internet sped.i av decided to program my pic with mplab.how wil i program the pic with mplab?i just built my target board 2day .thank youThen look for Visual Studio 2010 or 2008. The file is up to 4G, buy the CD or ask some of your friend around. If you can get it, it has .net Framework. To program from MPLAB, you may still need to install the pic kit 3 driver. Try this to check if it will work without the dxriver. If you have a hex file to program and test, Open your MPLAB, Click on "File" then Click "Import..." Select the hex file then click "Open" to load the hex. Connect your PICKIT3 Programmer to your PC through USB Connect the PICKIT3 to your target board thru the five pin ICSP pins (MCLR,VDD,GND,RB7,RB6). Power the target board, Go to MPLAB, Click: Programmer >> Select Programmer >> PICkit3. If all is well, it will display PICkit3 Connected Then Click "Programmer >> Program OR use the program icon to program the chip |
hopefullman: i av downloaded the file.it has only one setup which require .net2 framework to install.the other setup is the downloader to download the.net 2 framework from microsoft websiteUse the second one ( u called .net downloader) After installing the .net framework from microsoft website, it will also install the pickit3 software |
cogitoErgo: Thanks a lot, d reason I suggested mikroscale is simply d issue of trust! I can say I kno mikroscale now and I have actually verified them, but those people, I do not kno nor have a way to verify them for now, if I deal with them then I will have to throw my money at them and simply go down on my knees praying my money should not go into thin air!Ok which of the inverter do u want to buy? You can post the link here so that I can check the cost. |
cogitoErgo: @princejude, I saw dis inverter here www.nairaland.com/1389975/worlds-smallest-power-inverterIt is possible to get them for you. But why not try the advertiser in that thread may be he have them now. Those inverters are the high frequency type, they use high frequency transformers (with ferrite core)in them. The oscillator that drive the MOSFET/IGBT bridge runs at around 50kHz. In the circuit you will see a lot of high frequency components such as diodes and transistors which are difficult to get in Nigeria market. The major advantage of those inverter is that they are portable(small size)while their major disadvantage is that they are difficult to repair due to lack of some high frequency components. |