₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,153 members, 8,420,589 topics. Date: Friday, 05 June 2026 at 05:44 AM

Toggle theme

Microcontrollers - Programming (11) - Nairaland

Nairaland ForumScience/TechnologyProgrammingMicrocontrollers (36839 Views)

1 2 3 ... 8 9 10 11 12 13 14 Reply (Go Down)

Re: Microcontrollers by Nobody: 1:00am On Aug 24, 2013
princejude: Use google and search for "proteus crack"

OR

You can open www.4shared.com.
Register with any username and password, then login with
the register username and password.
Search for "proteus"
Select the version you want, Click "download" then
Click "Free Download" and wait for 20seconds then
Click the file link.

Note,you can also search for "pcwh" in 4shared.com for
the CCS C compiler
u can also get some ccs c books on 4shared.com, I got a good one while toying with the site!
Re: Microcontrollers by loudlumi: 1:37am On Aug 25, 2013
Guys i need help on designing a system that can remotely monitor the status of lamps from a distance of say about 2 kilometers, the system should have the following attributes

1. be able to monitor the status of individual lamps (ON/OFF)

2. be able to tell which lamp(s) is/are On/Off distinctly.

3. be able to switch on/off the lamps.

4. consume minimal power.


i intend to carry this out as my project, help needed urgently.
thanks.
Re: Microcontrollers by Nobody: 8:52am On Aug 25, 2013
loudlumi: Guys i need help on designing a system that can remotely monitor the status of lamps from a distance of say about 2 kilometers, the system should have the following attributes

1. be able to monitor the status of individual lamps (ON/OFF)

2. be able to tell which lamp(s) is/are On/Off distinctly.

3. be able to switch on/off the lamps.

4. consume minimal power.


i intend to carry this out as my project, help needed urgently.
thanks.
well im not a guru here and i may not directly b able to help u! but in oda for people to help u as an originator of an idea, u must hav actualy being doing somethng, u must hav reached certain level in ur project. D pple dat will help u nid to kno d level u hav reachd, d material u are using and d specific problem u ar facing in ur project b4 they can help u. They can not start ur idea fo u, u nid to start b4 they will come in to help.
From d way u present ur problem here, d only people I thnk culd help is Microscale and of course with ur CASH! But to me dat will b obtaining certificate with money rather than with brain(as I beleive d project is ur school project)
Re: Microcontrollers by loudlumi: 9:28am On Aug 26, 2013
I intend working with Atmel RF MCU's , the ziggy bits seem to have a higher budget link but are more expensive, also I'm a newbie to the microcontroller world and as such need someone with experience to put me through. I don't intend having someone do the work for me. I just need someone who I can learn and get useful ideas and tips from.

I live in lagos. Kindly assist.
Re: Microcontrollers by princejude(m):
loudlumi: I intend working with Atmel RF MCU's
Why Atmel MCU? Does Atmel have RF MCU's?

loudlumi: the ziggy bits seem to have a higher budget link but are more expensive.
2KM Zigbee RF modules will be expensive because is not common. The common ones are less than 1KM. I will suggest you using GSM MODEM instead of RF for that range.

loudlumi: also I'm a newbie to the microcontroller world and as such need someone with experience to put me through. I don't intend having someone do the work for me. I just need someone who I can learn and get useful ideas and tips from. I live in lagos. Kindly assist.
Re: Microcontrollers by princejude(m): 4:11pm On Aug 26, 2013
Pls engr,do I have to download a software from Microsoft to get my
pickit3 working?...And,can I use MPLAB to load .hex file onto my
target pic which was generated from another I.D.E,MikroC for
instance?..Thanks
The software are included in the installation CD. Browse through the CD content, you will see the software named PICKIT3 setup. Install the pickit3 software. The software may require "dot Net Framework". If you have not installed .Net Framework on your PC, you can google and download the latest version from microsoft site. But if you have installed Visual Studio on your PC. the .Net frame work is already installed in your PC because it is part of the Visual Studio.

