Jump to content
Electronics-Lab.com Community


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by HarryA

  1. It is not clear to me what you are trying to do. You say " I have been using the nano board for a long time now ". So you must have loaded programs into it? The Nano uses the ATmega328 the same AVR as the Uno. "Tried picking Uno board in tools menu". ? The Nano board is listed in the list of boards in the IDE is it not? https://docs.arduino.cc/hardware/nano "follow the links to the page that starts with; " Installing the AVR core The classic Arduino boards, including the favorites UNO, Nano and Mega, requires the AVR core to be installed to compile and upload sketches to your board. Fortunately, the classic IDE comes with the AVR core already pre-installed. This means that we only need to download and install the editor to start using our Arduino products.
  2. https://components101.com/sites/default/files/component_datasheet/AT89C51.pdf
  3. see recent post https://www.electronics-lab.com/community/index.php?/topic/48683-programming-the-atmega-328p-microcontroller-previous-article-on-this-subject/#comment-166370 I do not know anything about the Jaycar; sorry can not help you there. I just use the Arduino IDE. By the way there is a new version of the IDE; version 2.0 For those folks that use the IDE.
  4. If you look in the IDE at [tools] -> boards you will see the Nano and the Duemilanove. You will not see the port listed until you select the board and have a board or adapter connected. The Meg2560 has a different AVR microcontroller; an ATmega2560. If you search on Youtube for the FT232RL (the USB to serial/TTL Adapter) you will find numerous videos. Speaking of ports, the current port is shown in the IDE in [Tools] also in the Preferences file. The Preferences file can be found [file] -> Preferences. That brings up a pop up window containing the path to the file. Near the bottom of the file can be seen the comport listed in two places. Also in the Device Manager it is listed under Ports(COM & LPT). Device Manager is via [Windows] + [x]. Sometimes you can edit the Preferences file to bring the comport inline with the device port iIf the IDE gets confused. You may know this but others may not. (I screwed up the fonts by cut and past again)
  5. "What is the board type?" Note: when programming the Atmega328p MCU using the Arduino IDE, the matching board type you have to select is the “Arduino Duemilanove or Nano w/ ATmega328” board. :What port would this be? I take it to be the comport related to the IDE and PC. Shown in [tools] menu of the IDE. Connected to pins: 1,2,& 3 on the ATmega32 chip. https://www.electronics-lab.com/wp-content/uploads/2018/09/programming-Uno-on-breadboard.png For others the article is here: https://www.electronics-lab.com/project/programming-atmega328p-microcontroller-with-arduino-ide/
  6. In LTspice on selecting components open the directory [Power Products] in the listing find LTC3705 when you click on it you will see "Open this macromodel's example circuit" that will display the circuit. You can select RUN and the output display will come up. You can poke around the circuit with the "red probe" and see the various wave forms are there. You may know this already but other reads may not. Perhaps if you click on some other types there you will find more converters of interest; as it displays a brief description of each. The Analog site listed above is is busted. I got in once but never again. But if you search on LTC3703 off that page you will get some links that look like they may be helpful. This link seems to work. Gets you to where you can enter you requirements. https://www.analog.com/en/product-category/step-down-buck-regulators.html
  7. " {Bluetooth} It is mainly used as an alternative to wire connections, to exchange files between nearby portable devices and connect cell phones and music players with wireless headphones." You may violate some code of ethics by connecting two Bluetooth devices together by wire. https://en.wikipedia.org/wiki/Bluetooth One needs to know what type of devices you are using to have any idea how to interconnect them. If they have speakers or phone connections that would be a start. Class 1 Bluetooth devices have a range of about 100 meters.
  8. As this chip is made by Analog and Analog owns LTspice simulator the circuit appears in the simulator and can be explored there. The circuit there is slightly different. Note it uses the FDS6680A mosfets. If you want 10 amperes make sure the mosfets can handle the current. Go here and put in your requirements then you will see some 10 ampere chips: https://www.analog.com/en/parametricsearch/11491#/p5573=min|24&p5574=100|max&p5347=min|12&p5357=12|max&p5349=10|240&qsfv=vinmin|24_vinmax|100_vout|12_iout|10&p5362=Buck
  9. There is a lot to designing a dc to dc buck converter. For example see: https://www.maximintegrated.com/en/design/technical-documents/tutorials/2/2031.html You can buy one for far less than the cost of the parts to build one. See: https://www.amazon.com/Aceirmc-Converter-Adjustable-Regulator-Protection/dp/B0823MM1DV/ref=sr_1_6?crid=1AB7YZ4O9O8B0 You may find complete circuits on the internet. The inductor is the tricky part . What to use as a core and how to wind it for 20 amperes.
  10. "My inverter is not same to the real inverter working principle" What does your inverter look like? Schematic diagram? "Is there anyone suggest me a diagram for inverter" What type of inverter are your trying to build? Are you looking for 12 volts dc to 120/220 volts ac for example?
  11. "scan picc to see uid, sak, type, and data blocks." huh? The mfrc522 supports three interfaces: • Serial Peripheral Interface (SPI) • Serial UART (similar to RS232 with voltage levels dependant on pin voltage supply) • I2C-bus interface Which one are you using? What software are you using?
  12. Here are a couple of circuits that maybe helpful: https://www.homemade-circuits.com/dog-barking-preventer-circuit/#:~:text=Referring to the above shown dog bark inhibitor,using the IC2 and the speaker driver stage. and: https://www.electroschematics.com/dog-repellent-circuit/ Perhaps a piezoelectric transducer would be louder than a speaker. Would require a different driver circuit. I used a device that women carry for protection that contains a piezoelectric transducer in my cat detector. That is in the lower audio range of cause. It's very loud. I gather they work well in the ultrasonic range as they are used in ultrasonic cleaners.
  13. Pack of 5, T630mA250V, T630mA 250V, T630m 250V Cartridge Ceramic Fuses 5X20mm see for example: https://www.ebay.com/itm/151136254075?chn=ps&norover=1&mkevt=1&mkrid=711-213727-13078-0 T for time delay? From Amazon.com: Pack of 5, T630mAL250V, T630mA 250V, T630mL250V Cartridge Glass Fuses 5X20mm (3/16" X 3/4"), 630mA 250V, Slow-Blow (Time Delay)
  14. Looking on Ebay you see G04N60 from China. Not much help. Searching on A1F02LSIN takes you to this site; not very helpful but more interesting. https://www.barenecessities.com/product.aspx?pfid=Empreinte07151&cm_mmc=BPLA_NonBrand-_-Bra-_-Empreinte422-_-Empreinte07151&
  15. Do you think it is a D6Gi1K or D6GiLK ? After the G it looks like an aye i gather. Not even close: http://twitpic.com/d6gilk SOT323 is a SMD package type; it has only three leads. Often a transistor.
  16. I have for sometime now been dorking around with the MPU6050. I started out using Joop Brokking's code for a quadcopter but put it aside to educate myself on the PID software and the MPU6050 software. As you say there always seems to be problems with the MPU6060 code running away - the output of the formatted code seems to increase without limit. I am working with Joop Brokking's balancing beam code with and without the motors he uses to demonstrate using the MPU6050 and using the PID control software. That has the same problems. I migrated to Dejan_code.ino code because of its simplicity. That has stable 'raw' outputs of the MPU6050. And is well behaved; in that if you rotate the MPU6050 to some angle it shows some stable raw value and returns to the zeroed values on rotating it back to zero angle. The values around zero angle only vary by plus or minus 10 or less - I call that stable. That code contains a calibration functions that displays the values required to correct the raw outputs to near zero. These values are used later within the code for corrections. Manually updated. I am currently using this code to understand why the formatted code output is unstable by displaying the values at various stages in the program. I also looked the Digital_Level_v1.ino code (the yellow level) but had problems getting it to compile. I get an error "no 'uint8_t MPU6050_Base::dmpInitialize()' member function declared in class 'MPU6050_Base'" related to the MPU5060_6axis_MotionApp20.h file. This code is just to complex for me at this stage for what I want to do. The Dejan_code.ino code is perhaps the beat code to learn about the MPU6050 from. No PID! https://howtomechatronics.com/tutorials/arduino/arduino-and-mpu6050-accelerometer-and-gyroscope-tutorial/
  17. SQ2LA appears in these two by Google advance search but I could not find any info at the web site: http://www.smdmark.com/en-US/ic-492522.html
  18. You may find the ESP8266 WiFi transceiver interesting: https://circuitdigest.com/microcontroller-projects/getting-started-with-esp8266-module
  19. Sorry I can not help you. I would be challenged doing it with a microcontroller: https://arduinogetstarted.com/tutorials/arduino-send-email
  20. I used a infrared transistor as a detector and diode emitter to make measurements on my quadcopter by having the blade pass through a gap with one on each side. You can get similar optical detector devices already mounted in pairs and separate them I would think. See this one for example: https://www.ebay.com/itm/402866611861?hash=item5dccb8a695:g:uUEAAOSwby1gql8L or unmounted: https://www.ebay.com/itm/274298671466?hash=item3fdd79916a:g:j~YAAOSwWNNdp9Dl The data sheet with circuit can be found here: https://www.digikey.com/en/products/detail/omron-electronics-inc-emc-div/EE-SG3/31139?s=N4IgTCBcDaIAQHkBKBWADAFgLQDkAiIAugL5A Perhaps an enclosure like this?
  21. It is some where in here: So a henry = an ohm per hertz? see: https://en.wikipedia.org/wiki/Henry_(unit) See the RL calculator here: http://learningaboutelectronics.com/Articles/RC-RL-time-constant-calculator.php#answer2 I will try it in the tina-ti simulator - we have a mutual dislike for each other!
  22. It takes in the order of 200ms for the current to reach maximum in the simulator. The current through one coil is about 1.18 amperes. The voltage across the coils is about 200kv - you better wear rubber boots! Perhaps the simulator got carried away. There is an equation: time = inductance/resistance = 63% of the charge. So t= 0.380h /10 ohms would give 38ms. That would give 0.74amps at 48ms (38ms + 10ms pulse on delay) in the second waveform. That seems about right; at the white dot.
  23. Using the circuit below with an 2.5ms wide pulse at 10v with rise and fall times of 100ns in the simulator I get the wave forms below. The green trace is the input at the base of the mosfet, the yellow trace is the current through one of the coils while the red trace is the voltage across the coils. I will try increasing the pulse width until the current reaches steady state and see what is looks like and post it later. I do not understand the current.
  24. Looks impressive! Do you have an idea of the inductance of the coils? I could play with it in the simulator.
  25. Is the pulse width large enough for the coil current to reach maximum? I would think current should get to something like (12v - mosfet saturation voltage)/Rcoil. Also the break down voltage of the mosfet and its diode may come in to play at high voltages? for others:
  • Create New...