This is my first post here so I hope it is in the right place.
I have a sparkfun serial LCD display and a simple program that works ok on the UNO but on the pro mini displays garbage.
My research leads to me to think that it is a serial port baud rate problem related. The link below seems to describe the problem exactly and provides a solution that, unfortunately, does not work. I copied in the modified HardwareSerial.cpp and HardwareSerial.h but nothing would compile so I put it back to the originals.
It seems to me that this is a well known problem and since I am running arduino 1.5 I thought it had been solved.
I'm at a loss on how to solve this problem.
regards
Grant
I have made some progress = workaround. By setting the baud rate to 19200 it works ok even though the display is at 9600 baud.
My next problem is with the DallasTemperature one wire library and I suspect it is the same problem. A ds18b20 works fine on the uno but will not work on the pro mini. I updated the dallas library to the latest but this has made no difference.
I have tried both powered and parasitic mode. Both ok on UNO - both no sensor found on the pro mini.
Have I made a mistake buying these little ones ? Is there a systematic problem with the clock speed and libraries ?
I got out a magnifying glass and checked the board. It is 3.3v 8Mhz.
I checked the order and shipping note - both say 5v 16Mhz. So there ya go. They sent the wrong thing. I did not even check that because we only buy 5v stuff.
I got out a magnifying glass and checked the board. It is 3.3v 8Mhz.
I checked the order and shipping note - both say 5v 16Mhz. So there ya go. They sent the wrong thing. I did not even check that because we only buy 5v stuff.
There's no reason it won't run at 5V if you bypass the on-board regulator (ie. put 5V directly to the Vcc pin). You're stuck with the 8MHz though.
I recompiled everything for a 3.3v 8Mhz and voila it all started working. The only draw back is that my LCD units are 5v so I have ordered a 3.3v LCD and in the meantime providing 5v separately to the LCD.
Even though I usually use 5v "everything", this particular project does lend itself to 3.3v and so I'll keep these boards and just use them up.