Comments (3)
Cool, thanks.
The one i use is a bit shorter and uses Port calls directly. In AgOpenGPS it OR's or AND's the individual bits and then sends just one byte to Arduino. All the relays turn on or off at exactly the same time.
int inByte = 0; // incoming serial byte
void setup() {
//Pins 8 thru 12 as output, 8 is LSB
DDRB = B00011111;
//PORTB turn off 8 thru 12
PORTB = B00000000;
Serial.begin(9600);
while (!Serial) {}
establishContact(); // send a byte to establish contact until receiver responds
}
void loop() {
if (Serial.available() > 0)
{
// get incoming byte:
inByte = Serial.read();
Serial.print(inByte);
PORTB = inByte;
}
}
void establishContact() {
while (Serial.available() <= 0) {
Serial.print("X"); // send an initial string
delay(500);
}
}
from agopengps.
Hi Brian! I did see your new sketch to late.
At cerea they use another way. The gps software sends a string to the arduino.
each command beginns with @
then the use strings to assign the commands to different functions.
@hidraulic;1 or 0;End is for a hyraulic command to lift off the machine
@cera;gpsspeed;0 or 1;0 or 1; ..........;End is for controlling the sections.
maybe they use more commands in the future comming from the machine.
it is also possible the send commands from the arduino to the gpssoftware.
i have taken the allsprayer on/off signal from the sprayer to send it to gps software.
the software turns on/off the mark behind the trekkker. this is very usefull when driving a little outside the field.
i did not look in you source code. witch programming language is it?
what hardware are you using?
at the moment i am part of the german user group of cerea. cerea is a spanish software and the
support is terrible - but it is very cheap!
best regards andreas
[email protected]
+43 660 7669333 (whatsapp)
from agopengps.
I'm using C# and the application runs in windows, but it will also run in Linux thru wine. It will run in any windows 7 to 10. Never tried in XP.
I've watched some Youtube videos on Cerea. It is quite good, but as you say support would be difficult.
from agopengps.
Related Issues (20)
- AOG crashes on invalid config file HOT 2
- Serial monitor improvements
- Set IMU to 0 if there is no data present HOT 2
- Add more nuance to NTRIP server errors HOT 9
- Adaptive IMU-GPS balancing HOT 1
- IMU fusion slider can't exclude IMU HOT 2
- IMU Orientation isn't available in Steer Wizard HOT 4
- Distinguish between different "no signal" reasons HOT 2
- Option 'Dual As IMU' is in the wrong tab in the configuration. HOT 1
- JLCPCB order problem
- AgIO GUI displays incorrect LAT and LON Data HOT 6
- Lightbar adjustment missing? HOT 2
- Use IMU as a WAS HOT 9
- Agopengps HOT 1
- IMU Position compensation HOT 1
- Curves parallel to each other or crossing cause automatic steering to get confused
- taking into account the adjustment of the lightbar for use without autoguidance, particularly on quad HOT 2
- Window hidden because it appears out of screen HOT 2
- angle sensor HOT 4
- Speed indicator not working if there are no NMEA VTG message present 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 agopengps.