16F628A microchip question

Ok. 1st of alI I am brand new to electronics and do not know much at all but I am interested in learning. I want to build a 2 segment counter and found a circuit but it uses the microchip in the question. I was wondering if these chips come pre-programmed to count or does it have to be programmed? Thank you.

Question by ricker24   |  last reply


how to erase the data on a microchip

I want to see if any one can tall me how  to erase the data on a microchip I cant find it on YouTube

Question by ttravler   |  last reply


which chemical to deactivate microchips? Answered

Hi, I'm making a cryptex, such a thing like in the Da Vinci Code, and I'm going to make an Instructable of it later. But I'm going to hold USB-sticks in it instead of a piece of paper. That's a little more modern nowadays people lose a lot of usb sticks with secret important information so I'll use a cryptex for it. The crpytex like it was invented by Da Vinci contained a paper, which was rolled around a tube with vinegar in it. If someone decided to just smash the cryptex, the tube breaks and the vinegar would destroy the ink on the paper, making it unreadable. I don't think that works good in real but I don't think it will deactivate a usb stick either. So I want something else in the tube that DOES eat the chip. So I'll remove the outside wrapping of the USB-stick. What fluid can I use?

Question by merijnvw   |  last reply


how do you program a microchip?

I need help for programing a microchip. I have microchips but i don't know how to program them!!!!:(PLEASE HELP!!!!!!!!!!!!!!!!

Question by abran5   |  last reply


What does this chip actually do? Answered

Its labeled MACH210-15JC-18JI I've looked over the data sheet, and it says: 44 Pins 64 Macrocells Peripheral Component Interconnect (PCI) compliant 32 Outputs 64 Flip-flops; 2 clock choices 4 “PAL22V16” blocks with buried macrocells So, it holds data bits with flip flops? In the specs it says D or T type flip flop. Its programmable, but what does it mean by that, how would you "program it" it has 44 pins, and some I/O. What do you think the applications of it are? I have the pinout, but that doesn't really do any good if I can't figure out how to "program it"... It can run at 133MHz tops, but if this was memory there would need to be a section that says when to read/write on rising or falling edge of said clock. It doesn't say that. EDIT: So.. what does High-Density EE CMOS Programmable Logic mean? Sorry for the questions lately, just trying to figure stuff out

Question by Mudbud   |  last reply


How Do these work? What is the difference between microcontroller and microchip ( are they the same thing? ) Answered

Well I have been opening things like VHS, DVD players Computers and a lot of other things ( since my family is not the richest around we usually buy stuff second hand ) But even if we did get new stuff I would probably be the same. I am a curious kid by nature ( it must be a hundred times i heard the line curiosity killed the cat from teachers to even my family and friends ) Ok so to the question What are these microchips/controllers What ever they are. Like how could I use one if I would be able to get them out of the circuit? I heard they get programed to do something. How do i program one? Why do the circuit always so complicated?

Question by bug on fire   |  last reply


CPU/555/mini chip circuit and coding help? Answered

CPU/555/mini chip circuit and coding help? You can probably tell I don't really know what i am looking for, I have a micro-switch and a 12v dc pneumatic solenoid (for air pipe valve) I need a cpu device to say, every time power is received, no matter how long short or even if I don't release the switch at all, wait a fraction of a second or so then release 12v dc for x amount of time (to the solenoid). What parts do i need for this and how will I program it? Thanks in advance, -Digital

Question by Digital Flame   |  last reply


How do you manually erase data from a microchip?

What will happen to a microchip if I short out all the pins together?  It is not in a working circuit, I just want to delete the data on it.  I really don't know how or want to connect it to a computer so somebody please help!

Question by aeronut01   |  last reply


Re-programming a Microchip RN2903 Mote - DM164139 with Arduino IDE

I am interested in creating a pair of 915MHz radios with Microchip'sRN2903 Motes to send basic messages to each other.  Can they be re-programmed with Arduino IDE?

Topic by Do_Not_Give_Up   |  last reply


i need to sort a few thousand microchips. Answered

I have over the years acquired several thousand microchips. some i have 20 or so of and some i only have 1 of, i need to sort them ALL. i need some sort of VERY cheap or even better, homemade. storage system for them all. any ideas?

Question by solidacid   |  last reply


How, what, why...PIC?

I've seen PIC microcontrollers on the internet and I'm not exactly sure what they do. Are they like Arduinos except you can remove the microchip you programmed and put it in a circuit you made? Is that how it works? Can someone tell me please?!?!?!?!

Question by Adum24   |  last reply


