Jump to content
Electronics-Lab.com Community


  • Posts

  • Joined

  • Last visited

  • Days Won


HarryA last won the day on September 22

HarryA had the most liked content!

1 Follower

About HarryA

  • Birthday June 23

Profile Information

  • Gender
  • Location
    USA, Pennsylvania, Susquehanna County,
  • Interests
    Canoeing, woodworking, electronics, and gardening.

Recent Profile Visitors

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

HarryA's Achievements

  1. You can roll your own laser tachometer and mount it however you wish: https://www.youtube.com/watch?v=0UqHNrqmTRU
  2. See section [047] here: https://blog.podkalicki.com/100-projects-on-attiny13/ else you could rewrite the stepper.cpp library file for the ATtiny13A.
  3. I could not find any information on the Sonico Eastern er337. I take it that it runs off the 12 volt car battery. Also the output to the speaker is two wires so that must be mono not stereo output. You could try it and see how well it works. As the input is for a microphone it expects low level inputs.
  4. how-to-use-the-74hc595-shift-register-with-arduino
  5. Sorry I can not help you. There is a site that discusses a similar problem "How to set up Keil Logic Analyzer to Read Specific Pin?" Here: https://electronics.stackexchange.com/questions/348122/how-to-set-up-keil-logic-analyzer-to-read-specific-pin Also there is some information on Youtube on the Keil analyzer that maybe helpful.
  6. You can use the serial commucations control in VB (Visual Basic) to commucate with an Arduino board. This allows one to make a more formal interface to the board. The serial comm control is found in project/component/Microsoft Comm Control 6.0 in the VB visual studio. Selecting it adds it to the tool box. It can then be dragged on to the form. Its symbol looks like a telephone. In this example an Arduino board is controlling an electric motor via an H bridge circuit. The inputs to the bridge circuit are from pins 4, 5, 6, and 7 from the Arduino board. In the VB code below, the serial interface is setup on loading the form. And four buttons are added: forward, reverse, stop, and exit. On selecting a button it sends a signal to the board which in turn outputs signals to pairs of pins to the transistors in the H bridge. A more practical interface would have code to ask the user which comm port to connect with. ' VB 6 -motor control via Arduino UNO/Mega 2560 Private Sub Form_Load() MSComm1.RThreshold = 3 MSComm1.Settings = "9600,n,8,1" MSComm1.CommPort = 6 'use the one IDE uses MSComm1.PortOpen = True MSComm1.DTREnable = False Text1.Text = "" End Sub Private Sub FORWARD_Click() Text1.Text = "FORARD DIRECTION WAS SELECTED" MSComm1.Output = "f" End Sub Private Sub REVERSE_Click() Text1.Text = "REVERSE DIRECTION WAS SELECTED" MSComm1.Output = "r" End Sub Private Sub STOP_Click() Text1.Text = "STOP WAS SELECTED" MSComm1.Output = "s" End Sub Private Sub EXIT_Click() MSComm1.Output = "s" 'make sure motor is stopped Unload Me End Sub On the board side the Arduino code waits for a serial signal then sets or clears the outputs as required. //this program receives commands via the visual basic program running on the pc //based on: Patel, Ujash.: "Arduino + Visual Basic 6.0:Make your own software to control Arduino Robot //outputs to the four transistors in the // H bridge controling the motor int pin7 = 7; int pin6 = 6; int pin5 = 5; int pin4 = 4; void setup() { Serial.begin(9600); pinMode(pin7, OUTPUT); pinMode(pin6, OUTPUT); pinMode(pin5, OUTPUT); pinMode(pin4, OUTPUT); //all low/off = stopped digitalWrite(pin4,LOW); digitalWrite(pin5,LOW); digitalWrite(pin6,LOW); digitalWrite(pin7,LOW); } void loop() { if (Serial.available()) { int command = Serial.read(); //all low/off = stopped digitalWrite(pin4,LOW); digitalWrite(pin5,LOW); digitalWrite(pin6,LOW); digitalWrite(pin7,LOW); if (command=='f') //forward { digitalWrite(pin7,HIGH); digitalWrite(pin4,HIGH); } if(command=='r') //reverse { digitalWrite(pin5,HIGH); digitalWrite(pin6,HIGH); } //we initialize to stop with all LOWs above if(command=='s') command = 's'; //dummy statement }//end if(serial) }//end Loop() This project is based on Ujash Patel's book: "Arduino + Visual Basic 6.0: Make your own software to control Arduino Robot" . Amazon.com Kindle Edition.
  7. 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
  8. The 2sc5200 is a large "High-Fidelity Audio Output Amplifier" it would be used as the last stage in a mullti-transistor amplifier. What is the input in to your amplifier? Consider using an op amplifier that would give you a simple amplifier that could use a low level input and give you 5 watts or more output. The LM383/TDA2002 is an 8 watt power amplifier that uses 5 capacitors and 2 resistors. You can drive a 4 ohm speaker directly with It. As it is an old op amp you may find a more modern version of it. The LM383 is available on Ebay.
  9. You can find information on the subject at the NI subforum: https://forums.ni.com/t5/Instrument-Control-GPIB-Serial/bd-p/140?profile.language=en The NI discussion forum starts here: https://forums.ni.com/t5/Discussion-Forums/ct-p/discussion-forums?profile.language=en
  10. You can use the 1N5408 in place of the 1N5404 and you can use the 1N5404 in place of the 1N5408 if the voltage is less than a peak reverse voltage of 400 volts.
  11. Can you copy this code and paste it into the IDE and get it to compile? Be sure to select nano in the IDE tools->board = "Arduino Nano". This is for an ultrasonic device but for testing you do not need the device: #define trigPin 9 #define echoPin 10 long duration; int distance; long firstoff; int distancefirst; void setup() { Serial.begin(9600); pinMode(trigPin, OUTPUT); pinMode(echoPin, INPUT); delay(1000); digitalWrite(trigPin, HIGH); delayMicroseconds(10); digitalWrite(trigPin, LOW); firstoff = pulseIn(echoPin, HIGH); distancefirst = firstoff*0.034/2; // cm digitalWrite(trigPin, LOW); delayMicroseconds(2); digitalWrite(trigPin, HIGH); delayMicroseconds(10); digitalWrite(trigPin, LOW); duration = pulseIn(echoPin, HIGH); distance= duration*0.034/2; // cm //distance = duration * 0.0133 / 2; // in Serial.println(distance); delay(1000); Serial.println(distancefirst); if (distance <= distancefirst - 5) { tone(3, 500, 500); delay(500); tone(3, 800, 500); delay(500); delay(50); } } It is the first project from: https://create.arduino.cc/projecthub/projects/tags/nano
  12. Try https://search.yahoo.com/ I found all four that way!
  13. Hello everyone, good afternoon. I am new here. And I've been researching a common defect in a polk dsw pro5000 board. Whoever has the schematic diagram or gives me the list of the following components, I'm very grateful. D4 (?) C7 (?) Diodo? D5 (?) That is a 5000 not a 500? see: https://hardforum.com/threads/polk-audio-dsw-pro-500-no-power.1978149/
  14. If you download the lm3914.pdf file from TI you will see directions on how to program the current. I believe it is sinking current not supplying voltage. Also there are numerous web sites on how to build an LM3914 dot/bar display driver circuit. See: https://www.ti.com/product/LM3914 For others; this is what it looks like:
  15. This works well in the simulator using the transistors shown:
  • Create New...