-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wifirm04 with arduino UNO #10
Comments
I Just looked at your comments. |
I tried to use softwareserial and modified RM04 library as here: Then i Tried to change word softwareserial to altsoftserial and i still recieve Please! How do I need to modify Library to use it with altsoftserial and how i can change the baud of altsoftserial(maybe the problem is in baudrate)? |
I Changed And I changet settings in board web interface - Serial configure = 19200,8,n,1 I didn't change alsoftlibrary(i look in config folder and known cards, so find 8,9 pins there as default pins for altsoftserial) |
hi skorphil . |
hi, commissar. |
Comissar, if you'll find the solution please let me know. |
hi, skorphil. |
I tried this with arduino Leonardo and leonardo broked after uploading the test sketch "scan for wifi" Ahaha! Hope rewriting bootloader will help. Also I tried it with Arduino Mega without success... no resp or simillar errors. It seems like it's time to buy yun and dont waste time with this stupid HLK-RM04. )))) |
hi, skorphil. If not think in terms of cost, I will choose yun. |
Sounds like you forgot the escape pin? |
Exactly... thank you for the library ana support
|
Yes, it seems like this! But, where is escape pin and how can I use it? Sorry, I didn't find related info in google. Escape pin on uno or onrm04? |
pin 10 in hlk-rm04 goes with pin 21 in arduino mega. I think you can change
|
Thank you very much! I'll try it. So, I need to connect escape pin(10) of rm04 to arduino digital port(which can be changed in library). |
Skorphil did you have any succes? Iam trying to get it up and running with my Arduino UNO but iam stuck at this moment. |
Sebastian since your using uno and it only has 1 serial port make sure you change your serial in at-drv file. Modify both serial variables to point to serial and not serial 1 and 2 |
Hi! Thanks for your reply so fast. The problem is that i do not quite know how i achieve this. The at-drv file is new to me. Verstuurd vanaf mijn iPhone
|
It may be easier to buy an arduino mega 2560 since it has more than one port for serial. Also this library comes configured to use that board. It will compile effortlessly. |
Mmm it doesnt feel right to buy a whole new board haha! You cant walk me trough the proces by any chance? |
Also keep in mind you won't be able to debug via hardware serial if you use uno. That's the main reason I would use mega 2560 $15 on eBay. You could slightly modify your code later so it will run on uno after you code it and debug it. Basically using mega 2560 only for debugging purposes. If you really wanted to use the UNOs chip. |
Alright you have me sold! 2014-04-09 23:39 GMT+02:00 sonicgadgets [email protected]:
Sebastiaan ten Hoorn Studentnummer: 0855374 |
Hi, Thanks for this library!
Is it a way to connect HLK-RM04 to arduino UNO? It seems like it doesn't work on serial port. Can I use softwareserial somehow?
The text was updated successfully, but these errors were encountered: