ERF connection to shield base

jinx

Senior Member
was wondering if there are any plans towards a base shield that would support an erf module.
 

hippy

Technical Support
Staff member
I am not aware of any plans for a Shield Base which would support direct on-board connection of an ERF module.

For traditional (non-programming) wireless communications an ERF can be connected via a Shield or direct to the to-Shield headers.

For wireless programming an ERF can be connected to the H2 and H3 configuration links - single flying wires with 0.1" header sockets on the ends would be ideal for doing that.

It may also be possible to cut tracks from the PICAXE to the to-Shield header pins, link Serial In (RXD) and Serial Out (TXD) to those header pins and connect an ERF via a Shield using those connections.
 

jinx

Senior Member
thanks for the leads hippy,
going with the wireless programming option erf shield connection.PNG following your description, is the wiring diagram correct
 

hippy

Technical Support
Staff member
Diagram looks correct except you seem to be powering the ERF from 3V3 with the Shield's 5V link set. Also CTS must be connected to 0V to enable it.
 

jinx

Senior Member
Diagram looks correct except you seem to be powering the ERF from 3V3 with the Shield's 5V link set. Also CTS must be connected to 0V to enable it.
noticed that in the image " thats how it is in the manual
CTS must be connected to 0V to enable it.
can I do away with the 10k resistor and jump the VTS to 0v
 
Last edited:

jinx

Senior Member
hi,
just to conclude this thread erf connection#2.PNG I finally attached the ERF to the shield for wireless programming, big thanks to hippy.
 

jinx

Senior Member
serout from the erf to the computer with the erf on the shield and a couple of jumpersserial erf.PNG able to program the 14m2 aswell found a test piece of code from hippy in another thread
Code:
#picaxe 28X2
#no_data
#no_table 
#terminal 9600 
                                 ; 
                                 
setfreq m8 
low C.1 ; NB! ensure ERF RX is held low 
 ; even when not used in this program 
main: 
 

Do
  Pause 2000
  SerOut c.7, N9600_8, ("Hello ", #w0, CR, LF )
  w0 = w0 + 1
Loop
now to work out how to get the terminal window to send a value to the erf
 

jinx

Senior Member
serin serout test the 28x2 receives a value of the key press and returns the value into the terminal
Code:
  ; ERF RX to PICAXE TX (C.1) 
  ; ERF TX to PICAXE RX (C.7) 
  ; ERF CTS to 0V 

#picaxe 28X2
#no_data
#no_table 
#terminal 9600 
                                 ; 
                                 
setfreq m8 

 
main: 
 

Do
  pause 10
  serin c.1,N9600_8,b0
   gosub sendback
   
   loop
   
   sendback:
     
  SerOut c.7, N9600_8, ("Hello ", #b0, CR, LF )
  
  return
 
Top