Ardunio n00b needs some help!
-
@mvader yes it's in the Arduino IDE. See right above for the button to open the serial monitor. Make sure you select the right baudrate once the monitor has opened. Should be 115.200 by default I believe.
BR
Boozz@boozz said:
@mvader yes it's in the Arduino IDE. See right above for the button to open the serial monitor. Make sure you select the right baudrate once the monitor has opened. Should be 115.200 by default I believe.
BR
Boozzthe port speed seemed to do the trick, thanks for that.
sadly, i keep getting the
0;0;3;0;9;check wires message
I've removed the radio and the ethernet shield, recompiled and re-uploaded many times.
still get the same message. even with the just the uno.
the power is coming from my laptop usb port, I verified i'm seeing 3.3 and 5v on the uno
using both code bender and arduino ide software, i get no errors during compile or upload.
I also did try to edit and enable the softspi include file.
again recompile/re-up
still the same 0;0;3;0;9;check wiresany suggestions?
thanks!
edit: just to make sure my process and equipment worked.
i uploaded the "simple web server" sketch and it did indeed work
so the board and shield seem to be good. I'm just having a problem getting the gateway code to work with it. -
@boozz said:
@mvader yes it's in the Arduino IDE. See right above for the button to open the serial monitor. Make sure you select the right baudrate once the monitor has opened. Should be 115.200 by default I believe.
BR
Boozzthe port speed seemed to do the trick, thanks for that.
sadly, i keep getting the
0;0;3;0;9;check wires message
I've removed the radio and the ethernet shield, recompiled and re-uploaded many times.
still get the same message. even with the just the uno.
the power is coming from my laptop usb port, I verified i'm seeing 3.3 and 5v on the uno
using both code bender and arduino ide software, i get no errors during compile or upload.
I also did try to edit and enable the softspi include file.
again recompile/re-up
still the same 0;0;3;0;9;check wiresany suggestions?
thanks!
edit: just to make sure my process and equipment worked.
i uploaded the "simple web server" sketch and it did indeed work
so the board and shield seem to be good. I'm just having a problem getting the gateway code to work with it. -
@boozz said:
@mvader yes it's in the Arduino IDE. See right above for the button to open the serial monitor. Make sure you select the right baudrate once the monitor has opened. Should be 115.200 by default I believe.
BR
Boozzthe port speed seemed to do the trick, thanks for that.
sadly, i keep getting the
0;0;3;0;9;check wires message
I've removed the radio and the ethernet shield, recompiled and re-uploaded many times.
still get the same message. even with the just the uno.
the power is coming from my laptop usb port, I verified i'm seeing 3.3 and 5v on the uno
using both code bender and arduino ide software, i get no errors during compile or upload.
I also did try to edit and enable the softspi include file.
again recompile/re-up
still the same 0;0;3;0;9;check wiresany suggestions?
thanks!
edit: just to make sure my process and equipment worked.
i uploaded the "simple web server" sketch and it did indeed work
so the board and shield seem to be good. I'm just having a problem getting the gateway code to work with it.@mvader said:
0;0;3;0;9;check wires
FYI: 0;0;3;0;9;check wires means that the wireless module cannot be initialized. When it starts up, it does a validation check, if that check fails, you will receive the "check wires" message.
This means you either have the module wired incorrectly or you need to enable SOFTSPI as @ericvdb mentions.
I just went through the exact same scenario and after about 2 days of tweaking, I finally got a "Started!" message.
Hang in there, you'll get it. :)
-
@ericvdb If you enable SOFTSPI in the MySensors Library, does that also effect the Sensors or only the Gateway code? Is there anything different you would need to do for the Sensors?
@Squint said:
@ericvdb If you enable SOFTSPI in the MySensors Library, does that also effect the Sensors or only the Gateway code? Is there anything different you would need to do for the Sensors?
SOFTSPI is a way to emulate SPI interface on some of the other digital inputs. This is a last resort thing used when one module can't behave correctly on the inteface (normally several devices can co-exists).
It only affects the code you compile and upload (gateway in you case). You should change code back when gateway has been created unless you want to run SOFTSPI on your sensors as well.
-
@mvader said:
0;0;3;0;9;check wires
FYI: 0;0;3;0;9;check wires means that the wireless module cannot be initialized. When it starts up, it does a validation check, if that check fails, you will receive the "check wires" message.
This means you either have the module wired incorrectly or you need to enable SOFTSPI as @ericvdb mentions.
I just went through the exact same scenario and after about 2 days of tweaking, I finally got a "Started!" message.
Hang in there, you'll get it. :)
@Squint said:
@mvader said:
0;0;3;0;9;check wires
FYI: 0;0;3;0;9;check wires means that the wireless module cannot be initialized. When it starts up, it does a validation check, if that check fails, you will receive the "check wires" message.
This means you either have the module wired incorrectly or you need to enable SOFTSPI as @ericvdb mentions.
I just went through the exact same scenario and after about 2 days of tweaking, I finally got a "Started!" message.
Hang in there, you'll get it. :)
Very helpful. thank you for the info!!
-
@ericvdb said:
@mvader
Did you enabled SOFTSPI in RF24_config.h?I did.
I'm assuming that the wireless card is just wired in wrong.
Do you happen to know what file the pins are defined in?Appreciate all the responses and help.
Getting the simple web server up and running was a good feeling. at least i'm on the right path (& have working hardware). I can move forward with the gateway... -
@ericvdb said:
@mvader
Did you enabled SOFTSPI in RF24_config.h?I did.
I'm assuming that the wireless card is just wired in wrong.
Do you happen to know what file the pins are defined in?Appreciate all the responses and help.
Getting the simple web server up and running was a good feeling. at least i'm on the right path (& have working hardware). I can move forward with the gateway... -
Just wanted to report back.
I finally got the gateway working.
I had my wires backwards.
the screen shots show boards with white squares around each pin
but my board had no white on it what so ever.
so my guess at what was pin 1 (ground)
turned out to be wrong.
I had to view pics of the boards close up and then i realized my mistake.
so step 1 - make the gateway work - completed! -
Just wanted to report back.
I finally got the gateway working.
I had my wires backwards.
the screen shots show boards with white squares around each pin
but my board had no white on it what so ever.
so my guess at what was pin 1 (ground)
turned out to be wrong.
I had to view pics of the boards close up and then i realized my mistake.
so step 1 - make the gateway work - completed!@mvader can you please tell us how did u solved with this message 0;0;3;0;9;check wires? i get it when i try the SerialGateway on both Arduinos i have, Mega and Uno! What wires are wrong when only Arduino is connected to my laptop with the USB cable?
Can you please explain more?
Thanks! -
The "check wires" means that arduino can't communicate with nRF24L01+ radio.
-
@mvader can you please tell us how did u solved with this message 0;0;3;0;9;check wires? i get it when i try the SerialGateway on both Arduinos i have, Mega and Uno! What wires are wrong when only Arduino is connected to my laptop with the USB cable?
Can you please explain more?
Thanks!@ewgor said:
@mvader can you please tell us how did u solved with this message 0;0;3;0;9;check wires? i get it when i try the SerialGateway on both Arduinos i have, Mega and Uno! What wires are wrong when only Arduino is connected to my laptop with the USB cable?
Can you please explain more?
Thanks!I had my wires backwards. (they were not hooked up correctly)
I would suggest verify your soldering work is good and that that wires are in the correct spot. could be a bad / burned up board as well. try switching radios and or ardunios. -
@rvendrame i dont have any nRF24L01+ radio in my house, i just want to try this SerialGateway between my laptop and my Arduino! What wires to check, the USB cable? this is the only cable i have!
Do i have to buy this device RF24L01 in order to see the SerialGateway working between my PC and Arduino? -
The mySensors runs on a radio mesh network:
http://www.mysensors.org/about/components
You need at least one gateway and one sensor/actuator node. Both with radios. You also need one controller (or computer) to process the messages.
-
OMG! so you say i cannot make this work without having this radio network ?
this is so wrong, normally you should take it step by step as for example first to make a network only between a pc or a RPI and an Arduino and some sensors, actuators and later if needed to expand this network adding another arduino or so, i don't understand anymore.
i all tutorials i saw, they were testing only with an Arduino on connected to a PC!I saw another post here about the EthernetGateway and they were speaking about changing some no of MISO, MOSI and SCK pins in the RF24_config.h file. I did this, but no result :(((
I don't understand anymore ... -
OMG! so you say i cannot make this work without having this radio network ?
this is so wrong, normally you should take it step by step as for example first to make a network only between a pc or a RPI and an Arduino and some sensors, actuators and later if needed to expand this network adding another arduino or so, i don't understand anymore.
i all tutorials i saw, they were testing only with an Arduino on connected to a PC!I saw another post here about the EthernetGateway and they were speaking about changing some no of MISO, MOSI and SCK pins in the RF24_config.h file. I did this, but no result :(((
I don't understand anymore ...@ewgor said:
OMG! so you say i cannot make this work without having this radio network ?
this is so wrong, normally you should take it step by step as for example first to make a network only between a pc or a RPI and an Arduino and some sensors, actuators and later if needed to expand this network adding another arduino or so, i don't understand anymore.
i all tutorials i saw, they were testing only with an Arduino on connected to a PC!I saw another post here about the EthernetGateway and they were speaking about changing some no of MISO, MOSI and SCK pins in the RF24_config.h file. I did this, but no result :(((
I don't understand anymore ...respectfully you will need to do some more reading.
the radios are very cheap and fairly easy to install. you don't need an entire network of them to get started, you will need to build a gateway (arduino and radio) and then build a sensor (with radio) and that is it to get started. -
@ewgor said:
OMG! so you say i cannot make this work without having this radio network ?
this is so wrong, normally you should take it step by step as for example first to make a network only between a pc or a RPI and an Arduino and some sensors, actuators and later if needed to expand this network adding another arduino or so, i don't understand anymore.
i all tutorials i saw, they were testing only with an Arduino on connected to a PC!I saw another post here about the EthernetGateway and they were speaking about changing some no of MISO, MOSI and SCK pins in the RF24_config.h file. I did this, but no result :(((
I don't understand anymore ...respectfully you will need to do some more reading.
the radios are very cheap and fairly easy to install. you don't need an entire network of them to get started, you will need to build a gateway (arduino and radio) and then build a sensor (with radio) and that is it to get started.@mvader respectfully i read a lot of articles and a lot of post on this site and not only ... i just didn't understand that in order to make a serial link between Arduino board and my PC using Mysensors and SerialGateway i need to use this radio whatever device, the price is not why i'm concern, the principle of this solution is.
Is there any other way to make a connection through serial between Arduino and Openhab server without using the radio module? i mean really, i don't understand (generally speaking) why to use a radio module if you don't need it at this point! i can connect any sensor directly to Arduino
I have an 433 Mhz RF link kit, may i use this to make it work? if not, i need to choose other way.
Using the Ethernet Gateway do i still need the radio module?My last chance it seems to be than a Mqtt connection ...
-
right on the frontpage of the mysensors page
--- quote ---
This is where all the fun happens!Learn how to create your own low cost wireless sensors and connect them to the world.
--- end of quote ---This implies that you need a wireless radio network. Not to communicate with the arduino that you connect to the computer. But to speak with all your homebuild sensors on the sensor network that mysensors is all about. For this we use NRF24L01+ radio modules, together with arduino platform.
So (a suggestion) head over to the mysensors.org page, and read the stuff there to get a better understanding about what this project is about.
-
right on the frontpage of the mysensors page
--- quote ---
This is where all the fun happens!Learn how to create your own low cost wireless sensors and connect them to the world.
--- end of quote ---This implies that you need a wireless radio network. Not to communicate with the arduino that you connect to the computer. But to speak with all your homebuild sensors on the sensor network that mysensors is all about. For this we use NRF24L01+ radio modules, together with arduino platform.
So (a suggestion) head over to the mysensors.org page, and read the stuff there to get a better understanding about what this project is about.
-
hi all,
can anyone help me? i am trying to make a serial gateway with my arduinos. i have 2 arduino, a mega and an uno. now uploading the serial sketch on each one of them its ok, see on the serial monitor that the gateway is up and running. on the node point the serial monitor still shows check wires. i've switched the arduino between the gateway and the node point and still receiving this message check wires on the node point! can anyone help?
on the openhab side, i have de serial jar file in the addons and i modified the string items with the right com for my arduino at 115200 baud rate. if i start the bat or sh files its working but i cannot see the connection with the gateway or the node point.
could anyone who made it working help me please figure this out?
thanks all.