How do I get started in Arduino/microchip programming?

 I've been trying to find a VERY cheap (under 50 please!) way to start programming, since a project I want to do is too complicated and expensive for parts and actually planning it out. So, what is the cheapest Arduino board or set or whatever they call them for a decent level of ability and ease of use? Note: I have no experience WHATSOEVER with C, BASIC, VB, or any other programming language. (or building electronics, for that matter... but I tried once! [And failed VERY miserably])

Question by PKTraceur   |  last reply


How can I make a cat door using the microchip embedded in the cat?

I know about SureFlap but they don't work with US chips! I can't put on a collar and my cat refuses to go through cat flaps. So I need something that lifts or swings automatically.

Question by anothergalaxy   |  last reply


how do i check if my attiny is working?

Im trying to build a minipov  with this schematic, and i cant get it to work i've checked the polarity of the leds (wich were wrong, and i turned them around) and all the wiring. im using 3 rechargable AA's, wich give something like 3.8 V (measured) but, the leds wont light up (i've loaded a program that should light all the leds) how do i check if the attiny2313 is working at all? without a scope ;)

Question by godofal   |  last reply


PIC24 programming troubles?

Hi, I have been working on a board with a PIC24FJ32GA002. The board had the correct voltages on the PIC's power pins (3V). I was able to program the pic one time successfully with my PICkit3, but every subsequent attempt has resulted in the following error message: Connecting to MPLAB PICkit 3... Firmware Suite Version.....01.29.33 Firmware type..............dsPIC33F/24F/24H Target detected Device ID Revision = 3046 The following memory area(s) will be programmed: program memory: start address = 0x0, end address = 0x2bff Programming... EEData memory Address: 0 Expected Value: 0 Received Value: 0 Calibration memory Address: 0 Expected Value: 0 Received Value: 0 Failed to program device I don't think the chip is fried since it still reads the device ID, but I have no idea what's going on with the EEData error. If anyone knows anything about this, that would be greatly appreciated. Thanks in advanced.

Question by Higgs Boson   |  last reply


PIC24F FATFS example not compiling?

I have been trying to use the pic24 example that comes with the FATFS library download on MPLAB X, but everytime I go to build the project this appears on the output:  CLEAN SUCCESSFUL (total time: 6s) make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf make[1]: Entering directory `C:/Users/Ben/MPLABXProjects/FATFS test.X' make  -f nbproject/Makefile-default.mk dist/default/production/FATFS_test.X.production.hex make[2]: Entering directory `C:/Users/Ben/MPLABXProjects/FATFS test.X' "C:\Program Files (x86)\Microchip\xc16\v1.20\bin\xc16-gcc.exe"   C:/Users/Ben/Documents/FATFS/examples/pic24/ccsbcs.c  -o build/default/production/_ext/2024670909/ccsbcs.o  -c -mcpu=24FJ64GA002  -MMD -MF "build/default/production/_ext/2024670909/ccsbcs.o.d"      -g -omf=elf -mlarge-code -mlarge-data -O0 -msmart-io=1 -Wall -msfr-warn=off make[2]: Leaving directory `C:/Users/Ben/MPLABXProjects/FATFS test.X' make[1]: Leaving directory `C:/Users/Ben/MPLABXProjects/FATFS test.X' make[2]: *** No rule to make target `build/default/production/_ext/2024670909/diskio.o', needed by `dist/default/production/FATFS_test.X.production.hex'.  Stop. make[1]: *** [.build-conf] Error 2 make: *** [.build-impl] Error 2 BUILD FAILED (exit value 2, total time: 5s) There are no visible errors (red underlined sections) in any of the source files, and I have not modified the code from the download. I have checked and the correct device is set under project properties. I am using XC16 v1.23, and I am sure that all the source files that are used have been included.

Question by Higgs Boson   |  last reply


how do i hook this up? Answered

I am working on a wireless project, and i got a wireless r/c chip for the remote. it is a common sctx2b, in the 14 pin variety. so i looked up the datasheet, aand it was in chinese. i translated it and found what i needed: 1 RIGHTB this pin grounded, select the right function 2 TESTB test side 3 GND power supply negative 4 BACK WARDB this pin grounded, check back function 5 FORWARDB this pin grounded, check the forward function 6 TURBOB this pin grounded, check the flip function 7 SC with a carrier frequency of the encoded signal output 8 SO not the encoding signal with carrier frequency output 9 VDD Positive Power Supply 10 PC power supply control output 11 OSCO oscillator output 12 OSCI oscillator input 13 FOSC test side 14 LEFTB this pin grounded, check the left function so my question is, what do SC,SO,and Pc do? (7,8,10) which one is the antenna?

Question by zack247   |  last reply


sureelectronics PICKIT 2 & MCU Universal ZIF socket for PICkit 2 or 3?

Anyone using this pickit clone ? if so; does it work well with microchips software? Almost seems to good to be true @ 50% less than straight from microchip! Thanks for your time slvrback

Question by slvrback 


Free IC Samples: Good or Bad

Every now and then I order a sample of an integrated circuit from companies such as TI, Atmel, or Microchip. But can I get too many. If I order too many do you think they will catch on to my using of their free samples for hobby use and not research? I stopped ordering because I am afraid they might start charging me for all the chips I ordered. What's your opinion?

Topic by gimmelotsarobots   |  last reply


sureelectronics PICKIT 2 & MCU Universal ZIF socket for PICkit 2 or 3?

Sureelectronics PICKIT 2 & MCU Universal ZIF socket for PICkit 2? anyone using this pickit clone ? if so; does it work well with microchips software? Almost seems to good to be true @ 50% less than straight from microchip! Thanks for your time slvrback

Topic by slvrback 



H-Bridge Circuit Help

Hello,I have an assignment to build an H-bridge circuit to control the direction of a motor with two buttons. The only materials I can use are depicted in the image; only three resistors, a battery pack, two button switches and an L283D chip. Based on the template given to me, I constructed the circuit as shown in the picture but it does not work. It looks very messy and I'm sure there's an easier way, but I just want to get it working first. If anyone knows what I'm doing wrong here I'd appreciate it.

Question by GaleDale   |  last reply


Connecting 3.6v white led to 6v power supply

Trying to power up one white led, 3.6v off 6v power supply. Understand what resistor I need. What's throwing me off is this microchip looking thing inside the project I'm copying. The difference is, on the original project, there's a 4 hour timer on it. So, is this microchip used for that? Or does it have another purpose? I don't need a timer for my project, just on/off option. Picture attached. Let me just add I'm a newbie to electronics. Thanks!

Topic by Stefg023   |  last reply


Breadboards, componenets, and hot glue

Hey all... I i have a breadboard for a small circuit and it has all the regular componenets such as transistors, resistors, diodes, realys, microchips, etc.  I will have the breadboard in a plastic project case and it will be mounted vertically...  I need a way to secure the componens int eh breadboard better so i waas wondering if i can use hot glue...???  I knwo some components such as the microchip is heat sensitive when solidering but i didn't know if hot glue got to hot or if tehre would be other effects to teh circuit in some way...??? Thanks for the help...!!!

Topic by SummitSeeker   |  last reply


Mass production and led's and arduinos?

I'm interested in making something that will have several led's that I would like to flash randomly and some flashing slowly, some fast, etc.. Some with the "fade in/ fade out" kinda deal (sorry, don't know the terminology). Anyway, I'm in the process of learning all about the arduino and I'm just beginning. What I would like to know is, say I figure out how to make these led's do what I need them to and I make up one "unit" and I put it all together etc.; will I have to buy and use an arduino for every single one of these? That would get very expensive. It's kinda like those pictures I've been seeing lately for Halloween/ fall/ Christmas that have led's flashing at different times, and some come on slowly, and then fade out slowly etc.. Or anything really maybe like those little rubber balls that have flashing led's in them. How do they accomplish this? Do each of those pictures have an arduino in them or is it a matter of "programming" some kind of cheaper "chip" and using it in each project? Like I said before, I don't know the terminololgy. Just looking for most economical way of accomplishing this on several different projects. Thanks so much for any help from anyone!!

Question by stevecinstrfme   |  last reply


What are some creative projects I can do without soldering or using microchips.?

I am good with software, but I have no competance with soldering wires and stuff. Are they any cool mods I can do or other projects...

Question by holy_cow   |  last reply


Getting started with PIC's, what do I get?

Hi, I have been fiddling with Arduinos for quite a while now, I would like to get some PICs, because they are WAY cheaper, and you have to do more to get them to work, not just plug 'n play. I am going to get 2 free sample 16f648a's from MicroChip for an 8x8 matrix game like this one:https://www.instructables.com/id/Christmas-card-with-inbuilt-retro-video-game-for-u/  any suggestions for other PICs to get from MicroChip? Also, what is a good cheap programmer, or one I could build? Thanks a lot, Geek P.S. I am pretty good at soldering and electronics, so if anyone has ideas of other fun projects that would be cool.

Topic by circuitbreaker   |  last reply


what is the best microcontroller to use ( pic ?) if i want to drive a motor forward and reverse using a h-bridge ?

Im trying to save space in the design and be cost effective( i wanted the pic and h-bridge and the motor to be under 1 inch) . so im trying to use the smallest chips that will do the job.  i was wondering if an 8-bit pic would do the job ?   edit: Id prefer using Microchips PIC, i think i have somewhat an idea of using MPLAB. Im planning on using a brushed DC motor, H-bridge, and Voltage regulator.  It has to fit under a 1' area taking up the least possible space because im using it as an unlocking/locking device. i was wondering what would be the best microchip pic that could achieve this with the least cost and size.

Question by dudeitskumar   |  last reply


What's an FPGA? Whats an CPLD?

What's an FPGA?  Like what's it compared to a microcontroller?  Please no links to google or wikipedia :P  I mean, from what I've read, it just seems like theyre inferior to a microcontroller, so I don't get why people use them.

Question by guyfrom7up   |  last reply


Gameboy Color cart opened, chips removed. Wondering if anyone has specs for them?

I decided that I should do something with some of those old Gameboy Color games I had lying around, so I opened one. Inside, I found 4 chips, along with a 3v battery, a tilt sensor, and various capacitors and resistors. I was wondering what each of the chips do, as far as their use. And could I use them again for a different purpose? Here are the chips: *Small 8DIL with the Microchip logo, and 106 134A *Square chip with 8 pins on each side(32 in total), M8C3 -2 047U3E *Thin rectangular with 22 pins on both sides(44 in total), MX E012304-M MX23C1603-12A 1C9868A1 *28 pin rectangular, BSI BS62LV256SC-70 S2827V53114.N F0110 Taiwan(Obviously that means it was made in Taiwan) Just a quick check to see if anyone knew what any of these were. Thank you!

Topic by metrogdor22   |  last reply


MCP2210 Configuration Problem? Answered

Using the MCP2210 USB to SPI Converter (Similar to MOD-1013), utility for IC runs with factory default settings for the IC but can't connect to MCP2210 I have plugged into the USB port. Computer sees it, shows it in Device Manager but lists error for it and Code 43.  How do I get the MCP2210 utility from Microchip to recognize the chip plugged into the computer?

Question by Electric Spectre1   |  last reply


Programming a microcontroller?

Hi everyone I have got a MICROCHIP - PIC16F616 to play with, I am going to write a little program and load on it. http://onecall.farnell.com/microchip/pic16f616-i-p/8bit-flash-mcu-smd-16f616-dip14/dp/1332199?Ntt=1332199 However, I have a few questions before I do this. 1. How do I know whether language I should write? like C or Assembly? does it tell you in the datasheet (link above), because I don't seem to find it. 2. What kind of program do I need for loading the program into the chip? is it also an information I can find in the datasheet? or it is really some common sense between programmer. My supervisor doesn't offer much help... Extra question Here is the link of open programming, I am just curcious that if I build this programmer (I have one for my chip, but just wanna learn something), does it mean that I can use this to connect my microcontroller and my computer, so to load the program into the microcontroller? http://openprog.altervista.org/OP_eng.html Many thanks

Question by luckyvictor   |  last reply


what can i do with old nokia 3310 components. are they useful at all?

I have an old nokia lying around its a 3310. and i have cracked it open to see whats inside. it luks like there are some very useful components for making something useful. im a real newbie at robotics and microchips and that sort of thing but there must be something useful amoung its mases of black square eprom looking things...

Question by icey--t   |  last reply


Repeating Musical Greeting Card?

Hello all,  I have purchased an inexpensive musical greeting card that plays a song for 20 seconds and then stops. What I am trying to figure out is if there is a way to put a 555 timer on this thing that will send a pulse to repeat the song at 15 seconds. Basically, make it so that the card will repeat the song forever at 15 seconds so that you don't hear the fade out of the song for the last 5 seconds.  Can this be done and if so how? Many thanks!!! Wes

Question by wfunderberg   |  last reply


Which type of PIC do I need for the 3x3x3 LED CUBE? Answered

I was building a 3x3x3 LED Cube from an Project (http://bit.ly/zTINhW)and one of the part needed was an PIC16F690 microcontroller,so I visited the manufacturer website (Microchip) and found the Product but with different annotations (I don't know what they mean) at the end. SO COULD SOMEONE PLZ TELL ME: Which type of PIC16F690 do I need: PIC16F690-E/P OR PIC16F690-I/P OR ELSE SEE: http://bit.ly/zWPoZCPLEASE COULD YOU TELL ME WHICH ONE OF THESE ON SITE LINK ? THANKS IN ADVANCE

Question by hrpearl01   |  last reply


Please help! How do you make a momolight, ambilight, etc.? Keep in mind I know nothing about electronics!

Would somebody please tell me how to make a momolight, ambilight, or whatever you want to call it? I know NOTHING about microchips and all that stuff. I just want a simple explanation on how to do this. The best thing would be if you could point me in the direction of a pre-build arduino controller, led strips, and programs to run it. Please help! I don't know what I'm doing and it's so frustrating (tutorials I've found absolutely suck)!?

Question by cptnsmelly   |  last reply


My First Project (Electronic Questions)

Good morning everyone. I'm new but very optimistic on the creation and programming in PIC and I would love Buddy aid for my project. Project Idea: Store 60 responses at most 1 character (núemro or letter), to questions such as: 1 = 2 = 3 = 60 = .... At the end of the data / informed responses would be sent to the PC via USB cable or WIFI for later imported by the PC system. My questions prior to starting the project would be as follows: I'm thinking of using PIC16F877A microchip and NOKIA5110 screen. A) Any other microship less expensive cases do this activity? B) The screen initially want to use this model because it allows me to print graphs on startup and letters larger than 16x2 screens. The following outline of the design for greater understanding.

