Jump to content
Electronics-Lab.com Community

Leaderboard

Popular Content

Showing content with the highest reputation since 10/24/2020 in all areas

  1. Kevoh

    LATCH CIRCUIT

    I need to build a latch circuit with one tactile switch and mosfets. Any idea how to go about it Will help.
    1 point
  2. Introduction Arduino IDE is a convenient tool to write your code and upload to microcontrollers. However, it doesn’t come with debugger function, which means the only way to debug our program is through using debug message through standard output, in this case, Serial Monitor. Debug message is handy and it helps to print out the information the registers holds at a specific time, but once you have done debugging and your program is ready to go, we often have to delete/comment out those debug message code manually, in a big project, this could be problematic as there are just too manny of them. Today, I am going to show you an easy method to turn on / off debug message with only a few lines of code. Method Take a look of the following C code, //#define __DEBUG__ #ifdef __DEBUG__ #define DEBUG(...) printf(__VA_ARGS__) #else #define DEBUG(...) #endif Since all Ameba microcontroller supports printf(), we can re-define printf() to a preprocessor function, in this case, I name it DEBUG(). Whenever you want to print out the debug message, instead of Serial.print() or printf(), you should try using DEBUG() instead, it works just like the previous two, but can be easily enabled or disabled by uncomment //#define __DEBUG__ or just leave the comment syntax there. Let’s look at an example Example code 1 This is a simple code that only print out “Debug msg 1” and “Debug msg 2” alternatively with a 1 second delay in between. Screenshot 2021-01-22 1639441919×1079 173 KB Note that the first line of the code is uncommented, and we are seeing the debug messages actually got printed out using the DEBUG() function. Example code 2 Screenshot 2021-01-22 1641171920×1077 127 KB Note that this is the same code except I keep the first line commented out, and as a result, no debug messages got print out at all. It works! Conclusion All you need to do is to copy the few lines of code from above into the top of your arduino sketch and you may name your custom debug function anything you like and it will work like a charm. Turn on / off is just to keep / remove the // at the first line, very convenient. Hope you like this content, stay healthy and happy coding~
    1 point
  3. This site gives the MPXV7002DPT1 as an alternative to the MPXV7002DP see: https://www.apogeeweb.net/circuitry/mpxv7002dp-transducer-datasheet-features-pinout.html#product-overview This one has a list of exact alternatives also: https://www.newark.com/nxp/mpxv7002dpt1/pressure-sensor-2-to-2kpa-sop/dp/28X3717
    1 point
  4. But even if we disable debug, it will call print method and do not print anything. I mean we should make it something like #ifdef DEBUG Serial.print("\n debug controlled print"); #endif Here when we disable macro, its like code is not written for compiler, code will be removed in macro processing itself.
    1 point
  5. It's a great idea to use the battery for a long period of time. Thank you s much for this thread here.
    1 point
  6. Hi dear community, i have a problem to install p-spice. i downloaded the file frome here "p-spice 9.1 student version" . i extraced 18 files in c:\desktop. following the manuals i have to double click setup.exe with admin rights. thats what i did but window doesn t appear. i looked in taskmanger, the setup.exe is running but like i said the window doesen t appear. i have really no idea what i am doing wrong system is Vista need help thankfully elu
    1 point
  7. HarryA

    MOD-23 counter

    The circuit below is similar to what you want to do. Using a 4 input NAND gate you can connect it to the 4 outputs that represent the valve you want. Your NAND gate output would connect to the clr line.
    1 point
  8. Materials • Ameba D [RTL8722 CSM/DM] x 1 • Adafruit LSM9DS1 accelerometer • LED x 2 Example Procedure Connect the accelerometer and LEDs to the RTL8722 board following the diagram. Download the Ameba customized version of TensorFlow Lite for Microcontrollers library at ambiot/ambd_arduino. Follow the instructions at Arduino - Libraries to install it. Ensure that the patch files found at ambiot/ambd_arduino are also installed. In the Arduino IDE library manager, install the Arduino_LSM9DS1 library. This example has been tested with version 1.1.0 of the LSM9DS1 library. Open the example, “Files” -> “Examples” -> “TensorFlowLite_Ameba” -> “magic_wand”. Upload the code and press the reset button on Ameba once the upload is finished. Holding the accelerometer steady, with the positive x-axis pointing to the right and the positive z-axis pointing upwards, move it following the shapes as shown, moving it in a smooth motion over 1 to 2 seconds, avoiding any sharp movements. If the movement is recognised by the Tensorflow Lite model, you should see the same shape output to the Arduino serial monitor. Different LEDs will light up corresponding to different recognized gestures. Note that the wing shape is easy to achieve, while the slope and ring shapes tend to be harder to get right. Find out more at: https://www.amebaiot.com/en/amebad-micropython-periodical-timer/ Join in the community discussions at: https://www.facebook.com/groups/amebaioten https://forum.amebaiot.com/ Purchase links for the various Realtek development boards can be found at: https://www.amebaiot.com/en/where-to-buy-link/
    1 point
  9. AliasMarne

    Finding a job

    Acho que um tipo de trabalho freelance seria melhor para você. Porque no mercado existem diferentes tipos de trabalhos de escrita disponíveis. Experimente por eles. Você também pode começar sua jornada como redator de conteúdo. Se você puder escrever um bom conteúdo único, plágio e artigos livres de erros, então, com certeza, você receberá muitas propostas. Por exemplo https://olatcc.com.br/comprar_monografia dê uma olhada no exemplo acima. Há uma equipe de pessoas que está escrevendo para outros ensaios, trabalhos, trabalhos acadêmicos, conteúdo da web, etc.
    1 point
  10. If it is a 120 volt Cuisinart blender then you can get one here: They ship world wide. Else search for "1 uf 250vac capacitor" https://www.ebay.com/itm/281873849657 That is a horrible url !
    1 point
  11. my room the temperature varies 31-33º the humidity varies 55-70% this epcos information valid for other electrolytic capacitor manufacturers? in the 1990s were electrolytic capacitors or another type of capacitor used?
    1 point
  12. uziao

    Rheostat power rating

    Hello friends. Very interesting topic you have here. You can model the electrodes underwater as an capacitor in parallel with a resistor (a leaky capacitor). Maybe this is why he used a bifilar coil... Bifilar coils are self resonant coils because of their capacitance. You can see this article here: https://sci-hub.st/https://doi.org/10.1002/cta.2830 The autor proposed a resonant tank circuit without the capacitor, using only the capacitance of the bifilar coil. If the electrodes underwater behave like a true capacitor, he wouldnt need 2 coils... Only one coil would do the job... Maybe the trick lies in the coils only...
    1 point
  13. An H-Bridge (Full-Bridge) driver is quite popular in driving loads such as brushed DC motors and it is widely used in robotics and industry. The main advantages of using an H-Bridge driver are: high efficiency, rotation direction change, and braking the motor. In this article/video, I have introduced a complete H-Bridge DC motor driver using four IR3205 power MOSFETs and two IR2104 MOSFET drivers. Theoretically, the above-mentioned MOSFET can handle currents up to 80A, however, in practice we can expect to get currents up to 40A if the MOSFET temperature is kept as low as possible, using a big heatsink or even a fan. References Article: https://www.pcbway.com/blog/technology/Powerful_H_Bridge_DC_Motor_Driver.html [1]: IRF3205 Datasheet: http://www.irf.com/product-info/datasheets/data/irf3205.pdf [2]: IR2104 Datasheet: https://www.infineon.com/dgdl/Infineon-IR2104-DS-v01_00-EN.pdf?fileId=5546d462533600a4015355c7c1c31671 [3]: 1N5819 Datasheet: https://www.diodes.com/assets/Datasheets/ds23001.pdf [4]: IR2104 Schematic Symbol, PCB Footprint, 3D Model: https://componentsearchengine.com/part-view/IR2104PBF/Infineon [5]: IRF3205 Schematic Symbol, PCB Footprint, 3D Model: https://componentsearchengine.com/part-view/IRF3205ZPBF/Infineon [6]: CAD Plugins: https://www.samacsys.com/library-loader-help
    1 point
  14. Evan Parker

    Finding a job

    Good afternoon! I think you should not be worried about that. Now it is not so hard to find a job like it was several years ago. I found mine last year on https://uk.jooble.org/jobs-part-time-staff-required-cash-hand/London. You can look for an appropriate job offer there. Different companies suggest different conditions. I mean, part-time and full-time, remote and office jobs, and so on.
    1 point
  15. Hi, A full diagram would have been more helpful to understand the circuit, with your provided circuit its hard to tell. You need to specify at the very least the other pins 16 and 3 of the TL494. However from the point of connection alone - trimpot touching the 0.1 ohm sense resistors - it looks like current limit control where the trimpot is controlling the current and the MCU setting the high side with GPIO - much like an enable signal. Again without further details I can't tell for sure. Good luck with your studies
    1 point
  16. HarryA

    Boolean Algebra

    from Wikipedia: = (K+L)(K+M)(L+N)(M+P)(N+Q)(P+Q) = (K+LM)(N+LQ)(P+MQ) = (KN+KLQ+LMN+LMQ)(P+MQ) = KNP + KLPQ + LMNP + LMPQ + KMNQ + KLMQ + LMNQ + LMQ ----------------------------------------------------------------------------------------- K * N+LQ + LM*(N+LQ) K * N+LQ = KN+KLQ and LM*(N+LQ) = LMN+LMQ for the : (KN+KLQ+LMN+LMQ) for the fourth line multiply the third line by P and then by MQ from (P+MQ)
    1 point
  17. 1 point
  18. Hi, as promised I made an English translation of my working. Maybe there is few mistakes and I am sorry for that ! Good reading. ExplicationEN.pdf
    1 point
  19. Hi, I just finish my power supply ! I made a PDF document (with a lot of picture and explanation) who resume all the story about this adventure, and made a lot of measurment ! It is in French but I will translate in English soon. I thank all this community, who made a great job ! I join you some photos and my work on a PDF format. Alimentation0_30V.pdf
    1 point
  20. repairman2be

    0-30V 0-3A Latest Data

    Hi all, Finally after some months have gone by, my build of the Power Supply is done. I have used liquibyte schematic Rev. 8 and had made the cirquit board according to the Gerber.zip file he posted here: 0-30V Stabilized Power Supply Page 88 posted October 6, 2014 "http://electronics-lab.com/community/index.php?/topic/29563-0-30v-stabilized-power-supply/&page=88" I left out D10 and R15 as per his description. I have plenty of boards leftover if someone has a need for it. There was only one mistake liquibyte made which have outlined in one of the pictures uploaded here. I was fortunate enough to get a big case with a Toroidal transformer from the scrapyard. Also many parts are recycled from various sources. Regards, William
    1 point
  21. Hero999

    lm7805 question

    All that means is that if the capacitor is too small, it won't be large enough to damp the oscillations but if it's a single, large value capacitor it won't be good either. Higher value capacitors tend to have poor high frequency characteristics and become inductive past the resonant frequency, the higher the value, the lower the resonant frequency. Rather than using a single, high value capacitor, it's better to use a large capacitor and lower value capacitor in parallel with one another. The type of capacitor is also important; for example tantalum is better than electrolytic. I'd recommend a 1uF tantalum in parallel with a 100nF and 10nF ceramic capacitor on both the input and output. If you don't have a 1uf tantalum, go with 22uF electrolytic.
    1 point
×
  • Create New...