Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
Thread Tools Display Modes
Old 19th May 2007, 01:27 PM   (permalink)
Default

Quote:
Originally Posted by oeginc
After looking around, I think I might go with the Scenix (now Parallax) SX28AC chip for this project.

Parallax sells them for $2.79/each (or down to $1.89 in quantity), they have 20 I/O pins, 2K program space, 136 bytes of RAM, require very little extra hardware to run, and can run at 75MIPS.

Compare that to a 16F84a that sells for ~$6.00/each, has 13 I/O pins, 1.75K program space, 68 bytes of RAM, and can only run 20MIPS...

am I crazy here? What am I missing...
Well for a start you've chosen a PIC antique to compare it with, that was obselete last century! - it was replaced by the cheaper, higher spec, 16F628 in the 1990's. However, people (rather stupidly) keep using it, so MicroChip appear to have reintroduced it at an inflated price - which can only be good for their profits.

The Scenix chips are pretty obscure, and have never managed any sort of market penetration, but may well be perfectly fine for your purposes?. However, do the Parallax chips include hardware I2C interfaces, which are really essential for I2C slave operation (the 16F84A doesn't either, but there are plenty of more modern PIC's that do).

I would suggest you don't get 'hung up' on MIPS, from the looks of your requirements high MIPS are of no use to you - and I would suggest all you need is small modern PIC's with internal 4 or 8MHz oscillators, and I2C hardware.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline   Reply With Quote
Old 19th May 2007, 04:14 PM   (permalink)
Default

the 84 is an ancient chip, hence the high price

check out the 16F884 ... 4k, 35 IO pins, hardware I2C (or spi) port, flexible onboard clock generator (32khz-8mhz), roughly $2.50

mips aren't everything. 20 mips is hardly "slow" - speed comes from efficient programming, relying on instructions per second is just a crutch for sloppy code.
__________________
If you don't have a planet, what good are gold bars?

want to contact me directly? gmail gordonthree
check out my project website: http://projects.dimension-x.net
Favorite numbers:
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
justDIY is offline   Reply With Quote
Old 20th May 2007, 03:56 AM   (permalink)
Default

The chip runs at 75MIPS. Not the basic that's run on it.... Even 1MIPS is incredibly powerful if you have hardware level access.
__________________
"Because I be what I be. I would tell you what you want to know if I
could, mum, but I be a cat, and no cat anywhere ever gave anyone a
straight answer, har har."

Last edited by Sceadwian; 20th May 2007 at 04:02 AM.
Sceadwian is offline   Reply With Quote
Old 21st May 2007, 06:20 PM   (permalink)
Default

Quote:
Originally Posted by Sceadwian
The chip runs at 75MIPS. Not the basic that's run on it.... Even 1MIPS is incredibly powerful if you have hardware level access.
Who codes in Basic? Assembly language all the way baby!

Quote:
Originally Posted by justDIY
the 84 is an ancient chip, hence the high price

check out the 16F884 ... 4k, 35 IO pins, hardware I2C (or spi) port, flexible onboard clock generator (32khz-8mhz), roughly $2.50

mips aren't everything. 20 mips is hardly "slow" - speed comes from efficient programming, relying on instructions per second is just a crutch for sloppy code.
This is very good to know, the 16F884 sounds like it's right up my alley, I'll take another look at the Microchips and see what I can find. There are just SOOOOoo many choices it's mind boggling sometimes. I want to Keep It Super Simple.

Also, forgive me for being ignorant, but why does the i2c interface need to be hardware driven for slave applications? Scenix provides software i2c source code for "authentic i2c master/slave interface" HERE

Last edited by oeginc; 21st May 2007 at 10:35 PM.
oeginc is offline   Reply With Quote
Old 29th March 2008, 12:15 AM   (permalink)
Default PIC16F88 I2C hardware master code

"you can do reasonably well emulating i2c timing with a software uart, but why bother when Microchip has a Philips certified I2C Master/slave interface built right into the chip."

I have a PIC16F88 and some folks are telling me that the only way to use it as an I2C master (controlling a 24LC512) is to write code that controls the pins individually (called bit banging I believe). I have such code already but it ties up the microprocessor. I need to know if it is possible to use the internal hardware to impliment an I2C master, in particular how the pic88 hardware sees the ack signal from the slave.

I am writing my code in assembly language because that is all that I know (for working with the pics).
I already wrote code (with much assistance) that uses the usart hardware to talk to the serial port. That part of the project is finished.
WVProfessor is offline   Reply With Quote
Old 29th March 2008, 12:52 AM   (permalink)
Default

small point from a pedant; 16f84 runs up to 20MHz, that's 5mips on a pic.
for your simple applications, the faster the processor the more times it will perform delay loops.
monkeybiter is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
Wireless I2C adamthole Electronic Projects Design/Ideas/Reviews 5 24th April 2007 01:13 PM
WRT54G Power Supply Chip ParkingLotLust Datasheet/Parts Requests 32 5th January 2007 09:26 PM
Chip Identity edcross1 General Electronics Chat 5 21st July 2005 07:51 PM
little help with my program please - simple count loop kud0s Micro Controllers 5 7th July 2005 09:40 PM
simple help.. Making a simple amplifier. pls help urgent. paulbostaph General Electronics Chat 19 20th May 2003 04:32 PM



All times are GMT. The time now is 02:52 AM.


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