Comments (11)
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.
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.
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.
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.
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.
OK, I put the scope on the pico. GP3 is just 3.3v DC with no DCC signal.
from firmware.
Ah, ok - not good :-) Then I do need to double check why the GP is inverted only but the signal is missing...
from firmware.
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.
...validated signal output on inverted GP3 with https://github.com/pico-cs/firmware/releases/tag/v0.3.2
from firmware.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firmware.