Topic by clicsis   |  last reply


What do i need to buy in order to program an 8-pin PIC microcontroller?

I am trying to build/sell mod kits for 360 controllers (to make them rapidfire of course) and i need to know what i need to buy. I have 2 serial ports on my computer, so it doesn't need to be usb. I just want to find the cheapest way to take codes off of and write codes to microchips. I saw this but i was told that i would need to get other items to add to that to be able to program a chip. Also, is this chip similar enough to the ones that they use in the kits/ mods they sell on ebay? Would this chip work? Any answers would help very much.

Question by tubbychick3n   |  last reply


What type of signal is coming from a 3.5mm audio plug?

Does it create alternating DC voltages? (for example, alternating from +50mV to +200mV) or does it create only AC voltage (without standing DC) (for example, alternating from +100mV to -100mV) ? (when referred to the 'ground' wire on the 3.5mm plug which is the thickest connection, closest to the wire itself). If it's only AC without standing DC on it, then how come the TEA2025B microchip can work fine when connecting it directly to the input pin? because that would mean the input pin would have no problems with negative voltages applied to it... (with the negative voltages, I mean something like -100mV, coming from the AC input signal).

Question by DELETED_Electorials   |  last reply


Atmel AVR IDE/assembler won't run (Windows 8)

I'm trying to write some code for my AVR in assembly, but I cannot get either the Atmel studio 6.0 (with or without sp1) or AVR32 studio 2.6 to run. Studio 6.0 with the service pack states that it will work on windows 8 but consistently gives the error message "The application was unable to start correctly (0xc000007b)". AVR32 generates a Java error. This is consistent across all compatability settings and running as administrator. This is on a pretty much clean install of windows 8 pro x64, with all updates and the latest release of both 32 and 64 bit Java. All other software has installed and run without issues, including the equivalent software for microchips microcontrollers. I would appreciate any suggestions as to how to get this software to run, or any alternatives that may work. Thanks in advance for any help.

Question by The Skinnerz 


can you reprogram a universal remote by aming the remote att the curcut ? Answered

Im very new to programing microchips. i have been programing in visual basic 2008 for a few months now. I'v heard about this function in irshell for the psp, that actualluy lets you make new ir codes basicly you point the remote's ir emmiter to the psp's push a button on the remote and the code is writen on the psp to let the psp emmit at the same code that the remote emmits. So thats got me thinking can i build a circut that does the same job as the psp irshell. Scince im new to programming i would like to know if this is possible if so i woud like a scimatic, source code and the components needed for this project. please i need help and of cource when i get the circut working i will definatly make a instructable.

Question by lj123456   |  last reply


i need help about a small mechanism?

Http://i1084.photobucket.com/albums/j417/gada888/needle.jpg I want to design a electromechanical mechanism which is potable and cell powered,a sensor mounted on a tiny plastic circle and the thing is  attached to a shaft end.when started the shaft is slowly thrusting until the sensor on the shaft end is touched human skin the sensor send signal back to a microchip,the chip halt  the thrusting shaft in case it squeeze the skin hard,  next the  NEEDLES around the sensor begin to work, they piercing through the skin then quickly spring out in case they cause much pain to people. question 1:how to design the shaft thrusting mechanism? question 2:is about the needles,how to pull them back quickly? question 3:can it be wireless controlled? pls help,any of ur suggestion would be greatly appreciated.  

