Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 3rd June 2004, 07:55 AM   (permalink)
Default Intelligent Devices RF Control System with Feedback

Yes, I am thinking that actually inside a cpu. there is certain circuit used to extract and store the data from and to the flash memory. And now for my project, I am thinking that maybe i can have the circuit as in the cpu (without a processor) to control the data flowing of flash memory. Do you think this is posibble? And, certainly i know there will not be only one chip. U may view this web :arrow: http://www.pjrc.com/tech/8051/board4/schematic.html
is it related?
__________________
your helps will be much appreciated!
chinngap is offline  
Old 3rd June 2004, 06:31 PM   (permalink)
Default Re: Intelligent Devices RF Control System with Feedback

Quote:
Originally Posted by chinngap
Yes, I am thinking that actually inside a cpu. there is certain circuit used to extract and store the data from and to the flash memory. And now for my project, I am thinking that maybe i can have the circuit as in the cpu (without a processor) to control the data flowing of flash memory. Do you think this is posibble? And, certainly i know there will not be only one chip. U may view this web :arrow: http://www.pjrc.com/tech/8051/board4/schematic.html
is it related?
That uses a FLASH ROM, is that what you are wanting to use?. If so, you need to arrange address counters, and some way of controlling them to do what you want.

I presumed you meant the FLASH memory cards, which have many less connections.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 8th June 2004, 08:44 AM   (permalink)
Default Intelligent Devices RF Control System with Feedback

HI, Nigel, I have a question here, I wish to know what is inside a flash memory when I first bought it? :arrow: What I mean is izzit inside the flash already got data? Thanks Nigel.
__________________
your helps will be much appreciated!
chinngap is offline  
Old 8th June 2004, 08:48 AM   (permalink)
Default Re: Intelligent Devices RF Control System with Feedback

Quote:
Originally Posted by chinngap
HI, Nigel, I have a question here, I wish to know what is inside a flash memory when I first bought it? :arrow: What I mean is izzit inside the flash already got data? Thanks Nigel.
I can't say I've ever used one, but I would presume it's blank, with all bits '1'. If it's a FLASH memory card, it could well be ready formatted for use with a computer or camera.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 8th June 2004, 05:30 PM   (permalink)
Default

What did you come up with? Pic or no Pic?
From what I read so far and the link above, a Pic micro would make it a lot easer.
I cant see why anyone would build such a large circuit, that can basicly do what a pic can do, and easer.

What type of Flash do you want to interface to?
How large are you talking?
What kind of data will be stored?
What is the final project going to do?

I2C interface works great.

Kent
kentken is offline  
Old 9th June 2004, 07:02 PM   (permalink)
Default Intelligent Devices RF Control System with Feedback

If let say now I will go on with the PIC..I wanna know the PIC can be used to store data?And when I need to retrieve it, what changes I need to do.
Another question just for knowledge.,we know that in the flash, we need the timing to do all the process and the timing is created using CPU or microprocessor...Is it we have other way to create the timing if we are not using the flash memory together with the CPU and microprocessor?
__________________
your helps will be much appreciated!
chinngap is offline  
Old 9th June 2004, 08:30 PM   (permalink)
Default

Yes, most have built in EEPROM memory, and also the built in flash (program memory) can be read and writen to.

How much data do you need to hold?
What type of data do you need to hold?

Most external memory have there own timming specifications, and the Pic has lots of different built in interfaces, others can be implemented by how the program is writen.(simple turning pins on or off a the right time)

Kent
kentken is offline  
Old 14th June 2004, 05:30 AM   (permalink)
Default Intelligent Devices RF Control System with Feedback

Actually if the PIC is applicable, I plan to use it as the storage for the address (ID) of the device. Just Imagine I have 8 devices and every device will have different address. I need to awake this address through RF signal to turn on this devices. :cry: SOmemore, it will be the best if I can change the address of the device from time to time. What I mean is let say the address for the FAN is 100 at this time, on the next time, if I need to change the address to 101, is it posibble to use the PIC by overwritten the data? Beside, I also need to extract the data(ID of device) out from the PIC as the feedback of my project. This feedback is to let the user know about the current condition of the device.

Do u have any suggestion and tutorial about the storage managing of PIC with the model PIC16F84? :?:
__________________
your helps will be much appreciated!
chinngap is offline  
Old 14th June 2004, 07:13 AM   (permalink)
Default Re: Intelligent Devices RF Control System with Feedback

Quote:
Originally Posted by chinngap
Actually if the PIC is applicable, I plan to use it as the storage for the address (ID) of the device. Just Imagine I have 8 devices and every device will have different address. I need to awake this address through RF signal to turn on this devices. :cry: SOmemore, it will be the best if I can change the address of the device from time to time. What I mean is let say the address for the FAN is 100 at this time, on the next time, if I need to change the address to 101, is it posibble to use the PIC by overwritten the data? Beside, I also need to extract the data(ID of device) out from the PIC as the feedback of my project. This feedback is to let the user know about the current condition of the device.

Do u have any suggestion and tutorial about the storage managing of PIC with the model PIC16F84? :?:
It's all easily done with a PIC, check my RS232 PIC tutorials, one of those stores the state of the output pins in the EEPROM, and restores it to how it was if the power is turned off.

