Project

General

Profile

Activity

From 2015-01-05 to 2015-02-03

2015-02-03

16:48 Support: RE: Crash and freeze with a RFM69
Line 291 in RF69\_avr.h looks promising:
// SPCR |= _BV(SPR0); // Divide SPI by 4
JohnO
16:45 Support: RE: Crash and freeze with a RFM69
See https://github.com/jcw/jeelib/blob/master/RF69\_avr.h\#L126
I think that RF69 speed is set to 8 MHz, while it’s ...
jcw
16:40 Support: RE: Crash and freeze with a RFM69
I don’t have any issues with a rfm12 module plugged to my uno
jeromelebel
16:39 Support: RE: Crash and freeze with a RFM69
I am not sure, how does it bear into the situation?
JohnO
16:36 Support: RE: Crash and freeze with a RFM69
does the rfm12 and the rfm69 have the same speed on the SPI bus?
jeromelebel
16:19 Support: RE: Crash and freeze with a RFM69
jeromelebel wrote:
\> What do you mean?
I understood the RFM69 was connected via a breadboard - probably with jumper...
JohnO
16:12 Support: RE: Crash and freeze with a RFM69
What do you mean?
jeromelebel
16:11 Support: RE: Crash and freeze with a RFM69
Thanks @jcw.
Can you make the links between the Uno and the RFM69 as short as possible?
JohnO
16:07 Support: RE: Crash and freeze with a RFM69
This discussion has been moved to the support forum
- your friendly admin
jcw
16:04 Support: RE: Crash and freeze with a RFM69
no, but the problem is before : why does it restart? I guess that’s a crash.
jeromelebel
16:03 Support: RE: Crash and freeze with a RFM69
The message:
Radio is absent
Indicates problems with the SPI. Does this happen each time you restart?
JohnO
15:59 Support: RE: Crash and freeze with a RFM69
So there is a progress. The jeelink can receive data from the uno. But if the jeelink sends data back, the uno crash.... jeromelebel
15:43 Support: RE: Crash and freeze with a RFM69
I think the Jeelink is missing the “1700o” command.
JohnO
15:41 Support: RE: Crash and freeze with a RFM69
Yes, both are correctly setup:
In the following example, the uno is now stuck…
for the jeelink:
[RFxConsole.0]40
Av...
jeromelebel
15:06 Support: RE: Crash and freeze with a RFM69
The RFM69 is a powerful transmitter and can swamp receivers, if you have all this confined on a bench then http://jee... JohnO
15:00 Support: RE: Crash and freeze with a RFM69
I take it they are configured compatibly?
The Jeelink is a RFM12B? I guess it can interact with your other devices o...
JohnO
14:55 Support: RE: Crash and freeze with a RFM69
So my jeelink works again.
But my jeelink doesn’t receive data from my uno, and my uno doesn’t receive data from my ...
jeromelebel
14:45 Support: RE: Crash and freeze with a RFM69
PINCHG\_IRQ should be 0.
JohnO
14:40 Support: RE: Crash and freeze with a RFM69
I have an old jeelink with a RFM12b. I did change the flag in RFxConsole, but not in the other files. Do I need to ch... jeromelebel
14:37 Support: RE: Crash and freeze with a RFM69
Is the Jeelink equipped with RFM69 hardware?
If not you need to change a few flags:
In the first few lines of RF12.c...
JohnO
14:31 Support: RE: Crash and freeze with a RFM69
I have another jeelink somewhere. I can try to find it to see if it behaves the same way, if you think that could be ... jeromelebel
14:29 Support: RE: Crash and freeze with a RFM69
I’m using a mac 10.10.2, with arduino 1.5.8. I talk with the uno with the serial window of the arduino application (n... jeromelebel
14:23 Support: RE: Crash and freeze with a RFM69
We need to move this thread to the Support board instead of this Weblog board - @jcw is this possible?
JohnO
14:21 Support: RE: Crash and freeze with a RFM69
How are you powering the Uno?
JohnO
14:19 Support: RE: Crash and freeze with a RFM69
jeromelebel wrote:
\> If I close the serial window, and open it again, I see “[RFxConsole.0]00” and nothing else. To ...
JohnO
14:17 Support: RE: Crash and freeze with a RFM69
and, “0q” please.
JohnO
14:14 Support: RE: Crash and freeze with a RFM69
Issuing “0x” would make it easier on my eye for now.
JohnO
14:10 Support: RE: Crash and freeze with a RFM69
Umh, lots going on.
Are you using the enter key, that is what produces the “0000,Key=0D 500” reaction. RFxConsole in...
JohnO
14:09 Support: RE: Crash and freeze with a RFM69
If I close the serial window, and open it again, I see “[RFxConsole.0]00” and nothing else. To make my uno working ag... jeromelebel
14:02 Support: RE: Crash and freeze with a RFM69
My uno is in 5V, I bought : http://www.digitalsmarties.net/products/rfm-board and I added the resistors. I didn’t plu... jeromelebel
13:53 Support: RE: Crash and freeze with a RFM69
jeromelebel wrote:
\> With my uno and with this branch, it is always stuck.
how are you connecting to the Uno, could...
JohnO
13:38 Support: RE: Crash and freeze with a RFM69
I’m afraid I need more words to key into.
Have you loaded up the RFxDemo tree as your sole jeelib library and restar...
JohnO
13:28 Support: RE: Crash and freeze with a RFM69
With my uno and with this branch, it is always stuck.
It is sucked in rf12\_initialize() waiting in the while (I’m n...
jeromelebel
12:52 Support: RE: Crash and freeze with a RFM69
Hi jeromelebel,
Could you consider loading up the following library:
https://github.com/jcw/jeelib/tree/RFxConsole
...
JohnO
12:06 Support: Resolved: Crash and freeze with a RFM69
Hello,
I have a arduino mega with a RFM12b. I wanted to move to RFM69. I bought 2. I updated my software with the ...
jeromelebel

2015-01-29

10:45 Weblog: RE: LPC810 Switch Matrix pin assignments
Indeed, it can be very confusing. I’ve updated the listen comments with codes “0p8” etc (meaning: PIO0\_0, pin 8 on t... jcw
10:08 Weblog: LPC810 Switch Matrix pin assignments
Just to save newbies like me some time:
I have the listen code working but it took me a while to understand the corr...
doewie

2015-01-28

11:01 Weblog: RE: i2c "ih"
The I2C code is using the ROM driver built into the LPC8xx, for which there is no source code provided by NXP.
All we...
jcw
10:54 Weblog: RE: Debugging the RF link
Soldered onto bent pins - I haven’t tried removing it from the breadboard, though:
![](DSC_4931.jpg)
jcw
10:09 Weblog: Debugging the RF link
You have done well getting the RFM69CW into a 2.54mm breadboard - how did you do that?
JohnO

2015-01-26

21:48 Weblog: i2c "ih"
In reviewing the code for i2c Master & i2c Slave, the i2c Interrupt is linked to a handler “ih” but I can’t find the ... reybob

2015-01-25

17:32 General: Arduino IDE 1.5.8 always compiling slowly
I have been trying the beta Arduino 1.5.8 and found it very slow since it recompiles all the modules each time. I fou... JohnO
10:34 Support: RE: Resolved: Easy wireless send and receive
Thanks for catching this - I’ve committed the fix to GitHub, also found another example in jeelib with the same probl... jcw
10:21 Support: RE: Resolved: Easy wireless send and receive
Nice one, perhaps @jcw will add the suggested changes to the library.
JohnO

2015-01-24

00:23 Support: RE: Easy wireless send and receive
I found it you have to cast it to a Char
for (byte i = 0; i < rf12_len; ++i)
Serial.println((cha...
koenkv
23:27 Support: RE: Easy wireless send and receive
Hi,
thx for to tip
that is a nice example but the input from Hello! as 72101108108111330
thx
KoenKV
koenkv
22:53 Support: RE: Easy wireless send and receive
Have you installed [jeelib?](https://github.com/jcw/jeelib/)
Then take a look in arduino/libraries/jeelib/examples/R...
JohnO
22:42 Support: Resolved: Easy wireless send and receive
Hi all,
Can somebody give a easy send and receive script without all other code
Thx
Koenkv
koenkv
12:44 Weblog: RE: Heat versus momentum
Thx - I was aiming for a “maximum transfer of intuition” :)
jcw
12:12 Weblog: Heat versus momentum
I particularly like the inductor description.
JohnO

2015-01-20

23:20 Support: RE: Fried Jeenode or BUBII?
*@jpenninkhof,*
A wealth of information on ISP programming [here,](http://jeelabs.org/?s=ISP) including turning a ‘s...
martynj
23:10 Support: RE: Fried Jeenode or BUBII?
pbadger wrote:
\> Did you swap chips to see if the bootloader is corrupted?
\> Also if you don’t have an oscilloscope...
jpenninkhof
16:15 Support: Fried Jeenode or BUBII?
Did you swap chips to see if the bootloader is corrupted?
Also if you don’t have an oscilloscope you can troubleshoot...
pbadger
21:15 Weblog: RE: Meet Raspie and Quadie
I saw mixed reports w.r.t. µSD on the forums, but my new C1 is running fine with a Sandisk 16 GB µSD and the Jan 2015... jcw
17:53 Weblog: RE: Meet Raspie and Quadie
Do you guys run the odroid on a micro-sd card or do you buy the emmc module? The latter almost doubles the cost of th... tve

2015-01-19

15:32 Weblog: RE: Meet Raspie and Quadie
Great, I’ve updated the article, thanks.
jcw
15:20 Weblog: Meet Raspie and Quadie
I found a UK distributor of the Odroid-C at £36.78 inc.
http://www.lilliputdirect.com/odroid-c1-quad-core-computer
JohnO

2015-01-18

21:00 Support: RE: Fried Jeenode or BUBII?
JohnO wrote:
\> Have you been able to try programming a sketch with Duemilanove set in the Arduino IDE (Tools/board) ...
jpenninkhof
18:48 Support: RE: Fried Jeenode or BUBII?
*@jpenninkhof,*
If the meter reading is accurate, that 5V reading looks a little below specification. I suggest chan...
martynj
11:58 Support: RE: Fried Jeenode or BUBII?
Have you been able to try programming a sketch with Duemilanove set in the Arduino IDE (Tools/board) Arduino Duemilan... JohnO
11:37 Support: RE: Fried Jeenode or BUBII?
martynj wrote:
\> *@jpenninkhof,*
\>
\> If the echo works with TX/RX linked, then the BUB logic is in good shape, inc...
jpenninkhof

2015-01-17

14:19 Support: RE: Fried Jeenode or BUBII?
*@jpenninkhof,*
If the echo works with TX/RX linked, then the BUB logic is in good shape, including the derived 3.3V...
martynj
13:35 Support: RE: Fried Jeenode of BUBII?
jpenninkhof wrote:
\> I tried to upload another sketch, but that doesn’t work either. It comes up with the famous syn...
JohnO
13:31 Support: RE: Fried Jeenode of BUBII?
jpenninkhof wrote:
\> I’ve also tried to connect only the BUB as you mentioned. I do see the led blink when I send so...
JohnO
12:21 Support: RE: Fried Jeenode of BUBII?
JohnO wrote:
\> It looks like the wrong baud rate. Try linking TX to RX with the USB-BUB connected only to the USB ca...
jpenninkhof
11:52 Support: RE: Fried Jeenode of BUBII?
jpenninkhof wrote:
\> I’m running Windows 7 x64 with Arduino IDE 1.6, and am using the drivers from http://www.ftdich...
JohnO
11:51 Support: RE: Fried Jeenode or BUBII?
*@jpenninkhof,*
If the TX/RX LED’s on the BUB flash when enumerating and that ‘COM8’ device is a fresh entry, there ...
martynj
11:48 Support: RE: Fried Jeenode of BUBII?
It looks like the wrong baud rate. Try linking TX to RX with the USB-BUB connected only to the USB cable. You should ... JohnO
11:32 Support: Fried Jeenode or BUBII?
I’ve had my jeenode with ethercard and a few OOK radio’s running for quite a while. I think it’s about 3 years since ... jpenninkhof

2015-01-16

19:47 Support: RE: Ethercard: Fixed and configurable server IP address (No DNS) and browseurl problem
Realizing the extra array is just bloat I refactored down to
for (int i =0;i<4;i++)
ether.hisip[ 0 ...
farrenh
16:04 Support: Ethercard: Fixed and configurable server IP address (No DNS) and browseurl problem
Hi there,
I’m a C\# programmer with a limited grasp of C+*. I have a jeenode connected to an ethercard via the carri...
farrenh
18:11 Weblog: RE: Atomic clock via a DIP
Trying to get some operation from the DCF77 hardware I loaded up the Arduino code from www.blinkenlight.net. I think ... JohnO

2015-01-15

15:07 JET (was: HouseMon): RE: The FBP / Pd divide
I’ve been working my way into a new solution for all this over the past month or so.
Current status, mid-January 2015...
jcw
14:45 General: RE: Question regarding RF69 compatibility mode in Jeelib
As JohnO pointed out, most of the conventions in the RF69\_compat driver are to allow switching to an RFM69-based Jee... jcw
14:38 Support: RE: 868MHz RFM12B as ASK/OOK (not usual FSK)
You should be able to return to FSK use by calling RF12\_initialize() again. Or power-cycle, that will definitely do ... jcw
13:56 Support: 868MHz RFM12B as ASK/OOK (not usual FSK)
Hi Guys
I wish to use an 868MHz RFM12B as a ASK/OOK device so I can sniff my wireless heating controller using an au...
Jas2
14:29 Weblog: RE: Atomic clock via a DIP
You’re receiving data alright, else there would be no signal transitions and nothing would appear. The ones starting ... jcw
13:38 Weblog: RE: Atomic clock via a DIP
I think I figured out the wiring from the original photographs and put it together on a breadboard, here is my first ... JohnO

2015-01-14

15:50 Weblog: Pies, Bones, and Droids
A nice list of small and affordable boards…but they all run Linux!
As a Mac/Windows-only user I just **have** to poi...
Mars
12:12 General: RE: Question regarding RF69 compatibility mode in Jeelib
Thank you for the info, John!
BR, Jörg.
jbecker

2015-01-13

00:15 Weblog: RE: Atomic clock via a DIP
I haven’t turned it into an official schematic, if that’s what you mean.
But my suggestion would be to simplify: use...
jcw
23:00 Weblog: Atomic clock via a DIP
Is there a schematic available for the atomic clock project?
JohnO
17:33 General: RE: Question regarding RF69 compatibility mode in Jeelib
jbecker wrote:
\> There is also V13 of RF12Demo mentioned but also without code.
Yes, I did operate in a RF12Demo bra...
JohnO
17:30 General: RE: Question regarding RF69 compatibility mode in Jeelib
It is at https://github.com/jcw/jeelib/tree/RFxConsole
JohnO
17:28 General: RE: Question regarding RF69 compatibility mode in Jeelib
Sorry, I really did not mean to be rude asking this. I was just interested.
Can you please hint me to the RFxDemo br...
jbecker
17:24 General: RE: Question regarding RF69 compatibility mode in Jeelib
jbecker wrote:
\> But still, isn’t crc used unititialised (only rf12\_crc is)? It really should not work like it is.
...
JohnO
17:21 General: RE: Question regarding RF69 compatibility mode in Jeelib
jbecker wrote:
\> PS: is the Jeelib code not maintained by anyone any more?
Yes, `jcw & `MartynJ are still active in ...
JohnO
17:19 General: RE: Question regarding RF69 compatibility mode in Jeelib
JohnO,
thank you very much. I had just found some answers myself (have been using the Jeelib code quite some time ago...
jbecker
17:11 General: RE: Question regarding RF69 compatibility mode in Jeelib
jbecker wrote:
\> I have just downloaded the Jeelib library and have some questions regarding the RF69 code:
The mast...
JohnO
16:57 General: Question regarding RF69 compatibility mode in Jeelib
I have just downloaded the Jeelib library and have some questions regarding the RF69 code:
in RF69:sendStart\_compat...
jbecker
14:32 Weblog: RE: Setting up the VM on Windows host
Thanks for all the notes - there are some typo’s in the articles (“dealt” iso “dialout” auto-correct, doh) - I’m keep... jcw
14:05 Weblog: RE: Setting up the VM on Windows host
@JohnO
I remember it took me some time have this working and i’m not sure about all the steps. (mmh…. why do i never ...
doewie
13:49 Weblog: RE: Setting up the VM on Windows host
doewie wrote:
\> I wanted to share some folders but for this feature VM requests to install Guest Additions in the U...
JohnO
13:45 Weblog: RE: Setting up the VM on Windows host
Thanks @doewie I had just got to the point you describe my install is underway, I guess these sections should be adde... JohnO
13:43 Weblog: RE: Setting up the VM on Windows host
@johnO
I’m running Ubuntu guest (in VM 4.3.20) on W7PRO host.
I wanted to share some folders but for this feature VM...
doewie
12:07 Weblog: RE: Setting up the VM on Windows host
The above may not be required in light of http://jeelabs.org/book/1447c2/ where “sudo usermod -aG vboxsf <your-user-n... JohnO
08:52 Weblog: RE: Setting up the VM on Windows host
I think we should add “sudo usermod -a -G dialout \$USER” for the VM and Linux setups.
JohnO

2015-01-12

22:04 Support: RE: Using Jeelink V3 as Rfm12Pi
Excellent.
JohnO
22:02 Support: RE: Using Jeelink V3 as Rfm12Pi
Hi John
Many thanks for your help, the problem is now solved!
The problem was with the software linking to the radio ...
hatfieldr
16:37 Support: RE: Using Jeelink V3 as Rfm12Pi
I appear to be confused as I understand it you are running the https://github.com/jcw/jeelib/tree/master/examples/RF1... JohnO
15:50 Support: RE: Using Jeelink V3 as Rfm12Pi
the one I am using is https://github.com/jcw/jeelib/tree/master/examples/RF12/RF12demo
The unit is now transmitting ...
hatfieldr
12:28 Support: RE: Using Jeelink V3 as Rfm12Pi
Is there a link to your RF12\_demo program?
JohnO
11:36 Support: RE: Using Jeelink V3 as Rfm12Pi
I have set it to 433Mhz using screen but this should have been done from the software Group & node id are also correc... hatfieldr
10:59 Support: RE: Using Jeelink V3 as Rfm12Pi
JohnO wrote:
\> Those are the default values, set the values you need (“8b”) and these will be saved for subsequent r...
JohnO
10:58 Support: RE: Using Jeelink V3 as Rfm12Pi
hatfieldr wrote:
\> There are 2 latest sketches one for the RF12\_demo & one for the RFM12Pi still not sure which one...
JohnO
10:56 Support: RE: Using Jeelink V3 as Rfm12Pi
Those are the default values, set the values you need (“8b”) and these will be saved for subsequent restarts.
JohnO
10:46 Support: RE: Using Jeelink V3 as Rfm12Pi
using
screen /dev/ttyUSB0 9600
It would appear it is set to the wrong frequency 868 MHz not 433MHz
hatfieldr
10:39 Support: RE: Using Jeelink V3 as Rfm12Pi
Yes but the Jeelink is not setup correctly (Frequency, Nodeid) & received packets cannot be decoded
There are 2 lates...
hatfieldr
10:32 Support: RE: Using Jeelink V3 as Rfm12Pi
What is the software you are trying to run, have you tried something like:
screen /dev/ttyUSB0 9600
on the lapt...
JohnO
10:26 Support: RE: Using Jeelink V3 as Rfm12Pi
The sketch from the latest library will be fine. Does the RFM12Pi based software connect to the /dev/ttyAMA0 port?
JohnO
10:13 Support: RE: Using Jeelink V3 as Rfm12Pi
Hi
The FTDI device is recognised (I use the same laptop for programing Arduinos)
I have set the baud rate to 9600
The...
hatfieldr
08:47 Support: RE: Using Jeelink V3 as Rfm12Pi
@hatfieldr
Does “dmesg” show an FTDI device being recognised?
Also, there are a couple of places where the baud rate...
JohnO

2015-01-11

22:58 Support: Using Jeelink V3 as Rfm12Pi
Hi
I am trying to set up my Ubuntu laptop using a Jeelink V3 at 433 Mhz to run software which is currently running on...
hatfieldr

2015-01-10

18:40 Support: RE: Wrong kind of interrupt isn't disturbing my sleep.
JohnO wrote:
\> One other thing I noticed when doing the full power down: After being in power down mode for a while ...
sanb
18:38 Support: RE: Wrong kind of interrupt isn't disturbing my sleep.
JohnO wrote:
\>
\> You set a high bar seeking the ideal. The previous code used to spin waiting for RFM69CW data. The...
sanb
12:41 Support: RE: Wrong kind of interrupt isn't disturbing my sleep.
One other thing I noticed when doing the full power down: After being in power down mode for a while the values colle... JohnO
12:35 Support: RE: Wrong kind of interrupt isn't disturbing my sleep.
sanb wrote:
Well done!
\> The problem I have now is that the loop() function in the sketch is free-running (i.e., it ...
JohnO
07:49 Support: RE: Wrong kind of interrupt isn't disturbing my sleep.
@JohnO:
Thanks very much. These are very informative posts. Makes things very clear (and the mind is more peaceful)....
sanb

2015-01-09

08:10 Weblog: RE: Why NXP LPCs?
Yes, the RF69’s rx + tx will fit together in the LPC810, probably still under 2 KB. I have working code here.
Runnin...
jcw
05:30 Weblog: RE: Why NXP LPCs?
*@reybob,*
The guidance is typically:
\* Non-private member templates should be defined in headers, unless they are e...
martynj
05:08 Weblog: RE: Why NXP LPCs?
I agree that the 810 is just a neat chip. So far, the RFM69 code snips appear to be single function-node transmit and... reybob

2015-01-08

15:20 Weblog: RE: Problem flashing the LPC810
Thxs! It works!
doewie
08:09 Support: RE: Wrong kind of interrupt isn't disturbing my sleep.
Here are three posts that are a must read:
http://jeelabs.org/2011/12/10/inside-the-rf12-driver/
http://jeelabs.org/2...
JohnO
01:30 Support: RE: Wrong kind of interrupt isn't disturbing my sleep.
Humm. Now that you tell me that rf12\_recvDone() does not block, I re-analyzed the behavour of the combination of my ... sanb

2015-01-07

23:22 Weblog: RE: Why NXP LPCs?
\> I think the **gentlest** and cheapest way
In the eye of the beholder or code head I guess.
pb
pbadger
21:19 Weblog: RE: Why NXP LPCs?
Heh - no nefarious plots involved, for sure :)
(I do not have any inside contacts at NXP, though I do know some peop...
jcw
20:01 Weblog: Why NXP LPCs?
Could you say a few words about why you are focusing on NXP LPC processor series? I don’t see another 8-pin DIP packa... tve
21:00 Weblog: RE: Weblog comments welcome! - how to post
*Eagle eyes!* (fixed, thx)
jcw
20:57 Weblog: RE: Weblog comments welcome! - how to post
Quick note that your latest post (LPC810 meets RFM69, part 2) doesn’t have the forum link at the end
tve
16:58 Weblog: RE: Problem flashing the LPC810
The trick is to first start the upload and then insert the programmer or the chip to supply power.
When the LPC810 st...
jcw
16:51 Weblog: Resolved: Problem flashing the LPC810
I’m following the getting started series with great interest, but now i’m stuck.
All is working as expected. I can u...
doewie
08:38 Support: RE: Wrong kind of interrupt isn't disturbing my sleep.
sanb wrote:
\> @JohnO: I am slowly getting back to this work. After being down for several weeks, I have been able to...
JohnO
06:32 Support: RE: Wrong kind of interrupt isn't disturbing my sleep.
@JohnO: I am slowly getting back to this work. After being down for several weeks, I have been able to bring up the s... sanb

2015-01-05

00:49 Support: RE: USB BUB II
Just plug it in with default jumpers, it should be fine. If you haven’t installed FTDI drivers, you’ll need to do tha... pbadger
21:53 Support: USB BUB II
Hello there,
i’m looking for a description howto configure the jumper settings for the USB BUB II to program the ard...
bjoern777
 

Also available in: Atom