Question by gada888   |  last reply


Help with programming a PIC16f877A with Pickit2

I am having a really hard time programming a PIC16f877A with a Pickit2 programmer or a homemade serial programmer. I have tried several ICSP interface circuits but neither programmer can read the microcontroller.  I have been able to program other PICs with each programmer without any problems. I am beginning to think that I just have a bad chip. Does anyone have experience using Pickit2? A step by step breakdown would be extremely helpful.  Can anyone suggest a good interface for the PIC16f877A? I have tried connecting the pins directly to the programmer. I have also tried using pullup resistors on MCLR, and used a schematic for ICSP that I found on the Microchip website.  One thing I have yet to try is powering the chip with an external power supply, Would this method work? 

Topic by carjo3000   |  last reply


Noob Q about inverter for an ornithopter

I was looking in the back of my Jameco catalog the other day and they listed a product called "Muscle wire". It's apparently a nickel-titanium alloy that shrinks as it heats up. It occurred to me that I could flap ornithopter wings with it (a really small ornithopter). I was trying to figure out how I could switch voltage from one pair of wires (the flap UP wires) to the other pair of wires (the flap DOWN wires) without a microchip. I came up with something I'm sure wouldn't work involving a couple transistors, a diode and a cap. Today on wikipedia I figured out that what I was doing was something close to an inverter.So here's the question: Anyone know of a simple switching circuit that runs on a/c power and does not have square-wave switching characteristics?I'll keep researching this myself, but sometimes 'tis quicker to ask the big-brained and kind hearted (you know who you are).

