Latest activity

  • T
    Hey, yeah they have all been Macbooks with usb-c ports. I have been using an Apple usb-c to usb-a adapter (designed by apple) to power and communicate with the teensy. When you say USB hub, are you talking about a powered USB hub? What would the...
  • R
    rayjorgensen replied to the thread PWM help.
    The commercial units are running 10 - 20 Hz John Deere is running 15Hz with a dual boom which they are saying then runs at 30 Hz. All it is is the booms are staggered firing. I guess you can add 15 + 15 call it 30 and charge double for it...
  • R
    I got my 3.97" NT35510 display in, 8/16 bit parallel, 800*480 resolution at 16bpp. Which branch of @mjs513 fork should I use? gfx_flexio ? Do I need @KurtE new FlexIO library? And does DMA work on 16 bit bus? or is only 8 bit supported?
  • D
    Dogbone06 reacted to KurtE's post in the thread MKL02Z32 required pins with Like Like.
    In cases like this, I often look at the most recent products with the schematic. With the T4.x it is the Sparkfun MicroMod If you look at their Schematic: So probably why they have the label DEBUG_EN
  • S
    sndsgd reacted to KurtE's post in the thread MKL02Z32 required pins with Like Like.
    In cases like this, I often look at the most recent products with the schematic. With the T4.x it is the Sparkfun MicroMod If you look at their Schematic: So probably why they have the label DEBUG_EN
  • PaulStoffregen
    Are these all Macintosh computers with USB-C ports? They might be looking for 5.1K pulldown resistors on the CC pins to know what type of power to send. If you have USB cables that only have wires and lack those resistors, most PCs will default...
  • luni
    luni replied to the thread How do you organize large sketches?.
    Actually you can by using anonymous namespaces. Here an example: test.h #pragma once namespace someNamespace { extern int getVar(); extern int publicVar; } test.cpp namespace someNamespace { namespace // anonymous/private namespace...
  • PaulStoffregen
    PaulStoffregen replied to the thread PWM help.
    If we're talking about on/off pulsing, like 1 to 10 Hz speeds, just know that's much too slow for the PWM hardware with analogWrite(). You'll need to write code using digitalWrite() and timing stuff like elapsedMillis for such very slow speeds.
  • T
    Hey guys, I seem to be facing the same problem again even while using a different computer. This is really frustrating – it was working earlier and now its beginning to disconnect from the port whenever I run any audio-related code. Any help...
  • KurtE
    KurtE replied to the thread MKL02Z32 required pins.
    In cases like this, I often look at the most recent products with the schematic. With the T4.x it is the Sparkfun MicroMod If you look at their Schematic: So probably why they have the label DEBUG_EN
    • 1721667963488.png
    • 1721668006176.png
  • luni
    luni replied to the thread TeensyTimerTool.
    @joepasquariello. Yes this is a lambda expression. Here some explanation about the origin of the name: https://www.baeldung.com/cs/lambda-functions . Actually the c++ syntax for lambdas is quite simple and logical. Here the full (AFAIK) syntax...
  • R
    Since there are so many synth projects on this forum, yet just a few talk about controllers for synths, I would like to introduce you to one of the projects I've been working on for some time... and I'm trying to motivate myself to finish it...
  • S
    sndsgd replied to the thread MKL02Z32 required pins.
    My main hesitation around connecting it is that I don't know if doing that will have some sort of impact on the sdram functionality. This snippet from the hardware design guide is what is causing my anxiety: The SDRAM interface (running at up to...
  • mjs513
    mjs513 reacted to wwatson's post in the thread RA8876 Parallel Display Library Testing with Like Like.
    @KurtE @mjs513 - I have to go out for a while but will finish fixing my mess up when I get back...
  • mjs513
    mjs513 reacted to KurtE's post in the thread RA8876 Parallel Display Library Testing with Like Like.
    No Hurry...
  • J
    joepasquariello replied to the thread PWM help.
    I was thinking he just meant on/off with variable duty cycle, as opposed to partially open as a function of duty cycle.
  • wwatson
    wwatson reacted to KurtE's post in the thread RA8876 Parallel Display Library Testing with Like Like.
    No Hurry...
  • KurtE
    No Hurry...
  • KurtE
    KurtE reacted to wwatson's post in the thread RA8876 Parallel Display Library Testing with Like Like.
    @KurtE @mjs513 - I have to go out for a while but will finish fixing my mess up when I get back...
  • KurtE
    KurtE reacted to wwatson's post in the thread RA8876 Parallel Display Library Testing with Like Like.
    Yep, it's not working here either. I'll check the latest backup and push it up...
  • R
    rayjorgensen replied to the thread PWM help.
    I have done some testing and a guy in Greece has done more than me with the same valves so I feel pretty confident. After I get the new parts I'll run more tests. Heck at only $30 for the valve I'm getting that much learning and fun!!
  • PaulStoffregen
    PaulStoffregen replied to the thread PWM help.
    Have you tested your solenoid and whatever valve and other mechanical hardware to check if actually works in a continuously variable manner? Probably the simplest way to test would be the power the solenoid from a lab bench power supply that...
  • K
    Hi, I'm a little late to the party. Has anyone had a bug where the HTTP Response Header gets not send correctly? Instead of HTTP/1.1 200 OK I receive something like (0xf8 cc 00 20 f8 cc 00) 200 OK This happens somethings when I hit the Server...
  • T
    I tried using a different macbook (I think there were existing issues with the ports on the current one I was using) and ran the guitar sythesis example code and it worked! So I think this was just an issue with the computer I was using. Thanks...
  • J
    joepasquariello reacted to rayjorgensen's post in the thread PWM help with Like Like.
    Nope I'm planning on analogWrite(). Each nozzle has a flow meter and based on the flow rate will feed to a PID and then analogWrite(OUTPUT);. The equal on off in the original post was just where I left off playing with it. There was no special...
  • R
    rayjorgensen replied to the thread PWM help.
    Nope I'm planning on analogWrite(). Each nozzle has a flow meter and based on the flow rate will feed to a PID and then analogWrite(OUTPUT);. The equal on off in the original post was just where I left off playing with it. There was no special...
  • J
    joepasquariello replied to the thread TeensyTimerTool.
    @luni, I gather this syntax is a called a lambda? I will remember it as a clear and simple example of how to use it to define a function "inline" rather than separately. Do you have any insight into why this syntax is called "lambda", or why it...
  • J
    joepasquariello reacted to luni's post in the thread TeensyTimerTool with Like Like.
    Sorry, that was a bug. Can you try version 1.4.3? The following code correctly generates 500kHz signals on pin 0 and 1 using the PIT and GPT1 modules. It works for 24Mhz and 150MHz clock frequency settings. #include "TeensyTimerTool.h" using...
  • J
    joepasquariello replied to the thread PWM help.
    His original example showed equal on/off time, but guessing he will vary duty cycle to control spray. He says 10-20 Hz, so likely will use digitalWriteFast() rather than analogWrite().
  • wwatson
    @KurtE @mjs513 - I have to go out for a while but will finish fixing my mess up when I get back...
  • R
    I am reallyinterested in how you get on. I was just posting about plans (well - aspirations) to do something just like this. I was inspired by posts in this thread then posted my ideas in this thread but whilst doing that I came across your post...
  • R
    I have been working on a model rocket flight computer based off of the Teensy 3.6 and I'm kind of paranoid about weather it's going to work or not since im pretty much self taught on pcb design. I have removed the 5V regulator, removed the two...
    • Screenshot 2024-07-22 at 9.26.09 AM.png
  • mjs513
    mjs513 reacted to wwatson's post in the thread RA8876 Parallel Display Library Testing with Like Like.
    Yep, it's not working here either. I'll check the latest backup and push it up...
  • mjs513
    mjs513 reacted to KurtE's post in the thread RA8876 Parallel Display Library Testing with Sad Sad.
    @wwatson and @mjs513 - I am not having any luck with the DMA stuff running on the 16 bit bus with the current stuff in the master branch. Are you having any luck? If I run it, at 16 bits, it looks like: This is the TestDMA sketch, the T4.1 and...
  • KurtE
    @KurtE - got a fail - on first two builds ... user errors :( Did this in the Clean DUPE install of 1.8.19 and TD 1.59: >> First was not getting full path copy into mklink :( >> Second was restoring to cores_release - then proper mklink and it...
  • R
    rayjorgensen replied to the thread PWM help.
    Thanks for all the help!! I was going to use a fly back diode but I would have used the IN4007!! I'll look for a fast one. The end result will be a PWN based sprayer. I couldn't get pwm to work so I backed up to digitalWrite. (didn't work...
  • wwatson
    Yep, it's not working here either. I'll check the latest backup and push it up...
  • wwatson
    I will check here. I have been playing with the async_wip branch. Hopefully I did not mess up and push up changes for that...
  • G
    Gibbedy replied to the thread PWM help.
    rayjorgensen‘s ultimate goal is driving a solenoid with Pwm. He started by requesting help in getting one to switch at all as this wasn’t working for him.The discussion has been around that. Or are you asking why one would want to drive a...
  • wwatson
    @KurtE - This did not work correctly: // try to setup for 8 or 16 bits... uint8_t MulBeatWR_BeatQty = SHIFTNUM * sizeof(uint32_t) / _bus_width; //Number of beats = number of shifters * beats per shifter I had to multiply the result by 8 to...
  • KurtE
    @wwatson and @mjs513 - I am not having any luck with the DMA stuff running on the 16 bit bus with the current stuff in the master branch. Are you having any luck? If I run it, at 16 bits, it looks like: This is the TestDMA sketch, the T4.1 and...
    • 1721650851056.png
  • KrisKasprzak
    KrisKasprzak replied to the thread PWM help.
    Above discussion looks like the circuit will be just switching on and off. I'm curious as to why PWM was mentioned in the original post.
  • BriComp
    If you use VisualMicro for VisualStudio (Comunity version) this is not a problem. You can open any number of files from any number of directories and work on them all.
  • luni
    luni replied to the thread TeensyTimerTool.
    Sorry, that was a bug. Can you try version 1.4.3? The following code correctly generates 500kHz signals on pin 0 and 1 using the PIT and GPT1 modules. It works for 24Mhz and 150MHz clock frequency settings. #include "TeensyTimerTool.h" using...
  • manicksan
    @ Arduino IDE 2 there is a setting "Show files inside Sketches" (note the sketch project need to be in the "Sketchbook location"@settings for this to work) which enables the following: note that you can close files that have been opened from...
    • Arduino2sketchContents.png
  • mjs513
    Quick note: The way I have mine setup is like: C:\Users\kurte\AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0>dir Volume in drive C is OS Volume Serial Number is 7E8D-E873 Directory of...
  • G
    Gibbedy replied to the thread PWM help.
    Like paul says, and I probably should have said.. get a diode on there. I looked up my notes on that project and I measured 450V from the 12VDC solenoid valve I was using when switched instantly using some wire!!. I'm not fully convinced I...
    • 1.jpg
    • 2.jpg
    • 3.jpg
    • 4.jpg
  • ninja2
    ninja2 reacted to AndyA's post in the thread How do you organize large sketches? with Like Like.
    Mostly an extra level of organisation and structure. The arduino build system assumes all your code is either in the top level directory or the src sub directory. But within the src subdirectory you can have any structure you want. e.g. for one...
  • PaulStoffregen
    PaulStoffregen replied to the thread PWM help.
    Whatever transistor you end up using, please also be aware of the need for a "flyback" diode wired in parallel with the solenoid. Maybe you're already know this? If not, here's a quick mention which can hopefully save you from a lot of painful...
  • A
    Yes. When you perform a build in arduino the entire src directory, including all subdirectories and their contents, is copied to the temporary directory that it then uses to perform the build.
Back
Top