Page 1 of 1

programmable output

Posted: Sat Jan 18, 2025 2:38 pm
by Jason Rouillard
Hi,
I try to understand how i can wire my speeduino to use programmable output. In documentation, it's write: The pin selected is the one on Arduino. How i can know where this pin go on board ? I looked in schematic on github, but i don't find what i want.

Also, can i ground a 12v or i need to only ground a 5v ?

Thanks a lot
Jason

Re: programmable output

Posted: Sat Jan 18, 2025 3:56 pm
by digmorepaka
Jason Rouillard wrote: Sat Jan 18, 2025 2:38 pm I try to understand how i can wire my speeduino to use programmable output. In documentation, it's write: The pin selected is the one on Arduino. How i can know where this pin go on board ? I looked in schematic on github, but i don't find what i want.
It is the pin number specified in the arduino framework in software, with a standard arduino board it is quite simple, when you look at the arduino board itself there are labels for the pins. If you have a board that uses the mega chip directly you have to cross reference the pin numbering in arduino vs IC pin number. Eg on the mega pin 30 is PC7, pin 32 is PC5... etc. Latter applies to STM32 and Teensy boards respectively.
Jason Rouillard wrote: Sat Jan 18, 2025 2:38 pm Also, can i ground a 12v or i need to only ground a 5v ?
This would cause a short in either case, but I'm assuming we're hitting a language barrier. If you can try to draw a schematic of what you're trying to describe.

Re: programmable output

Posted: Sun Jan 19, 2025 1:48 pm
by Jason Rouillard
Thanks,

I found in this page 2 tables of which pin go where. https://wiki.speeduino.com/en/boards/V04

But, documentation not have a real cross reference table.

If I want to use the pin 43. How i can know where it goes ?

For the ground. I just want to understand the limit of programmable output. Exemple, if I want to drive a 12V solenoid with ground. Can I ?

Thanks

Re: programmable output

Posted: Sun Jan 19, 2025 2:34 pm
by digmorepaka
Jason Rouillard wrote: Sun Jan 19, 2025 1:48 pm Thanks,

I found in this page 2 tables of which pin go where. https://wiki.speeduino.com/en/boards/V04

But, documentation not have a real cross reference table.
If I want to use the pin 43. How i can know where it goes ?
https://wiki.speeduino.com/en/boards/V0 ... mber-chart
Here's a list of what pins are used for what by default. 43 for example is internally wired for reset control, so don't use that.

https://wiki.speeduino.com/en/boards/V0 ... default-io
Here's a list of which pins are used for what auxiliary functions with low side mosfets and inputs for extra sensors and their respective pin numbers, you can utilize these for programmable outputs when you aren't using their primary function on that particular pin.
You can also utilize any other pins that aren't in use, but some may need extra circuits added to serve the function you want.
Jason Rouillard wrote: Sun Jan 19, 2025 1:48 pm For the ground. I just want to understand the limit of programmable output. Exemple, if I want to drive a 12V solenoid with ground. Can I ?
That depends, if you wire it to a pin such as boost(arduino pin 35) then yeah it will work just fine,

Re: programmable output

Posted: Sun Jan 19, 2025 3:46 pm
by Jason Rouillard
I understand better !

Thanks a lot