Topic by royalestel   |  last reply


Bulding up a new PC, which one would you think be the best? Answered

Intel ·ASUS P7P55D - Intel P55 Chipset  - LGA 1156  - DDR3 (2133MHZ OC), 2x PCI Express 2.0 x16 (CrossFire Support) - Special Features - TurboV EVO OC Processor (2nd Micro Processor onboard) 12+2 Xtreme Phase Power, T Probe (Active cooling Microchip), Asus EPU · Intel Core i5 750 Lynnfield Processor - 2.66GHz Quad Core, 45nm, LGA 1156, 8MB L3, 2.5GT/s DMI Interface ·Patriot 2048MB DDR3 1333MHZ MEM x2 ·9800GT 1GB FORSA GRAPHICS CARD or AMD ·Jetway 770 Socket AM2+/AM3,AMD™ 770 Chipset and AMD™ S700 Chipset ,Supports AMD Socket AM3/AM2+/AM2:AMD Phenom series processors, Athlon 64 X2 / Athlon 64 FX / Athlon 64 / Sempron processors,HT 3.0,Dual Channel DDR2/DDR3 memory technology ·AMD Phenom™ x4  Quad Core (9650) 2.3GHz Processor ·Patriot 2048MB DDR3 1333MHZ MEM x2 ·9800GT 1GB FORSA GRAPHICS CARD

Question by Ortaega   |  last reply


led flash and fade. how?

Video of RavelightPicture of RavelightIm interested in building a product that utilises coloured LED lights with multiple flashing and fading patterns.I have pulled apart a few LED products and examined the PCB's and the components and have a general idea of what is going on, however it is all new to me, and im unsure of the possibilities that exist. For example, i didn't know you could get pcb's so small...Basically i need the power source to be the small button cell batteries (up to 6 if necessary, though 3 or 4 would be preferable). With at least 4 LEDs of different colours (RGB etc). A similar design to what I want to make is a flashing LED light stick like people use at raves that I found. It has a button that seems to simply complete a circuit momentarily, and pressing it down again and again, scrolls through its 9 different flashing patterns.I have seen various different LED toys that vary on this, but are basically the same idea.The thing that I don't understand (on top of a lot of other small things) is what is under the black blob on the PCB? Is this something like a 555 timer? an IC? And how are these programmed to give all the different patterns? is it a microchip?This thing cost me $3 from a shop. three dollars!! cheap as....this is what I want for my product. can anyone help me out to understand?I can post a picture up in the next couple of days if people can't understand what i'm talking about.Thanks

Topic by noi noi   |  last reply


MCP2210 Questions?

