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
 
Thread Tools Display Modes
Old 25th May 2004, 05:31 PM   (permalink)
Default Intelligent Devices RF Control System with Feedback

Hi, I am currently doing my final semester project as titled above. :?: My problem is now on the feedback path of the tranmission. I need to think of a way to detect whether the device is in on or off state and then send it to the computer through the transmitter and receiver. How am I going to generate a set of digital data(eg.8bits) to be able to be encoded and sent through the transmitter? If let say I want to detect the voltage level of the device and use the information to generate a digital data, what should i do?Thanks
__________________
your helps will be much appreciated!
chinngap is offline  
Reply With Quote
Old 25th May 2004, 06:23 PM   (permalink)
Default Re: Intelligent Devices RF Control System with Feedback

Quote:
Originally Posted by chinngap
Hi, I am currently doing my final semester project as titled above. :?: My problem is now on the feedback path of the tranmission. I need to think of a way to detect whether the device is in on or off state and then send it to the computer through the transmitter and receiver. How am I going to generate a set of digital data(eg.8bits) to be able to be encoded and sent through the transmitter? If let say I want to detect the voltage level of the device and use the information to generate a digital data, what should i do?Thanks
If it's a voltage level you simply use an analogue to digital converter to give a digital value - if it's a binary (high or low) value you simply use it as one bit in a data word. The feedback path is no different to the original data transmission, treat it just the same.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Reply With Quote
Old 26th May 2004, 06:17 AM   (permalink)
Default Re: Intelligent Devices RF Control System with Feedback

Quote:
Originally Posted by Nigel Goodwin
Quote:
Originally Posted by chinngap
Hi, I am currently doing my final semester project as titled above. :?: My problem is now on the feedback path of the tranmission. I need to think of a way to detect whether the device is in on or off state and then send it to the computer through the transmitter and receiver. How am I going to generate a set of digital data(eg.8bits) to be able to be encoded and sent through the transmitter? If let say I want to detect the voltage level of the device and use the information to generate a digital data, what should i do?Thanks
If it's a voltage level you simply use an analogue to digital converter to give a digital value - if it's a binary (high or low) value you simply use it as one bit in a data word. The feedback path is no different to the original data transmission, treat it just the same.
Thanks Nigel.Why couldn'y I think of the analogue to digital conveter to do it?Thanks..anyway.
__________________
your helps will be much appreciated!
chinngap is offline  
Reply With Quote
Old 26th May 2004, 06:30 AM   (permalink)
Default Intelligent Devices RF Control System with Feedback

:?: If I have let say 3 devices and for the feedback path of the project, how does the transmitter and receiver can differentiate which feedback refers to which device?Is it better for me to use the 8-bit encoder in this case if I would to maximize the number of devices(for eg.8)? :wink: Thanks!
__________________
your helps will be much appreciated!
chinngap is offline  
Reply With Quote
Old 26th May 2004, 08:38 AM   (permalink)
Default Re: Intelligent Devices RF Control System with Feedback

Quote:
Originally Posted by chinngap
:?: If I have let say 3 devices and for the feedback path of the project, how does the transmitter and receiver can differentiate which feedback refers to which device?Is it better for me to use the 8-bit encoder in this case if I would to maximize the number of devices(for eg.8)? :wink: Thanks!
You simply 'invent' a suitable scheme - one simple way would be to send three bytes of data, as a kind of 'packet' - it's common to send extra data to reliably mark the start and end of the packet. But sending three bytes in quick succession, with a long gap till the next data, works fine as well.

In your case (for feedback) it wouldn't be a problem, the main transmitter sends it's data to the receiver, then waits for the reply - so it already knows exactly when it's expected. So the first byte could be device 1, the second device 2, and so on!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Reply With Quote
Old 28th May 2004, 02:47 AM   (permalink)
Default Intelligent Devices RF Control System with Feedback

:?: does anyone know what kind of flash memory and how it is applied without placing it in the computer. Is it we need to create a circuit by ourself? :arrow: This flash memory is to store the address of the devices as the address is changed up to the desire of the user. Thanks. :wink:
__________________
your helps will be much appreciated!
chinngap is offline  
Reply With Quote
Old 28th May 2004, 07:52 AM   (permalink)
Default Re: Intelligent Devices RF Control System with Feedback

Quote:
Originally Posted by chinngap
:?: does anyone know what kind of flash memory and how it is applied without placing it in the computer. Is it we need to create a circuit by ourself? :arrow: This flash memory is to store the address of the devices as the address is changed up to the desire of the user. Thanks. :wink:
It's not very clear what you are asking, but I presume you want to store a device ID in a unit, and be able to alter it from the unit itself?.

This is very easily done with most PIC's, most of them have some internal EEPROM data storage, this is ideal for storing a device ID.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Reply With Quote
Old 29th May 2004, 05:35 AM   (permalink)
Default Intelligent Devices RF Control System with Feedback

Thanks Nigel !So kind of U! If i choose not to use the PIC, and what i need is a bigger storage, then how does the flash memory can be applied in the project to store tthe address of the devices? This address may changed anytime up to the use's desire.... :wink: Thanks
__________________
your helps will be much appreciated!
chinngap is offline  
Reply With Quote
Old 29th May 2004, 08:19 AM   (permalink)
Default Re: Intelligent Devices RF Control System with Feedback

Quote:
Originally Posted by chinngap
Thanks Nigel !So kind of U! If i choose not to use the PIC, and what i need is a bigger storage, then how does the flash memory can be applied in the project to store tthe address of the devices? This address may changed anytime up to the use's desire.... :wink: Thanks
How much are you likely to need?, you could always interface an external FLASH memory, but it's considerably more work and expense. A simple PIC16F628 has 128 bytes off EEPROM data memory, I suspect that would be much more than enough for storing a device ID?.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Reply With Quote
Old 30th May 2004, 08:59 AM   (permalink)
Default Intelligent Devices RF Control System with Feedback

Thanks Nigel again . I know PIC can do the job...However, if I wanna to try out the flash memory, is it posibble and do u have any idea? Thanks u very very much! :wink:
__________________
your helps will be much appreciated!
chinngap is offline  
Reply With Quote
Old 30th May 2004, 09:27 AM   (permalink)
Default Re: Intelligent Devices RF Control System with Feedback

Quote:
Originally Posted by chinngap
Thanks Nigel again . I know PIC can do the job...However, if I wanna to try out the flash memory, is it posibble and do u have any idea? Thanks u very very much! :wink:
I don't quite understand what you are asking, do you mean flash memory without a processor?.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Reply With Quote
Old 30th May 2004, 09:46 AM   (permalink)
Default Intelligent Devices RF Control System with Feedback

Exactly..yes...how to work with the flash memory without the processor. In my case the flash memory is used to store the address (ID) of the devices. Thanks Nigel. Take your time.
__________________
your helps will be much appreciated!
chinngap is offline  
Reply With Quote
Old 30th May 2004, 02:16 PM   (permalink)
Default Re: Intelligent Devices RF Control System with Feedback

Quote:
Originally Posted by chinngap
Exactly..yes...how to work with the flash memory without the processor. In my case the flash memory is used to store the address (ID) of the devices. Thanks Nigel. Take your time.
Presumably it would be possible without a processor?, but I hate to think how many chips it would take. Don't you already have a processor at the receiver end?, if not how are you doing it?.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Reply With Quote
Old 31st May 2004, 06:17 AM   (permalink)
Default Intelligent Devices RF Control System with Feedback

What do you mean I have a processor at the back of the receiver? Is it posibble for the flash emory chip to function without a processor and we can store the data in and extract it out as well? My receiver will be connected to a device and from the device there, there will be another feedback transmitter which is to feedback the condition of the device. Thanks. Nigel.. :P
__________________
your helps will be much appreciated!
chinngap is offline  
Reply With Quote
Old 31st May 2004, 06:39 AM   (permalink)
Default Re: Intelligent Devices RF Control System with Feedback

Quote:
Originally Posted by chinngap
What do you mean I have a processor at the back of the receiver? Is it posibble for the flash emory chip to function without a processor and we can store the data in and extract it out as well? My receiver will be connected to a device and from the device there, there will be another feedback transmitter which is to feedback the condition of the device. Thanks. Nigel.. :P
What do you actually have at the remote end?.

Usually, these days, it will be a PIC or similar micro-controller, from what you appear to want to do I would have thought that was essential!. A simple (and cheap) PIC16F628 will probably do everything you want at the remote end, and provide the non-volatile storage for device ID.

As I mentioned before, you 'may' be able to build hardware to access a FLASH memory, but it certainly won't be anywhere near a 'one chip' solution. It's certainly not something I would bother attempting.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes




All times are GMT. The time now is 06:11 AM.


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