You can load your hex file from MPLAB(excluding PIC16F84 and other lower version of PICs). But before you can do that, you must have installed the PICKIT3 driver setup.
Re: Microcontrollers by hopefullman: 6:39pm On Aug 27, 2013
princejude: The software are included in the installation CD. Browse through the CD content, you will see the software named PICKIT3 setup. Install the pickit3 software. The software may require "dot Net Framework". If you have not installed .Net Framework on your PC, you can google and download the latest version from microsoft site. But if you have installed Visual Studio on your PC. the .Net frame work is already installed in your PC because it is part of the Visual Studio.

You can load your hex file from MPLAB(excluding PIC16F84 and other lower version of PICs). But before you can do that, you must have installed the PICKIT3 driver setup.
sir i tried to run the pickit3 software but it is nt runin it gives failed to initialise properly at adress(oxxx).i av plugd the pickit 3 to my pc.
Re: Microcontrollers by Nobody: 7:48pm On Aug 27, 2013
loudlumi: I intend working with Atmel RF MCU's , the ziggy bits seem to have a higher budget link but are more expensive, also I'm a newbie to the microcontroller world and as such need someone with experience to put me through. I don't intend having someone do the work for me. I just need someone who I can learn and get useful ideas and tips from.

I live in lagos. Kindly assist.
OK, let me help with idea here, in line with what Princejude suggested, why not check out the gsm remote control of lamps posted by Princejude earlier, but u can then make some modifications to improve the project. Here are some things I think u can add:
1). The thing is too insecure, anybody with a knowledge of the code can send sms from any mobile to operate the lamps. So, make it secure by rewriting the code to only respond to one number or a set of numbers only.
2). Add a keypad function to the whole thing so that with the input of a security pin, you can modify the phone numbers the gadget can respond to.
@princejude, I think I helped the guy grin
Re: Microcontrollers by Nobody: 7:49pm On Aug 27, 2013
.
Re: Microcontrollers by princejude(m): 10:44pm On Aug 27, 2013
hopefullman: sir i tried to run the pickit3 software but it is nt runin it gives failed to initialise properly at adress(oxxx).i av plugd the pickit 3 to my pc.
Have you installed dot Net framework in your PC ?
Do you have visual studio installed in your PC ?

If you don't have any of that software in your system the pickit3 setup will not install.

You can download dot Net Framework here : http://www.microsoft.com/en-us/download/confirmation.aspx?id=30653

Install it first then install the pickit3 setup
Re: Microcontrollers by princejude(m): 11:05pm On Aug 27, 2013
cogitoErgo: OK, let me help with idea here, in line with what Princejude suggested, why not check out the gsm remote control of lamps posted by Princejude earlier, but u can then make some modifications to improve the project. Here are some things I think u can add:
1). The thing is too insecure, anybody with a knowledge of the code can send sms from any mobile to operate the lamps. So, make it secure by rewriting the code to only respond to one number or a set of numbers only.
2). Add a keypad function to the whole thing so that with the input of a security pin, you can modify the phone numbers the gadget can respond to.
@princejude, I think I helped the guy grin
There are many ways to add security in the program:

1. You can make the project to respond to ONLY the owners number.
2. You can add PASSWORD as part of the text message.
Re: Microcontrollers by hopefullman: 11:40am On Aug 28, 2013
princejude: Have you installed dot Net framework in your PC ?
Do you have visual studio installed in your PC ?

If you don't have any of that software in your system the pickit3 setup will not install.

You can download dot Net Framework here : http://www.microsoft.com/en-us/download/confirmation.aspx?id=30653

Install it first then install the pickit3 setup
sir but you said the pickit3 setup is not executable since it is a portable setup.it's only 503kb.i dont have visualstudio on my pc. When I run the pickit3 setup it doesnt ask 4 .net framework unlike the pickit 2 which require .net2 framework
Re: Microcontrollers by princejude(m):
hopefullman: sir but you said the pickit3 setup is not executable since it is a portable setup.it's only 503kb.i dont have visualstudio on my pc. When I run the pickit3 setup it doesnt ask 4 .net framework unlike the pickit 2 which require .net2 framework
May be you are using a wrong file.

Download this one, extract and open the second folder named "PICKIT_3_SCRIPTING" Double-click the PICKIT3 Application setup inside the folder to use it.
http://search.4shared.com/postDownload/5wOvC4sp/pickit3.html

If this did not work on your PC, then download and install the dot net framework I posted earlier and try it again. It is working on my own PC here.
Re: Microcontrollers by princejude(m): 1:08pm On Aug 28, 2013
OR you can use this one

http://www.4shared.com/zip/XDfVLAaW/PICkit3_0203_Setup.html

I uploaded this one now from my PC.

There are two setup files:

The first one with dot Net Framework (You can install this if you don't have dot Net in your PC)
The second one is without dot Net Framework (This can only work if you have installed dot Net)
Re: Microcontrollers by Nobody: 2:31pm On Aug 28, 2013
@princejude, could you please tutor us on connecting 16x2 lcd to PIC (preferably PIC16f886) ?
Re: Microcontrollers by princejude(m): 2:54pm On Aug 28, 2013
cogitoErgo: @princejude, could you please tutor us on connecting 16x2 lcd to PIC (preferably PIC16f886) ?
I have done that before, Check Exercise 2 at page 1 of this thread.
Re: Microcontrollers by Nobody: 6:10pm On Aug 28, 2013
princejude: I have done that before, Check Exercise 2 at page 1 of this thread.
OOPs, sorry chief! I suld have checked huh
Re: Microcontrollers by Nobody: 2:11pm On Aug 30, 2013
@princejude, I saw d lcd exercise, but Im still confused a bit! How do I kno which pin on d lcd to connect to the pic pins(I mean, how do i identify the matching pins, e.g, RW, RS and E pins on lcd goes to which pin on pic also d data pins on the lcd goes to which pins on the pic)? I will be using 16x2 lcd and pic16f886 (d exercise used 887!).
I dont want to destroy either the pic or d lcd huh grin
Re: Microcontrollers by princejude(m): 7:20pm On Aug 30, 2013
cogitoErgo: @princejude, I saw d lcd exercise, but Im still confused a bit! How do I kno which pin on d lcd to connect to the pic pins(I mean, how do i identify the matching pins, e.g, RW, RS and E pins on lcd goes to which pin on pic also d data pins on the lcd goes to which pins on the pic)? I will be using 16x2 lcd and pic16f886 (d exercise used 887!).
I dont want to destroy either the pic or d lcd huh grin
This line 6 of the lcd code " #include <lcd.c> " includes the lcd driver to the program.
Open the lcd.c driver to check where the lcd pins are connected. The lcd.c is at C\Program Files\PICC\Drivers\LCD.C


// As defined in the following structure the pin connection is as follows:
// D0 enable
// D1 rs
// D2 rw
// D4 D4
// D5 D5
// D6 D6
// D7 D7
//
// LCD pins D0-D3 are not used and PIC D3 is not used.

// Un-comment the following define to use port B
// #define use_portb_lcd TRUE


Note with this driver,LCD can only be connected to either PORTD or PORTB as shown above.
At default it is at portd, If you want to use portb un-comment this line
// #define use_portb_lcd TRUE

If you want to use any port, then you will use a different lcd driver called "flex_lcd.c". With this, you can use any pin you like. It is more flexible to use, that's why it is called flex_lcd.c
Re: Microcontrollers by Nobody: 2:44am On Aug 31, 2013
princejude: This line 6 of the lcd code " #include <lcd.c> " includes the lcd driver to the program.
Open the lcd.c driver to check where the lcd pins are connected. The lcd.c is at C\Program Files\PICC\Drivers\LCD.C


// As defined in the following structure the pin connection is as follows:
// D0 enable
// D1 rs
// D2 rw
// D4 D4
// D5 D5
// D6 D6
// D7 D7
//
// LCD pins D0-D3 are not used and PIC D3 is not used.

// Un-comment the following define to use port B
// #define use_portb_lcd TRUE


Note with this driver,LCD can only be connected to either PORTD or PORTB as shown above.
At default it is at portd, If you want to use portb un-comment this line
// #define use_portb_lcd TRUE

If you want to use any port, then you will use a different lcd driver called "flex_lcd.c". With this, you can use any pin you like. It is more flexible to use, that's why it is called flex_lcd.c
Thank you Sir (with a bow and a smile grin). I also got info on flex_lcd.c here: www.ccsinfo.com/forum/viewtopic.php?t=24661
Re: Microcontrollers by princejude(m): 7:13am On Aug 31, 2013
cogitoErgo: Thank you Sir (with a bow and a smile grin). I also got info on flex_lcd.c here: www.ccsinfo.com/forum/viewtopic.php?t=24661
That ccs forum is a nice forum, you can see a lot of sample codes. Use there search engine to search for any code.
Re: Microcontrollers by Nobody: 3:51pm On Sep 01, 2013
@princejude, I saw dis inverter here www.nairaland.com/1389975/worlds-smallest-power-inverter
I dont know if mikroscale culd arrange for something like this to be obtained from them. I will really like to get one from mikroscale!
Re: Microcontrollers by princejude(m): 6:01am On Sep 02, 2013
cogitoErgo: @princejude, I saw dis inverter here www.nairaland.com/1389975/worlds-smallest-power-inverter
I dont know if mikroscale culd arrange for something like this to be obtained from them. I will really like to get one from mikroscale!
It 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.
Re: Microcontrollers by Nobody: 7:51am On Sep 02, 2013
princejude: It 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.
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!
Re: Microcontrollers by princejude(m): 10:39am On Sep 02, 2013
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.
Re: Microcontrollers by Nobody:
princejude: Ok which of the inverter do u want to buy? You can post the link here so that I can check the cost.
The 1000W = #25k and the charger = #10k!
Re: Microcontrollers by Afrobasic(m): 8:46pm On Sep 02, 2013
loudlumi: Guys i need help on designing a system that can remotely monitor the status of lamps from a distance of say about 2 kilometers, the system should have the following attributes

1. be able to monitor the status of individual lamps (ON/OFF)

2. be able to tell which lamp(s) is/are On/Off distinctly.

3. be able to switch on/off the lamps.

4. consume minimal power.


i intend to carry this out as my project, help needed urgently.
thanks.
ever heard of the arduino?... i'm not a guru on it but you can google it for more info... i'm pretty sure it has all the features you want, and you can get lots of coding online cause it's open source, as I've said google for more info.
Re: Microcontrollers by hopefullman: 2:52pm On Sep 03, 2013
princejude: OR you can use this one

http://www.4shared.com/zip/XDfVLAaW/PICkit3_0203_Setup.html

I uploaded this one now from my PC.

There are two setup files:

The first one with dot Net Framework (You can install this if you don't have dot Net in your PC)
The second one is without dot Net Framework (This can only work if you have installed dot Net)
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 website
Re: Microcontrollers by princejude(m): 3:11pm On Sep 03, 2013
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 website
Use the second one ( u called .net downloader)
After installing the .net framework from microsoft website, it will also install the pickit3 software
Re: Microcontrollers by hopefullman: 11:01pm On Sep 13, 2013
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 you
Re: Microcontrollers by princejude(m):
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 you
Then 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
Re: Microcontrollers by hopefullman: 9:19am On Sep 14, 2013
princejude: Then 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.
i have visual studio 2008 i bought in lagos but it's not installing completely.some files always fail to open or window blocks some files from runing.i cant find visual studio in akure.those software aren't that popular here. Cant i program the pic with mplab?
1 2 3 ... 8 9 10 11 12 13 14 Reply

Help Needed On My Project Work Using MicrocontrollersHow To Write Assembly Language For Microcontrollers234

Game Development: Next Gen 3d PC Game TeamEthical HackersProject Topics Tips For Computer Science Undergraduates