"Don't believe everything you read on the internet" - Abraham Lincoln Such wise words I should have heeded.  Anyhow I have my MCP2210 wired up correctly now, the computer recognizes it, configured using the MCP2210 Utility and the GPIO pins have been tested and work through the SPI Terminal that I downloaded for another product related to this from Microchip. The question I have now is how much farther can I take this?  I started with this IC because I know (some) Arduinos use an FT232 USB to UART chip to connect USB to the Atmel chip they use.  I recall most Atmel MCUs can be programmed using SPI, so I figured I would try this out.  I also hoped this would delve into software so I could teach myself a bit about that as I am more familiar with hardware and building circuits.  If everything worked out I wanted to use these with an MCU so I could make myself custom small USB programmable boards for projects.  So would it be possible to program an ATTiny or ATMega through this using Atmel Studio 7.0?  What am I missing if it can be done?  What should I be researching next?  Anything to point me in the right direction is appreciated.  If this is not feasible, alright, what other applications would these chips as I have a few more of them?

Question by Electric Spectre1 


Some advices on "self switcher circuit between battery & AC-DC ADAPTER power sources"

To put it shortly, I have small 12V 10A solar system (panels, car battery,  PWM charger, LEDs, car radio, car lighter (used for usb phone chargers etc) backed up with 12V 3A AC-DC adapter. They share common "ground" and outs connected in parallel but I dont want it to draw any power from AC adapter unless PWM controller shuts down power when battery gets empty. Anything below 500mah is neglible. I dont understand much about relays or microchips perhaps a relay design would be simpler and more efficient... So I tried to design a circuit with TIP33 transistor(because i found that it supports 10A continuous draw). but apparently it needs like 2V (max3) as Base-emitter voltage. if so, i need to add something between R1 and Adapter +12V and R4 and battery12V to reduce voltage to 2 volts... I have 3 questions 1st: is there any more efficient and relatively simple way to drop voltage withoutt leds? otherwise i will just use them as both indicators and voltage droppers since current will be lower than 20mah. 2nd: i am not sure if R2 and zener diode would be enough to let T2 draw all the current to keep TIP33 off while battery is on. perhaps i should remove R2 as well? 3rd: Since PWM and adapter both have reverse voltage and overload protection im planning to put a single diode to deny unnecessary current flow on R3 from battery.(i already removed the second one from design just before i write this here). i am thinking about putting resistor values to let only 30ma run there. Would that diode overheat while running on AC or drop voltage from adapter too much? R3=440 R1+R2=160 R4=anything depends on the T2(sth simple to handle 15-20mah C-E)

Question by sailorondatea   |  last reply


Arduino ADC & Decoupling capacitors.

Hello, I have a sample Analogue to Digital Converter from Microchip.  (MCP3901). Now I want to use this ADC together with an Arduino (Uno) on a breadboard  in order to connect it to my laptop.  This works all very smoothly and all by all I am fairly happy with the result up till now. But, there is a small problem.  There is a small oscillation in the data when measuring over something with a large resistance (first 3 graphs).  The oscillation is absent (or greatly diminished) over things with small resistance. (last 2 graphs). I have only a basic knowledge about electronics and cannot get rid of (or even diminish) the oscillation. My guess is that I don't get the decoupling capacitors right. These are the symptoms: Voltage measured across the solar panel of a calculator during ~2s  (while lifting my hand). Look at the oscillation in the data . (the oscillation is about 50Hz ) And zoomed in: Secondly, in the case of a 100 kOhm potentiometer in series with a 2.2 MOhm          (There is no Omega in the special characters list?) I can see that the oscillation is scaled with the measured voltage. This means that the oscillation is probably internal.  (My guess is that the source is from the power lines which are probably not decoupled very good. And the oscillation manifests itself in the internal reference voltage) So, this goes from 0 to ≃0.2 V  (because it is a 100kOhm in series with 2.2 MOhm between 5V and ground.) increased in small steps (small turns on the potentiometer) Green = without decoupling Caps. Red = with decoupling caps (0.1µC ceramic in series with 47µf electrolytic, but it's pretty much the same with all caps.) (the oscillations here are more sinusoidal than the ones with the solar cell) And finally, there is no problem when measuring over something with a low internal resistance. Look at this graph of a (bad) potentiometer or about 100 Ohm.  And look at the near absence of noise and oscillations in the data. I can't immediately see why the ADC gives such clear data in this case. But this is definitely what I want. And a detail; Has anyone some Ideas on how to kill that oscillation? (I don't mean with fourier transforms and such)  If the decoupling capacitors are the problem, I have a limited choice in themc can you please say which ones I should search for? Thank you very much.  

