Jump to content
Electronics-Lab.com Community

HarryA

Members
  • Content Count

    170
  • Joined

  • Last visited

  • Days Won

    4

HarryA last won the day on June 6

HarryA had the most liked content!

3 Followers

About HarryA

  • Rank
    Advanced Member
  • Birthday June 23

Profile Information

  • Gender
    Male
  • Location
    USA, Pennsylvania, Susquehanna County, Forest Lake Township
  • Interests
    Canoeing, woodworking, electronics, and gardening.

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. or cleaner: String DisplayString = " "; //a blank string int percent1 = 0; int OldPercent = 0; void setup() { // Serial.begin(9600); //testing } void loop() { if( OldPercent != percent1 ) //do not scroll needlessly { //previous string - set the cursor to second line LCD.setCursor(0,2); LCD.print(DisplayString); //move previous line down //set the cursor to for new first line LCD.setCursor(0,1); if (percent1 > 50) { //new string DisplayString = "Moisture S1 : " + String(percent1) + "%" + " Irrigaion sistem ON"; } else { //new string DisplayString = "Moisture S1 : " + String(percent1) + "%" + " Irrigaion sistem OFF"; } //set the cursor for new first line LCD.setCursor(0,1); LCD.print(DisplayString); //new line to top of the LCD OldPercent = percent1; //set new percent } } //end loop the first "set the cursor for new first line" code is redundant; I can not see how to edit the code
  2. Perhaps: String DisplayString = " "; //a blank string int percent1 = 0; int OldPercent = 0; void setup() { // Serial.begin(9600); //testing } void loop() { if( OldPercent != percent1 ) //do not scroll needlessly { //previous string - set the cursor to second line LCD.setCursor(0,2); LCD.print(DisplayString); //moves previous line down if (percent1 > 50) { //new string DisplayString = "Moisture S1 : " + String(percent1) + "%" + " Irrigaion sistem ON"; //set the cursor to for new first line LCD.setCursor(0,1); LCD.print(DisplayString); //new line to top of the LCD OldPercent = percent1; //set new percent } else { //new string DisplayString = "Moisture S1 : " + String(percent1) + "%" + " Irrigaion sistem OFF"; //set the cursor to new first line LCD.setCursor(0,1); LCD.print(DisplayString); //new line to top of the LCD OldPercent = percent1; //set new percent } } } //end loop
  3. "Could a capacitor smooth the frequency? " If one does not know what is wrong with the system then one can not know what the affects of a capacitor would be. you have a 12 5kw diesel generator the generator outputs 120 or 240 volts at 50 or 60 hertz. the generator supplies the mains that has numerous outlets on the boat. the generator output is stable until you turn on the ac unit. with the ac running the voltage at the various outputs are no longer 50 or 60 hertz but varying in frequency 6: adding any load to an output corrects the problem. Is that correct?
  4. 48 volts is above the absolute voltage for this voltage regulator: 35 volts maximum:
  5. In that type of air conditioner the input ac voltage is converted into dc via a power supply. The dc voltage is converted (inverted) into variable frequency ac. The frequency depends on the demand on the unit. A microcontroller samples the ambient air temperature and adjusts the speed of the compressor motor via the frequency of the ac applied to the compressor motor. Invert versus convert is interesting: Inverter - dc to ac converter - ac to ac (transformer, etc) converter - dc to dc (potentiometer, etc) power supply - ac to dc
  6. see: http://starseedsportal.org/tag/stephen-dickens-magnesium-water-copper-battery/ plus other sites; search on "stephen dickens water battery" Also see Voltaic pile at: https://en.wikipedia.org/wiki/Voltaic_pile
  7. I have not used varistors but not letting ignorance slow me down. The V20E14AUTO is a 16 volt MOV. Voltage Rating DC: 16vdc Varistor Voltage: 22 volts this is where the varistor starts to conduct at 1 ma. Varistors draw some small current always Clamping Voltage: 43 volts the voltage any spike is truncated to. Peak Surge Current: 20 amperes. Surge Energy Rating: 28 joules. 28 watts-1 second, 56 watts-500 ms, etc Unlike Zener diodes that fail as an open circuit varistors fail as a short circuit so in some cases a fuse is used with them. Most likely on the larger ones.. see: https://www.mouser.com/ProductDetail/Littelfuse/V20E14AUTO?qs=%2Fha2pyFadugE%2FoOLoA7J9TCvi67Mtc%2F%2FOVMAqZDk45RR%2F7GD1QKNkA%3D%3D or: https://www.digikey.com/products/en?mpart=V20E14AUTO&v=18 That is my best guess; perhaps someone else has experience with varistors? "The MagLock Draws 420mA 2 12 Volts, The panels power supply provides 500mA @ 14.3 V " Do you need to reduce the 14.3 volts to 12 volts?
  8. Wikipedia has a well written article on operational amplifier applications. see: https://en.wikipedia.org/wiki/Operational_amplifier_applications#Non-inverting_amplifier
  9. There is information here on Visual Servoing that maybe helpful; particularly the numerous references at the end of the article. https://en.wikipedia.org/wiki/Visual_servoing If you look at a bmp file of a smd image like this one (I could not find an image of the bottom of a smd). You can see the white background as FF FF FF and one scan line across the component highlighted. So in theory one could find the four corners and calculated the rotation and any x y offset. In bmp files the image is inverted. If you only need the rotation then only part of one edge would be required to calculate it I believe. smd compoint.bmp
  10. You may find some useful information here. If you need more help come back here. https://github.com/openpnp/openpnp/wiki/Setup-and-Calibration%3A-Bottom-Camera-Setup I worked for a company that made PnP and Through-hole machines but I only worked on the Through-hole machines.
  11. what is the replacement for the d13005ed? Perhaps the MJE13005G ? The data sheet is online. The MJE13005G from China see: https://www.ebay.com/itm/5PCS-X-UTC-MJE13005G-C-TM3-T-TO-251-I-PAK-NPN-Vceo-700V-Ic-4A-Transistors/333530195913? hash=item4da7f2e7c9:g:9MgAAOSwr9ReWXce The D23005Ed 20 of them! "20 x D13005ED Transistor TO-220" from China. https://www.ebay.com/itm/20-x-D13005ED-Transistor-TO-220/184022252029?hash=item2ad894b9fd:g:cLQAAOSwOFZdwBIz also see for large list of similar transistors: https://alltransistors.com/crsearch.php?at=Si&struct=NPN&pc=65&ucb=700&uce=400&ueb=9&ic=4&tj=150&ft=4&hfe=15&caps=TO220
  12. HarryA

    Sharp DX-110

    If it is worth 21$ to you. You can always sell it on ebay when you are done with it 😉 https://www.amazon.com/Service-Technical-Information-Compact-Digital/dp/B00KV315WI It's 29.99$ on ebay https://www.ebay.com/itm/Sharp-dx-110-service-manual-original-repair-book-stereo-cd-player/123711246781?hash=item1ccdc3d1bd:g:8RoAAOSwk~NZ2OdD
  13. If you open the unit up and find out what is wrong with it that will give you insight into what the problem is/was. If the problem is on the AC input side it may well be, as you say, a spike from the power source.
  14. I am confused by the circuit. If -v is grounded at connector CN1 then it is grounded at connector CN2 also. If so then capacitors C18,C19, C20, and C21 are grounded on both ends? Thus there would be no 1/2 voltage and +v would be at full voltage off the bridge rectifier? I must be reading the schematic wrong.
  15. the circuit below works in the LTspice simulator and as a prototype: Traces from the simulator: The green trace is the input from the sensor, the yellow trace is at pin 2, and the red trace is the output at pin 3. Note the positive going pulse when the input drops back to zero. That is why the Zener diode is required to limit it. Here it is a 15v Zener diode. The output from prototype the circuit: Here I am using 9 volts as I only have 12 volt Zeners. Here the blue trace is the trigger signal at pin 2 and the yellow trace is the output at pin 3 across a 150 ohm resistor for a relay load. The diode across the relay coil can be any general purpose diode like a 1N007 for example. The output is much wider then I would expect for R4 at 1Megohms and C3 at 1 microfarad. Expected 1 sec. not 1.4 There are numerous online calculators for calculating these values. The values for the resistors are not critical except what you pick for R4: R1: 1000 to 1500 ohms R2; 20k to 30K " R3: 30K to 50K " all work in the simulator.
×
×
  • Create New...