hello, I am very new to raspberry pi. I started with arduino and want to move to raspberry pi because i wanna see if they are more reliable and also the ability to use remote desktop for trouble shooting. Here is my project i wanna end up with, Smartrek Technologies Monitoring System - YouTube (it does not have to be quite that advanced) . Arduino just hasn’t worked that good for me (not reliable enough) but i do like the code to program.
For that project u have to code alot to. im also using xbee 900hp radios that communicate with pi using UART
I have looked at geany ide as it is similar the arduino ide.Here is kinda what the pi has to do with the xbee;
if (Serial.available() >= 21) { // Make sure the frame is all there
if (Serial.read() == 0x7E) { // 7E is the start byte
for (int i = 1; i<19; i++) { // Skip ahead to the analog data
byte discardByte = Serial.read();
}
int analogMSB = Serial.read(); // Read the first analog byte data
int analogLSB = Serial.read(); // Read the second byte
int analogReading = analogLSB + (analogMSB * 256);
Serial.println(analogReading);
THANKS!! the arduino isn’t reliable because i have to reset it every so often. Or would u recommend putting my time in Arduino? I would like to get started with raspberry pi and i like the ability to remotely log in to it for troubleshooting purposes. My goal is to introduce this concept to the public market. Or do u think that i should use something else than a raspberry pi?
Can i not use geany than? (if not i will just have to learn python)
thanks again! regardless im not using arduino… I need to be able to connect remotely. i could do this via teamveiwer not? , Smartrek Technologies Monitoring System - YouTube is the concept. So i can download the cayenne library and use it in geany and write the program in C?
Now my last question is would u recommend using a pi for this application ? Is that going to be reliable enough? If no, Which modem should i be looking into?
all boards are reliable, it depends on factor like how you code it, not hitting rate limit, internet connectivity, power supply.
As i stated, what is the issue you are having with Arduino, so i can help you out fixing it out.
when using pi also you need to have the code correct, making sure you don’t hit rate limit.
sass321 You keep stating concerns with reliability. The device is only as reliable as the person programming it. Bad code entries are bad code entries and do not reflect on the reliability of the device. Also you seem to think Raspberry Pi and Arduino are equals or alternatives to each other. That’s not good logic and it says to need to study more about which device is better for a project, they are very different. The raspberry Pi is a full fledge computer and the Arduino is a controller board so how you approach them and use them is very different. To solve your reliability problems you need to get better educated about the Arduino and the Pi. Then you need to get a good understanding of the many ways to program these devices. Finally you need to clearly define what you’re attempting to achieve and then select either the Arduino, Pi or even the ESP8266. Good luck and keep in mind that the IOT world is all about learning from resolving errors and finding solutions.
Thank you. I understand that u could help me with my problems using the arduino. I am going to post the link again to show u my end project;
So the reason i like raspberry pi is that if later on i find that that is a tiny bug (which there will be), i can log into teamveiwer and edit the code, and do that all in my office. The other thing is that it does not have to be a raspberry pi just something that i can edit the code remotely.
I am afraid. If this is your concept that you are going to teach the world (i.e. Loging in remotely to fix something) than for your kind information the whole IOT world already know it.
I program medical devices to keep a track of patient’s sensitive data and I often reset their devices (fitted in their bodies) by Loging in remotely.
Perhaps we could help you better if you tell us what the problem really is. Problem has a solution while explanation not.