Topic by Sparticles   |  last reply


PIC18LF4680 microcontroller and usb ttl for usart / serial data

Hi everyone. I want to know if it's possible to connect a ttl device directly to my PIC18LF4680 for serial communication via USART . I can connect the ttl device directly to my Arduino Uno without issues. The ttl  device has 6 pins (dtr , rxd , txd , vcc(3.3v or 5v) , cts, gnd) . I have two different codes snippets below that perform USART communication. * Version one(I) utilizes the "usart.h" peripheral library. * Version two(II) uses "TXREG" and "RCREG" for sending and receiving data. Both versions run well in my virtual environment (Proteus 8 Professional), but not in the real world environment. Am I missing a step? Do I need a special library? Or is it not possible with this chip? VERSION (I)   ------------------------ #include "fuses.h" #include #include #include #include void main(void) {         TRISB = 0x00;     OSCCON = 0x76;          // 8mhz (0111 0110)          LATBbits.LATB4 = 0;      LATBbits.LATB1 = 0;      LATBbits.LATB0 = 0;          unsigned char txt1[] = "Hello World \r\n";     unsigned char txt2[] = "Enter a number.... \r\n";         CloseUSART();         OpenUSART(USART_TX_INT_OFF &             USART_RX_INT_OFF &             USART_ASYNCH_MODE &             USART_EIGHT_BIT &             USART_CONT_RX &             USART_BRGH_HIGH &             USART_ADDEN_OFF ,             52);             for(int x=0;x<=20;x++){__delay_ms(50);}         // write/send intro to PC         while(BusyUSART());     putsUSART((char *)txt1);         for(int x=0;x<20;x++){__delay_ms(50);}         while(BusyUSART());     putsUSART((char *)txt2);             for(int x=0;x<20;x++){__delay_ms(50);}             while(1){         sdata = ReadUSART();                 switch(sdata){             case '1':                 LATBbits.LATB4 = 1;                  LATBbits.LATB1 = 0;                  LATBbits.LATB0 = 0;              break;                         case '2':                 LATBbits.LATB4 = 0;                 LATBbits.LATB1 = 1;                  LATBbits.LATB0 = 0;                             break;                         case '3':                 LATBbits.LATB4 = 0;                  LATBbits.LATB1 = 0;                  LATBbits.LATB0 = 1;              break;                                     default:                 LATBbits.LATB4 = 0;                 LATBbits.LATB1 = 0;                 LATBbits.LATB0 = 0;              break;         }     }     } -------------------------------------------- VERSION (II) --------------------------- #include "fuses.h" #include #include #include #define STRLEN 12 volatile unsigned char t; volatile unsigned char rcindex; volatile unsigned char rcbuf[STRLEN]; void USART_init(void){         TXSTAbits.TXEN = 1;     // enable transmitter     TXSTAbits.BRGH = 1;     // high baud rate mode     RCSTAbits.CREN = 1;     // enable continous receiving     // configure I/O pins     TRISCbits.TRISC7 = 1;     // RX pin is input     TRISCbits.TRISC6 = 1;     // TX pin is input (automatically configured)     SPBRG = 52;                PIE1bits.RCIE = 1;      // enable USART receive interrupt     RCSTAbits.SPEN = 1;     // enable USART         } void USART_putc(unsigned char c) {     while (!TXSTAbits.TRMT); // wait until transmit shift register is empty     TXREG = c;               // write character to TXREG and start transmission } void USART_puts(unsigned char *s) {     while (*s)     {         USART_putc(*s);     // send character pointed to by s         s++;                // increase pointer location to the next character     } } void main(void) {         OSCCON = 0x76;          // 8mhz (0111 0110)         USART_init();         USART_puts("Init complete! \n");     INTCONbits.PEIE = 1;    // enable peripheral interrupts     INTCONbits.GIE = 1;     // enable interrupts     while(1)     {     }     } void interrupt ISR(void) {     if (PIR1bits.RCIF)  // check if receive interrupt has fired     {         t = RCREG;      // read received character to buffer         // check if received character is not new line character         // and that maximum string length has not been reached         if ( (t != '\n') && (rcindex < STRLEN) )         {             rcbuf[rcindex] = t; // append received character to string             rcindex++;          // increment string index         }         else         {             rcindex = 0;        // reset string index             USART_puts(rcbuf);  // echo received string         }         PIR1bits.RCIF = 0;      // reset receive interrupt flag     } } ------------------------------------------------------------ Any and all help is appreciated. Thanks!

Topic by newbie14   |  last reply