Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
You haven't specified which language you want to use but the principle is the same for all. This is an example in C:
char Value = 0;
Value |= BoolValue1;
Value |= (BoolValue2 << 1);
Value |= (BoolValue3 << 2);
Value |= (BoolValue4 << 3);
Value |= (BoolValue5 << 4);
Value |= (BoolValue6 << 5)...
Then exceeding the current rating isn't the cause if the MOSFET is rated at 19+ Amps and you are only passing a few mA.
Somehow you are exceeding the voltage rating and my guess is it isn't Drain to Source but something wrong with the gate drive signal. Please do as Klaus asks and show a...
A bool is normally a '1' or a '0'.
Either store the bool as one value per eeprom address (16 addresses) or convert it to two 8-bit values (think of bit shifting) and store it as two bytes (2 addresses).
Doesn't the 8085 data sheet show details of bus cycle timing?
Being honest, I haven't checked myself but every other MCU I've used has timing diagrams for memory and IO operations, especially where shared bus use is concerned.
Be careful, I suspect you might be shorting out the battery and it could be dangerous.
The PCB should have shiny copper traces between the connections and you should be able to see the board material (the substrate) between the copper traces. From the picture it appears the copper was not fully...
The schematic simply makes no sense at all. The 4017 is a 10-stage Johnson counter which is completely useless in this application and is wired wrongly according to the schematic anyway. I suspect it should be a different IC type altogether, where did you find the schematic?
The pin numbers...
Precisely! - John99407, you have to pass the character (or byte from the I2C device) to BinToAsc() as I described in the second code part of post #2. Substitute the byte for the 'A' and let the UART_send_char() pass it to the serial output.
FAR simpler than that. The tuning is obviously set to be fairly close to optimum but there is nothing to control it except the coupling to the secondary. You can do it with two transistors (one if you are careful!). Just use a center tapped primary as the collector load and cross couple the...
Consider something much simpler - a self oscillating push-pull LC circuit. If you make one side a fixed frequency you have to tune the other side to match for best efficiency. If you let the coupling coils (primary-secondary) interact they will find their own resonance.
I'm still puzzled why...
You will have to convert the single character 'A' to two characters '4' and '1' then display them both.
There are several ways, easiest is to use the sprintf() command but it uses lots of memory or you can do it this way:
unsigned char BinToAsc(unsigned char BinValue)
BinValue &= 0x0F...
1. configure a timer so it rolls over from maximum to zero 100 times a second (100Hz)
2. enable the interrupt for that timer.
3. write an interrupt routine that toggles the state of the pin you want.
A better method than 3 above is to simply increment a counter at every interrupt then copy the...
An internal current source, particularly if it supplies constant current will result in the voltage being proportional to optocoupler conduction. It makes little difference whether the current comes from an external resistor or an internal current generator. From a production point of view it...
-CS doesn't seem to be an issue but we need to see the relationship between the clock and data line edges to see if it is being latched properly.
Your DIN=>MOSI looks suspicious, the level shifter would never allow a floating (half supply) condition because it has pull-up resistors at both...
Linux has a command called "file" which you follow with the path to the file you want to investigate. It returns an analysis of the file type.
As it is open source, looking at the way "file" works should give you some ideas.
That is correct Klaus, you ARE an expert :)
The MAC is supposed to be unique to the device connecting to the network and although it often can be changed, you open up a whole load of problems, clashing numbers and unrecognized devices. It is normally pre-programmed by the device manufacturer...