You can either change the data in your source code, and reprogram the PIC, or change it under program control - if it's stored in the DATA EEPROM.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 20th June 2004, 09:45 AM   (permalink)
Default Intelligent Devices RF Control System with Feedback

HI.... ops: is me again.. OK..Now I am using the :arrow: PIC16F84 for my storage of my project. So, now, my idea is to store the ID Address of the devices. Each address will only take up 3 bits. So, I am thinking of using the PORT A of the PIC as the output to the comparator to compare with the address sent out from the decoder. If the address matchm then it will trigger the device on. If it is not, the device will not turn on. If the user tends to modify the address of the device, a command bit will send out so that the previous address of the device will be overwritten with the new one.

:idea: Then I am thinking that to use PORT B as the input. This input is for the user to input the address they wish to turn on a particular device.
Then I was thinking that can I move the device ID address(3 bit RB0,RB1,RB2) in the PORT B which is the new ID, to the PORT A(RA0,RA1,RA2) so that the next time...when i need to switch on the device, PORT A will output the address to the comparator.

The moving of data from PORT B to PORT A is programmed at the beginning?And is it mean that the PIC itself will automatic move the data from PORT B to PORT A whenever PORT B had received the data?

:?: Is it posibble to have such an idea. And, also, can u give me the example code for that function?
__________________
your helps will be much appreciated!
chinngap is offline  
Old 20th June 2004, 10:38 AM   (permalink)
Default Re: Intelligent Devices RF Control System with Feedback

Quote:
Originally Posted by chinngap
HI.... ops: is me again.. OK..Now I am using the :arrow: PIC16F84 for my storage of my project. So, now, my idea is to store the ID Address of the devices. Each address will only take up 3 bits. So, I am thinking of using the PORT A of the PIC as the output to the comparator to compare with the address sent out from the decoder. If the address matchm then it will trigger the device on. If it is not, the device will not turn on. If the user tends to modify the address of the device, a command bit will send out so that the previous address of the device will be overwritten with the new one.
I don't quite see what you are trying to do, the mention of a comparator seems extremely bizzare!.

You simply do all this internally in the PIC, far easier!. As I mentioned above, check my IR PIC tutorials where I show how to receive Sony SIRC's remote control signals - in those I compare the incoming data to various possibilities to select different options.

Quote:
:idea: Then I am thinking that to use PORT B as the input. This input is for the user to input the address they wish to turn on a particular device.
Then I was thinking that can I move the device ID address(3 bit RB0,RB1,RB2) in the PORT B which is the new ID, to the PORT A(RA0,RA1,RA2) so that the next time...when i need to switch on the device, PORT A will output the address to the comparator.

The moving of data from PORT B to PORT A is programmed at the beginning?And is it mean that the PIC itself will automatic move the data from PORT B to PORT A whenever PORT B had received the data?

:?: Is it posibble to have such an idea. And, also, can u give me the example code for that function?
You need to rethink your entire scheme, everything can be (and should be) done inside the PIC.

Try posting a ciruit of what you are trying to do, it may help make things clearer!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 22nd June 2004, 02:43 AM   (permalink)
Default Intelligent Devices RF Control System with Feedback

ops: I am sorry that I made u blur of my project. I had go through the important things of the datasheet in the PIC, However, here I have some questions. :? :? :?

1. Is that our set of program is stored in the EEPROM?
2. Is it mean that if I want to chnage the address of the device, I am chnaging the data in the RAM side and send it to the EEPROM?
3. I wonder to know that because my data is keep on changing (not the program of course) so evertime I need to retrieve the data..and also, I need to store the data as well...is it posibble?
4. I cant find the Sony things that u mean...sorry.. ops:

Thanks for helping...I will try to have a circuit and post it to you as soon as posibble...But meanwhile, can u teach me how to program the PIC so that I be able to store something in EEPROM and change the important data when I need.(the data will come from the PORT B which I will use it as my input.)

Once again thansk...

by a fainted person... :?:
__________________
your helps will be much appreciated!
chinngap is offline  
Old 22nd June 2004, 09:12 AM   (permalink)
Default

The IR tutorial is number 5, have a look at it here http://www.winpicprog.co.uk/pic_tutorial5.htm, it includes routines to read and write to the data EEPROM.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 29th June 2004, 07:27 AM   (permalink)
Default Intelligent Devices RF Control System with Feedback

As we know, the flash needs a lot of timing to execute the operation of it, my question is "Is it possible to use the PIC to generate the timing and the sequence of the operation inside the FLASH MEMORY?" Thank U... My idea is using the delay which correspond to the actual timing needed for the flash memory.

Thanks
__________________
your helps will be much appreciated!
chinngap is offline  
Old 29th June 2004, 09:38 AM   (permalink)
Default Re: Intelligent Devices RF Control System with Feedback

Quote:
Originally Posted by chinngap
As we know, the flash needs a lot of timing to execute the operation of it, my question is "Is it possible to use the PIC to generate the timing and the sequence of the operation inside the FLASH MEMORY?" Thank U... My idea is using the delay which correspond to the actual timing needed for the flash memory.

Thanks
What FLASH memory are you talking about?. If you are refering to the internal PIC memory, it's EEPROM not FLASH - a 16F84 can't write to it's own program memory (only the data EEPROM), but some of the larger PIC's (like the 16F877) can write to program memory - which allows the use of bootloaders.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 03:29 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker