Comments (11)
I second this.
Or ideally make it allow custom pins!
from altsoftserial.
I do not understand what you are asking. Can you be more specific?
Is this only about adding extra words to the comment on this line?
https://github.com/PaulStoffregen/AltSoftSerial/blob/master/config/AltSoftSerial_Boards.h#L83
from altsoftserial.
And this file.
https://github.com/PaulStoffregen/AltSoftSerial/blob/master/examples/Test/Test.pde
While we're on the topic, why can't you customise the pins when initialising it? like with SoftwareSerial
from altsoftserial.
You can't choose the pin because AltSoftSerial uses the timer's input capture to receive and output compare to transmit. The timer inside the chip only has specific pins connected for those functions.
Using the timer is what makes AltSoftSerial different from regular SoftwareSerial.
from altsoftserial.
Aaah that's really interesting, thanks :)
from altsoftserial.
It would be good if the Arduino Pro Mini and its pins were added to the table on this page:
https://www.pjrc.com/teensy/td_libs_AltSoftSerial.html
I am using a Pro Mini and didn't know if this library will work, or what pins I should be using. If this library actually depends on the chipset, rather than the type of Arduino board, then it would be more more clear to edit that table and replace the Boards with actual Chipset. That would help noobs like me who don't know if the lib applies for my setup; and it would help people who have other (present & future) boards not listed in the table.
PS: Thanks for this lib! I was having trouble with with multiple SoftwareSerial connections and porting to this AltSoftSerial library required just changing the object initialization :)
from altsoftserial.
I do not have a Pro Mini. Can you supply the info for the documentation?
from altsoftserial.
Sure. What info do you need ? Just the chipset ?
from altsoftserial.
What info do you expect to see on the web page? Probably the pin numbers.
I'm looking to you to look at the code, Atmel datasheet, and schematic to figure this out, and for you to test and confirm the actual pin numbers.
Then I'll update the page. That's the only part I'm willing to do, update the documentation when someone gives me reliable info that they've personally confirmed actually works with the real hardware.
If you're expecting me to do all that work, which would also involve actually getting a Pro Mini... well, that's far more than I'm going to do to support Pro Mini. (as far as I'm concerned, you should buy a Teensy 2.0....)
All I'm willing to do is update the web page, after you do all the work to figure it out, and after you have actually confirmed it works by testing with an actual Pro Mini.
from altsoftserial.
Sorry to get into this too late.
When I opened the issue, I said that the pro mini will have the same pins
as the uno. I actually used it. I don't get the whole discussion.
If you would be so kind to just say that the pins for the pro mini will be
the same as the uno, this will actually close the issue.
Thank you.
—
Reply to this email directly or view it on GitHub
#2 (comment).
from altsoftserial.
Hi Paul,
Based on my experience with the Pro Mini, here's the information that I would find useful to see on the https://www.pjrc.com/teensy/td_libs_AltSoftSerial.html page.
Board | Transmit Pin | Receive Pin | Unusable PWM |
---|---|---|---|
Pro Mini 5V with Atmega328 | 9 | 8 | ???? |
I'm fairly new to electronics and to Git contributions, so I wasn't expecting you to do anything, but I was hoping that your experience would be useful with the following: I don't know enough about electronics and your code to be able to answer the following things:
- I don't know what PWM would become unusable Atmega328
- I don't know if this configuration (Tx=9, Rx=8) works for all Atmega328 chips on any Arduino board at both 3.3V and 5V, or just works on the Pro Mini 5V which I have. (If it applies for all Arduinos with Atmega328 chips, then the table should have a column for "Chip" rather than "Board")
- I don't know if this applies for other Pro Mini boards which contain Atmega168
Sorry I wish I had more experience in order to answer these questions myself and provide you with a simple and reliable answer !
from altsoftserial.
Related Issues (20)
- Arduino Robot HOT 5
- Problems with Arduino Nano HOT 1
- Bump version number
- Replacing Softwareserial by Altsoftserial HOT 1
- Lost answers UART HOT 4
- Elimininate 'unused parameter' warnings HOT 5
- Conflict with Servo: Multiple definitions HOT 6
- RX Buffer max size is 500byte? HOT 5
- The last two bytes reappear after flushing
- incompatible with nrf52 architecture Adafruit Feather nRF52 Bluefruit LE - nRF52832 HOT 1
- Support Arduino Nano Every HOT 3
- Support for Teensy 4.0 HOT 2
- Implement Inverse flag to invert sense of RX and TX like SoftwareSerial HOT 2
- Couldnt transmit correct data using AltSoftSerial HOT 3
- Support Request for Arduino Portenta HOT 1
- Can we use it on NodeMCU? HOT 1
- Add Support for ATMEGA328PB Please HOT 2
- Add Support for STM32F1, STM32F4, please
- Support for .findMulti();
- Add support for renesas_uno architecture HOT 2
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 altsoftserial.