Giter VIP home page Giter VIP logo

Comments (11)

stfnmllr avatar stfnmllr commented on June 21, 2024

You might test https://github.com/pico-cs/firmware/releases/tag/v0.3.0. With this version an inverted DCC signal is available at GP3.

from firmware.

maxlock avatar maxlock commented on June 21, 2024

Thanks, something isn't quite right, with my inverter in place feeding an hbridge I get the correct signal at the rails. Disconnecting the hbridge from the inverted signal and connecting to the pico inverted output, I only see the signal on one rail. I'll put my scope on the pico later and give you a better description.

from firmware.

stfnmllr avatar stfnmllr commented on June 21, 2024

Hm, I guess your wiring needs to use both outputs - the normal and the inverted one - maybe https://dcc-ex.com/reference/hardware/motorboards/L298N-motor-board-setup.html would be of help or is it that the inverted signal never 'delivers' a high state?

from firmware.

maxlock avatar maxlock commented on June 21, 2024

Yes, that's very similar to the hbridge module I'm testing with. I think a good test would be a two LEDs connected in opposing orientation across the inverted and non-inverted pico outputs. If both LEDs light then it's working. If only one, then it's not. I'll test later today.

from firmware.

maxlock avatar maxlock commented on June 21, 2024

I did a quick test, with two LEDs across the pico signal outputs, and I only get one lit, so either the inverted output isn't in phase with the non-inverted output or the non-inverted output isn't working. I'll probe it with my scope later this evening.

from firmware.

maxlock avatar maxlock commented on June 21, 2024

OK, I put the scope on the pico. GP3 is just 3.3v DC with no DCC signal.

from firmware.

stfnmllr avatar stfnmllr commented on June 21, 2024

Ah, ok - not good :-) Then I do need to double check why the GP is inverted only but the signal is missing...

from firmware.

stfnmllr avatar stfnmllr commented on June 21, 2024

If you want you might give it another try with https://github.com/pico-cs/firmware/tree/v0.3.2-rc1 - cannot test currently, so I would only be able to confirm later...

from firmware.

stfnmllr avatar stfnmllr commented on June 21, 2024

...validated signal output on inverted GP3 with https://github.com/pico-cs/firmware/releases/tag/v0.3.2

from firmware.

maxlock avatar maxlock commented on June 21, 2024

Excellent! I've just tested with a couple of LEDs and both are lit. I'll give it a proper test with a loco later. Thanks for addiing this!

from firmware.

maxlock avatar maxlock commented on June 21, 2024

I've just tested with a loco, and it works great. Additionally the adc and gpio functions are exactly what I was thinking could be done as well. Thanks! :D

from firmware.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.