Circuit Secrets

Circuit Secrets

Electronic and programing projects you cannot find anywhere else.

Arduino Project: DDS VFO

Arduino Project: DDS VFO

Arduino Library Management

Arduino Library Management

cb radio

cb radio

Relay and relay modules

Relay and relay modules

How To Make Encoder Wheels

How To Make Encoder Wheels

Пікірлер

  • @unixbehr
    @unixbehr10 күн бұрын

    why dont you post the full code where it can be downloaded and put it in the videio file area

  • @CircuitSecrets
    @CircuitSecrets10 күн бұрын

    I put the full code on my website circuitsecrets.com. There are a ton of source code and a few schematics and other files available there. There is no signup and the files are all free.

  • @qsdrfghgujfddyffguff
    @qsdrfghgujfddyffguff28 күн бұрын

    no code no use

  • @CircuitSecrets
    @CircuitSecrets27 күн бұрын

    All of the code for the VFO is on the circuit secrets website. circuitsecrets.com

  • @adnan-vo8pb
    @adnan-vo8pbАй бұрын

    hi

  • @robn2497
    @robn2497Ай бұрын

    why does the pico W need that information to compile a blink sketch?

  • @CircuitSecrets
    @CircuitSecretsАй бұрын

    I think its more the build tools that need all the excess information.

  • @robn2497
    @robn2497Ай бұрын

    @@CircuitSecrets thanks I finaly got picoW working after about 4 hours pico_cyw43_arch_none was missing from the links

  • @bazzaar1869
    @bazzaar18692 ай бұрын

    Please stop propagating the mistake of calling virtually any micro controller based signal gen/VFO "DDS". This isnt DDS. Thank you

  • @CircuitSecrets
    @CircuitSecrets2 ай бұрын

    DDS in this context stands for Direct Digital Synthesis. The SI5351 is a digital clock generator it directly synthesizes a signal based on a digital input signal which comes from the Arduino. So with all of those considerations, this design is simply a Direct Digital Synthesis VFO

  • @bazzaar1869
    @bazzaar18692 ай бұрын

    @@CircuitSecrets No, DDS is specifically a technique where a stored sample of a sine wave is clocked out of memory at varying rates to produce "directly" a sine wave at the desired frequency. Skyworks do not refer to their Si5351 as DDS, because it isnt. The Analogue Devices AD9850 IS a DDS synth and VFOs based on it can be called DDS. Do some research, dont repeat KZread misinfo. Thank you.

  • @CircuitSecrets
    @CircuitSecrets2 ай бұрын

    @@bazzaar1869 I just looked up the definition and utilization of DDS and you are correct. This is not DDS it could be said to be a PLL VFO but not a DDS, so thank you, I stand corrected.

  • @toufiktrb8843
    @toufiktrb88432 ай бұрын

    Sir help me please i need types freeRTOS

  • @CircuitSecrets
    @CircuitSecrets2 ай бұрын

    Types? Do you mean data types? Do you mean variations of freeRTOS?

  • @pa3eka
    @pa3eka2 ай бұрын

    Hello sir Thank you very much for the guiding, I wonder if it works Alston my tube radio Robijn T123 and the T123b these are both full tube radio I would appreciate it very much if you can take look at it Thanks in advance Bert

  • @CircuitSecrets
    @CircuitSecrets2 ай бұрын

    Yeah, the main connection would be to the 37.600 crystal position. The offset would be set to 10.635. Operation would be on channel 1. Double check all that with a dummy load, and frequency counter.

  • @pa3eka
    @pa3eka2 ай бұрын

    @@CircuitSecrets thank you very very much , I will try to measure , but did not have a lot time , Other projects keeping me busy 🙏🏻

  • @scaresandsparks
    @scaresandsparks2 ай бұрын

    It's a shame there's no integration of WiFi and browser etc.

  • @CircuitSecrets
    @CircuitSecrets2 ай бұрын

    I am looking to revamp a lot of the projects this fall. Wifi and browser or bluetooth is what I was thinking for this one. Just to make it nice to manually remote control.

  • @GusNava
    @GusNava3 ай бұрын

    I need help, I have try to install the kit in a cobra 25 everything works fine but the transmit does not have done everything but have no luck can someone who has done it give me a hand?

  • @CircuitSecrets
    @CircuitSecrets2 ай бұрын

    Did you bypass the transmit lock? If everything else is working, and the radio was transmitting before, that is where I would look.

  • @GusNava
    @GusNava2 ай бұрын

    Yes I did, the tx circuit works reducing the 5v to 2v going to D13 arduino right

  • @CircuitSecrets
    @CircuitSecrets2 ай бұрын

    @@GusNava I think you are confusing the tx lockout feature on the pll with the tx rx switching on the vfo.

  • @Mecatronica_Aplicada_CesarVas
    @Mecatronica_Aplicada_CesarVas3 ай бұрын

    Saludos Cesar Vasquez de Republica Dominicana ,Gracias por compartir sus conocimientos ,me gustaria saber si puedo leer las señales Step y Dir sin interrupciones del arduino,y como modificarla en su codigo,tengo un proyecto similar pero ejecutandose en Visual Basic 6.0, entre en mi canal para que pueda ver lo que he hecho,me gustaria ahora controlar mi cnc con GRBL y asi tener mas opciones ,pero la quiero controlar con dos arduinos ,uno con GRBL cargado y el otro con el codigo de control de los motores, gracias por todo

  • @CircuitSecrets
    @CircuitSecrets3 ай бұрын

    I would use a visual studio app for a gcode sender and control unit for the cnc. You can send code with that through the serial port and synchronize operations of the GRBL board. Motor control boards need to track both the input step and direction, and feedback from the encoder to adjust motor position. I hope this helps, good luck!

  • @Mecatronica_Aplicada_CesarVas
    @Mecatronica_Aplicada_CesarVas3 ай бұрын

    @@CircuitSecrets Gracias por Contestar,excuseme que parece que no me explique bien,con respecto a su proyecto , me gustaria ver la forma de leer las Señales Step y Dir en el arduino pero sin Utilizar Interrupciones Externas como estas ISR(PCINT1_vect) //read the data from port C the first two bits, ignore all others grblStepData=PINC & 0b00000011; sino hacerla de otra forma si la hay, con respecto a mi proyecto yo logre controlar los motores de mi CNC en Visual Basic enviandos los comabdos via serial y el arduino lo recibia y lo comparaba con la lectura de los encoder para ejecutar los movimientos ,en mis videos podra ver mi trabajo y si le intereza puede descargar los archivos que estan disponible, gracias por todo

  • @DiyintheGhetto
    @DiyintheGhetto3 ай бұрын

    Couple of questions I have. First one is I would love to do something like this but only to select the port and display the port number in a label. Is that possible? Second question is how would it know if it’s on the right comport? What I mean is if I have multiple of the same microcontroller how would it know it’s on the correct one if they all look the same?

  • @CircuitSecrets
    @CircuitSecrets3 ай бұрын

    Those are excellent questions and point out the issues of accessing hardware with an auto pairing method at runtime instead of keeping a master list somewhere. Ideally I imagine a mode that new hardware goes into on first run. It can pass its info into a central DB of some design, and all of the info would be together with the name of the device, its port number and everything else. Set a manual flag to initialize one port with the full device info.

  • @JLeppert
    @JLeppert3 ай бұрын

    This was intense, Incredible, informative. Tubes are the only thing that terrify me. Thanks for the info. Instant sub.

  • @CircuitSecrets
    @CircuitSecrets3 ай бұрын

    Thank you so much!

  • @mgutay
    @mgutay3 ай бұрын

    Thansk for the great video. I've only worked with high level languages like python and matlab and your explanations made this c code super understandable.

  • @CircuitSecrets
    @CircuitSecrets3 ай бұрын

    Thank you!

  • @tesrchannel
    @tesrchannel3 ай бұрын

    Thank you very much for sharing ♥.

  • @TornoyfresadoraRD
    @TornoyfresadoraRD4 ай бұрын

    Could you make a connection diagram of the H bridge? I'm using an l298n and it doesn't work for me, that's why I would like to see the pinout of the one you use and see if I can match it.

  • @CircuitSecrets
    @CircuitSecrets3 ай бұрын

    The connections to the hbridge should be the common ground of the grbl board to the digital ground of the Hbridge. The power supply of the grbl board to the digital power of the hbridge. The other two, the 2 digital control pins should be listed in the source code. The analog power in side of the Hbridge takes the ground and power from the motor supply. The output pins of the Hbridge takes the wires to the motor. There are 4 wires on the input side of the hbridge which are the 2 logic or control wires, the ground and the power supply of grbl board. The output side of the Hbridge is 4 wires, power, ground, and the two motor connections. The pinout is different for each Hbridge, so refer to the data sheet and the source code for the motor controller for more details.

  • @TornoyfresadoraRD
    @TornoyfresadoraRD3 ай бұрын

    @@CircuitSecrets Thank you very much 👍

  • @minkorrh
    @minkorrh4 ай бұрын

    Yep. It's not the killing part of the voltage/current you need to be afraid of, it's the maiming part. If you're dead, you don't need to worry about being maimed, and trying to do anything with half an arm is an exercise unto itself.

  • @TornoyfresadoraRD
    @TornoyfresadoraRD4 ай бұрын

    I would like to send you some images of the connection to evaluate why it does not work

  • @CircuitSecrets
    @CircuitSecrets4 ай бұрын

    There are too many wires to diagnose from a picture.The easiest way to troubleshoot the system is to work from the hbridge backwards. If the hbridge, motor and nano motor controller are working properly when you turn the motor the hbridge should activate and attempt to return the motor to its original place. You can use an led on the motor controller to test the encoder setup. If memory serves the led pin is listed in the sketch for the motor controller sketch. Make sure the digital grounds are all connected and the analog ground for the motor drive to the hbridge is separate from the digital grounds to prevent noise.

  • @TornoyfresadoraRD
    @TornoyfresadoraRD3 ай бұрын

    ​@@CircuitSecretsHello, I was once again forced to send to your country to buy the same module that you used in the video, I would like you to tell me what the pins are connected to (R Is and L Is) 😅

  • @TornoyfresadoraRD
    @TornoyfresadoraRD3 ай бұрын

    ​​@@CircuitSecretsI also need to know where you connect the pins (enable A and enable B), since in the video only the pwm lines come out of the Arduino nano, And the value of the resistances that the infrared receivers and the emitter have

  • @CircuitSecrets
    @CircuitSecrets3 ай бұрын

    @@TornoyfresadoraRDLpwm and Rpwm take the pwm output from the nano.

  • @TornoyfresadoraRD
    @TornoyfresadoraRD3 ай бұрын

    @@CircuitSecrets I think I did it 😅

  • @TornoyfresadoraRD
    @TornoyfresadoraRD4 ай бұрын

    Hello, I bought all the components and made the project but it doesn't work, I have an Arduino nano and an uno, the Arduino uno is running GRBL and the nano is running the code, which ground should I use?

  • @CircuitSecrets
    @CircuitSecrets4 ай бұрын

    All of the digital grounds should be together, the analog ground to the hbridge should be separate to avoid noise from the motor on the digital grounds.

  • @TornoyfresadoraRD
    @TornoyfresadoraRD4 ай бұрын

    Hello, is it strictly necessary for the encoder to emit two signals A and B? Could a motor run with just a signal?

  • @CircuitSecrets
    @CircuitSecrets4 ай бұрын

    The encoder provides feedback so the steps can be measured. Traditional cnc machines use stepper motors that move in steps, a D.C. motor has no steps so the movement must be measured. With this design a D.C. motor will simply keep turning if the control board receives a step command..

  • @TornoyfresadoraRD
    @TornoyfresadoraRD4 ай бұрын

    @@CircuitSecrets I have been able to notice in other examples of similar codes that the signals leave a gap causing the machine to ultimately not execute the movements with exact precision. Something similar has happened to you.?

  • @N00General
    @N00General4 ай бұрын

    Thank you, man, you saved a lot of my time 🙏 BTW, your intro is awesome 🎶

  • @CircuitSecrets
    @CircuitSecrets4 ай бұрын

    Thank you, I am glad to help.

  • @gabrielkevers8591
    @gabrielkevers85914 ай бұрын

    replace "git submodule update --init" with commande "git submodule init" and "git submodule update" if error 'error: pathspec '--init' did not match any file(s) known to git"

  • @andrechicone
    @andrechicone4 ай бұрын

    Great video e great generosity! Thank you!

  • @CircuitSecrets
    @CircuitSecrets4 ай бұрын

    Thank You!

  • @gruntohseven5803
    @gruntohseven58035 ай бұрын

    Sure,too easy.😅

  • @CircuitSecrets
    @CircuitSecrets5 ай бұрын

    The older radios with simple crystal mixing are all easy. A schematic and tech notes is all it takes to figure out, then swap a vfo with the proper offset for a crystal. Even more modern radios use mixing and you just bypass the vco and inject vfo in its place.

  • @plankalkulcompiler9468
    @plankalkulcompiler94686 ай бұрын

    Great video! Can I switch to different pins for i2c0 and i2c1 that we defined at void setup? Like in void loop can I define different Wire and Wire1 pins to use different devices on the same i2c channels?

  • @CircuitSecrets
    @CircuitSecrets6 ай бұрын

    Each device has its own address, you can access multiple devices on each channel.

  • @welvaardsbuik
    @welvaardsbuik7 ай бұрын

    got quite far but encoutering this. -- Configuring incomplete, errors occurred! [proc] The command: "C:\Program Files\CMake\bin\cmake.EXE" --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -C C:\pico\pico-sdk\pico-examples -SC:/pico/pico-sdk/pico-examples -Bc:/pico/pico-sdk/pico-examples/build -G Ninja exited with code: 1

  • @alabamacajun7791
    @alabamacajun77917 ай бұрын

    One nice feature on the 1363HVLN high voltage power supply is the enable. Not sure if many care but with a control/enable circuit you can delay power application to the plates. Nice amp and interesting to see a "Darlington" configuration in the second stage or does the term not apply in tubes.

  • @CircuitSecrets
    @CircuitSecrets7 ай бұрын

    Right having the ability to shut down or change the voltage output of the smps gives a lot of options. The first 2 stages are just a normal series layout, the 3rd stage is a parallel configuration. I do se what you mean about the 1st and 2nd stage looking like a darlington stage. Thank you!

  • @terencekaye9948
    @terencekaye99487 ай бұрын

    Where is the power supply schematic?

  • @CircuitSecrets
    @CircuitSecrets7 ай бұрын

    The lower half of the schematic shows the filter setup I use with the power supply module. The schematic of the module itself I do not have access to as I did not design the module. Wiring diagrams for the power supply module are available from shop-tes.com which is the site of the producer and distributor of the smps module.

  • @Stefanev
    @Stefanev8 ай бұрын

    Thanks 👍

  • @TornoyfresadoraRD
    @TornoyfresadoraRD9 ай бұрын

    Another question that I would also like you to answer is if you were able to completely finish the CNC machine and if you were able to use it perfectly without any deformation when machining the parts?

  • @CircuitSecrets
    @CircuitSecrets9 ай бұрын

    I got as far as milling part of the bed flat and had to tear it down to make room for other projects. I plan on putting it together again hopefully this winter and doing more with it. Especially since my videos about DC motor control and CNC have gotten more traffic lately.

  • @TornoyfresadoraRD
    @TornoyfresadoraRD9 ай бұрын

    @@CircuitSecrets Your idea is good because no one knows how to explain this thing about CNCs with DC motors. If possible, I would appreciate it if you added Spanish subtitles for the logic part in your next videos, since there is not a single video in my language. within all KZread that explains this

  • @CircuitSecrets
    @CircuitSecrets9 ай бұрын

    @@TornoyfresadoraRD I need to find a way to generate subtitles in different languages, maybe AI. If you know of a easy quick method let me know.

  • @TornoyfresadoraRD
    @TornoyfresadoraRD8 ай бұрын

    @@CircuitSecrets ok

  • @TornoyfresadoraRD
    @TornoyfresadoraRD8 ай бұрын

    @@CircuitSecrets Hello, give me some way to contact you to show you some projects, today I made a homemade driver for mach3 capable of receiving signals from the Chinese red mach3 card, this driver has the peculiarity that the power stage can be decoupled to increase according to need In the next few days I want to test your code for DC motors and encoders with mach3 and I would like to send you the results

  • @TornoyfresadoraRD
    @TornoyfresadoraRD9 ай бұрын

    Hello, would it be possible to use the Arduino nano part with everything and the servo motor as is for signals coming from mach3? or what can be done?

  • @CircuitSecrets
    @CircuitSecrets9 ай бұрын

    I have never used mach3, but if it gives step pulses and direction signals that a normal stepper motor controller uses then it should work to drive a motor, encoder, and Arduino nano set running as described.

  • @TornoyfresadoraRD
    @TornoyfresadoraRD9 ай бұрын

    @@CircuitSecrets I have seen that they make homemade drivers to work with the Chinese mach3 cards, they use the IC l297 which I have also seen in homemade drivers for motors with grbl, and they have in common that they connect in the same way both in the mach3 interface and in the arduino that carries the grbl firmware. I imagine that they should be very similar signals, another thing is that in mach3 you can configure the number of steps per revolution and also the time in milliseconds that each pulse lasts.

  • @CircuitSecrets
    @CircuitSecrets9 ай бұрын

    @@TornoyfresadoraRD Nice, yes that sounds like it would work.

  • @travisowensinstituteoftaek8069
    @travisowensinstituteoftaek80699 ай бұрын

    I have a cobra 29ltd classic I will donate for you to do a video on... 😊

  • @CircuitSecrets
    @CircuitSecrets9 ай бұрын

    Thanks for the offer!

  • @ericzerkle8486
    @ericzerkle84869 ай бұрын

    Why? It's an am only 23 ch, low power out. Waste of time.

  • @CircuitSecrets
    @CircuitSecrets9 ай бұрын

    It is the simplicity of the circuit. It makes for a good primer on how to modify the mixing circuits of radios. A simple cheap DIY approach that is meant to lower the entry point to learning and modifying radios. Anyone will feel comfortable experimenting with these methods on such a cheap radio, and if their experiment fails the education cost is still low.

  • @bruceclark5627
    @bruceclark56277 ай бұрын

    I bet you think the audio off of channel 6 is impressive.

  • @gautombose4172
    @gautombose417210 ай бұрын

    Hi. There is now one click download and setup available.

  • @johnluffman7954
    @johnluffman79542 ай бұрын

    Could you please share the one-click tool? Thanks.

  • @vintagetubeamplifiers
    @vintagetubeamplifiers10 ай бұрын

    I have a 1950's tube intercom that I plan on converting to a guitar preamp, this video is helping me figure out how to go about that. I plan on using the existing transformer that powered the 2 existing 12Au5's and a 50B5. I'd like to run two 12AX7's for higher gain.

  • @CircuitSecrets
    @CircuitSecrets10 ай бұрын

    Nice, just use caution transformers can be very dangerous, an smps can be dangerous too, but they don't run the risk of a short to the mains power.

  • @paultilley1209
    @paultilley120910 ай бұрын

    Add a vfo to a cobra 139 23 channel base station with upper and lower sideband please

  • @CircuitSecrets
    @CircuitSecrets10 ай бұрын

    I still have to do a revision for ssb, these are designed for AM, CW, FM only. I hope to get one done for that this fall or winter after I get a side band radio to use for a test bed.

  • @ericzerkle8486
    @ericzerkle84869 ай бұрын

    Why bother? Those are junk radios, only 8 to 10 on ssb. Don't polish a turd

  • @DennisMurphey
    @DennisMurphey10 ай бұрын

    I truy love this idea but i want to install it inside a Train Car. I have the boards and relays I use rectifier and Buck/Boost to regulate track power, and tips for mobile setup. Great share thank you so much. Trying to dream up a Halloween Car. Dennis at Frankentrain Laboratories

  • @CircuitSecrets
    @CircuitSecrets10 ай бұрын

    That is an awesome idea! I would use an arduino nano instead of the ESP32 for that especially if its HO scale or smaller. Other than that its the same thing, let me know when you get it done, would love to see it!

  • @KarlM777
    @KarlM77710 ай бұрын

    So I should be able to do this to a president washington base?

  • @CircuitSecrets
    @CircuitSecrets10 ай бұрын

    The Washington is a SSB radio, unfortunately the current vfo design has no offset for side band and no fine tune for clarification. I intend to add those features to a vfo design in the future. This design works great with AM, CW...

  • @KarlM777
    @KarlM77710 ай бұрын

    @@CircuitSecrets there is one on the market I've seen that has ssb capibility.

  • @CircuitSecrets
    @CircuitSecrets10 ай бұрын

    @@KarlM777 Yeah I saw that, my final version will be similar, but all open source. The firmware will be totally free as will the schematic design. I am not trying to sell anything, just educate as best I can. That is why the series on I2c explains all of the parts for the VFO, then I show how the vfo can be built with two different micro controllers, then a couple of installation videos.

  • @KarlM777
    @KarlM77710 ай бұрын

    @@CircuitSecrets I'll wait for yours. I like building things

  • @Guns_N_Gears
    @Guns_N_Gears11 ай бұрын

    Please do a video and sketch for an open vfo!!! Say 500khz-30mhz Love the vids!!

  • @CircuitSecrets
    @CircuitSecrets11 ай бұрын

    I am planning to release a video and code for one more VFO design this fall or winter.

  • @Guns_N_Gears
    @Guns_N_Gears11 ай бұрын

    @@CircuitSecrets AWESOME!

  • @_winston_smith_
    @_winston_smith_ Жыл бұрын

    Right at the end where of this video it tells you how to set the environment variables to build the TCP examples. I found that using set for all four did not work. Instead I had to use the following: set(PICO_BOARD pico_w CACHE STRING "Board type") add_compile_definitions(WIFI_SSID="yournetwork") add_compile_definitions(WIFI_PASSWORD="yourpassword") add_compile_definitions(TEST_TCP_SERVER_IP="youripaddress")

  • @CircuitSecrets
    @CircuitSecrets11 ай бұрын

    Strange, I will have to look into it. Maybe something has updated, but set seemed to work for me.

  • @hamradioliveguy5544
    @hamradioliveguy5544 Жыл бұрын

    Can you change the code for the 630 meter band? I know I cant, but it would be nice for my 630 meter transceiver. Crystals are hard to find.

  • @CircuitSecrets
    @CircuitSecrets Жыл бұрын

    I built the whole thing around the notion of using it for 10 and 11 meter. It would take a fair amount of work to convert it to that band, but it should be possible. I give a very detailed explanation of the operation through the I2c series, that and the source code should make it fairly straight forward to modify. Give it a try, I have faith in you.

  • @midhundathan4316
    @midhundathan4316 Жыл бұрын

    can u please tell us about the semaphr and queue

  • @CircuitSecrets
    @CircuitSecrets Жыл бұрын

    I am getting everything together for the next batch of videos, I will try to squeeze in these and explanations of a few other more advanced features of FreeRTOS then.

  • @alaingingras7224
    @alaingingras7224 Жыл бұрын

    The BEST tube preamp video to date!!! Why are you not an Astronaut!

  • @razaula
    @razaula Жыл бұрын

    Will this setup work to configure Adafruit’s 1.2” 4 digit 7 segment display? Adafruit is using a ht16k33 i2c backpack and I’m trying to use it with a raspberry pico. Thanks for the video!

  • @CircuitSecrets
    @CircuitSecrets Жыл бұрын

    I am not really familiar with that module. The biggest hang up I can think of is the default I2c pins in their library which I have not looked at. You will have to use a library for that specific module, but the examples in this series will at least show you how to find the address for the module.

  • @razaula
    @razaula Жыл бұрын

    I am kinda confused with the wiring. Would I connect both the raspberry pico and the peripheral (i2c module) like how I would normally and run the port scanner code from there?

  • @CircuitSecrets
    @CircuitSecrets Жыл бұрын

    @@razaula Yes just set the pins of the scanner code to the pins you are using, set the SDA and SCL inside setup.

  • @satguyou
    @satguyou Жыл бұрын

    If I use are arduino uno, I had a wire is going to be on the same pins as the nano, for the home built encoder. Or can you show a picture of wiring for encoder using uno, not nano.

  • @CircuitSecrets
    @CircuitSecrets Жыл бұрын

    Just use the same numbered pins and it should work fine. Digital pins 2 and 3 are used for the encoder. The nano and uno are pretty much the same I used the nano because they are cheaper and come in three packs which is perfect for three axis of motor control. Remember you still need another arduino for the grbl interpreter.

  • @satguyou
    @satguyou Жыл бұрын

    i am lost. How do i get 3 Arduino's to work together from one pc. how do i link them?? I am going to make a motor. controller. just need some help. can you put up a picture of how to wire them altogether?? I got it. Had a brain fart

  • @CircuitSecrets
    @CircuitSecrets Жыл бұрын

    The Arduino based grbl control board takes gcode from the computer and creates step and direction pulses on 3 separate channels(one for each axis). Each of the arduino motor controllers takes step pulses and controls an single axis. Look at any wiring diagram of a grbl control board connected to motor controllers, and replace the motor controllers with the arduino based motor controllers. P.C.>GRBL>>>motor controllers. Each of the 3 motor controllers has encoder, hbridge, power, ground, step and direction connections. The step and direction connections go to the GRBL board step and direction connections. I hope this helps, if not, let me know and I will try to create a wiring diagram and package it with the source code for the controller.

  • @woolfy02
    @woolfy02 Жыл бұрын

    I should be able to upload the .ino file to the Pico, correct? I have a esp32 project I wanted to try but, I want to convert it over to a pico. Changing everything over (Hardware / Software) is still confusing. lol.

  • @CircuitSecrets
    @CircuitSecrets Жыл бұрын

    The ino file is the source code, the arduino IDE uses a c compiler to link and compile the executable that is uploaded to the micro controller. Eventually I am going to do a video on porting from pico to ESP32 for the VFO project. I did a video that covers a little about porting the vfo project from the pico to arduino which might be useful for you. kzread.info/dash/bejne/kZaFz7OHn5u9hpM.html

  • @woolfy02
    @woolfy02 Жыл бұрын

    @@CircuitSecrets Thank you

  • @Guns_N_Gears
    @Guns_N_Gears Жыл бұрын

    I see you used an incremental encoder, which is good for mobile use. Do you know of an absolute encoder that will work with the kit? Thanks:)

  • @CircuitSecrets
    @CircuitSecrets Жыл бұрын

    An absolute encoder would require a complete rewrite, and it would be extremely cost prohibitive.

  • @Guns_N_Gears
    @Guns_N_Gears Жыл бұрын

    @@CircuitSecrets I actually am in the process of putting an arduino together now and took the encoder apart to have a look for the detent. There is a ring inside that is close to the shaft end that has the detent built in. I took a small screwdriver and flattened it out some and re-raisd the ring back up, the put it back together. In my case, I wanted smooth tuning, and this absolutely worked without any problems, and it still functions normally. I don't recommend anyone doing that for a mobile, tho.

  • @CircuitSecrets
    @CircuitSecrets Жыл бұрын

    @@Guns_N_Gears That is awesome! As long as it still works. The encoders I used to build the prototypes were really cheap and easily messed up so they would not read if too much side to side pressure was applied, seemed to damage contacts. Good luck!.

  • @KarlM777
    @KarlM77710 ай бұрын

    @@Guns_N_Gears get one from Yaesu for an HF rig.

  • @Guns_N_Gears
    @Guns_N_Gears10 ай бұрын

    @KarlM777 I have since found smooth mechanicals on the web @ about the same cost. The encoders that Yaesu and the like are optical style, and would require a program change. The style used like this video are mechanical type, basically a couple of pushbutton switches ganged into 1 rotary unit.

  • @kingkorg7583
    @kingkorg7583 Жыл бұрын

    Is it any problem if I use two back to back transformers to build an two 12ax7 preamp ? Will them be hot? 220-12v(1000ma) to 15v(500ma)-220v

  • @CircuitSecrets
    @CircuitSecrets Жыл бұрын

    That is basically a line isolation transformer, so in theory it could work, of course it would need rectification and a lot of filtering. Then you would still need another transformer to supply the filaments as the first stage seems too small to serve both purposes. Good luck.

  • @kingkorg7583
    @kingkorg7583 Жыл бұрын

    @@CircuitSecrets Thank you!

  • @CircuitSecrets
    @CircuitSecrets Жыл бұрын

    @@kingkorg7583 You are welcome, don't forget to watch the voltage after rectification and be cautious those voltages are enough to kill.

  • @richardbrown2290
    @richardbrown2290 Жыл бұрын

    have you posted the FreeRTOS code so we can test it out? If so what is the link. Thanks Richard

  • @CircuitSecrets
    @CircuitSecrets Жыл бұрын

    The examples from the video can be found at www.circuitsecrets.com

  • @richardbrown2290
    @richardbrown2290 Жыл бұрын

    @@CircuitSecrets Thanks. I was looking for help and I noticed that Mbed is a RTOS also.I may be wrong about that! Have you ever looked at that.. Thanks again Richard

  • @CircuitSecrets
    @CircuitSecrets Жыл бұрын

    @@richardbrown2290 I noticed it but have not actually tried it, so I can't help with that.

  • @messinasog
    @messinasog Жыл бұрын

    A friend buy an cobra 18 ltd and the pll is the same 9106 you think can i do the same process for 21 or 25 ?? The 18ltd dont have the L16 vco

  • @CircuitSecrets
    @CircuitSecrets Жыл бұрын

    If you can locate the vco and identify the output pin of its last transformer there should be no problem. Confirm that with a frequency counter with a coupling capacitor.