MiniESPv3 Configuration


Brian Webb
 

I recently bought a MiniESPv3 board from George (Thanks George!), and I'm going to try to get it configured this weekend, so I'll likely have some questions.

The first question is what pinmap do I use for it. I don't see anything with a label that matches. Also, should I use OnStep, or OnStepX? It appears that OnStepX is a newer, maybe not as stable version. If it should work, I would prefer to just go that route rather than deal with potentially switching at some later date.

Thank you,

--
Brian Webb
webbbn@...


Alain K
 

Hi Brian,

I'm the creator of this board ans you need to use the MAXESP3 pinmap, and YES it can run OnStepX with the same pinmap.

Have a nice day.

Alain K.


Brian Webb
 

Thank you!

I have been able to compile the OnStepX and flash the ESP32, but I had to use PlatformIO. The Arduino IDE was just exiting the build before even starting to compile with no error message, even after turning on verbose error messages. I prefer PIO in command line mode anyways.

My plan is to use a Raspberry Pi along with OnStep to host a camera and to try out things like Astroberry, etc. I'm trying to figure out how best to connect it to the OnStep controller. I know that wifi (and maybe bluetooth) would work, but it's going to be in the same box, so I thought a hardwired connection would be best. I also have been able to build the firmware on the pi using PIO, and it would be handy, at least initially, to be able to reflash the EXP32 from the pi.

I tried connecting to J13 (the 1x5 header), thinking that might be the same UART as is used to program it from USB, but, I'm just getting a stream of garbage characters from that, like it is at the wrong baudrate. I could connect via USB, but I'm concerned about the power connection. In that case, it seems like I would need to modify a USB cable to not provide power.

Has anyone made such a connection to a pi with an ESP32 board, or know why it would not be working? It appears I believe the pins on that connector are the right ones (TX/RX0), and I don't see them going anywhere, so I don't understand why there would be.

I'm also noticing that the voltage regulator on the ESP32 board gets unusually hot when in the board, and the board pulls close to 0.5A at 12V (running off of a bench supply), This is with nothing plugged into the board other than the ESP32 (no D1, stepper drivers, or USB). The LED is pretty much solid RED, which I think means that it's sending data constantly. If I pull the board out and connect via USB it seems okay. I'm currently trying to just connect the board via jumper wires (just +5 and GND connected ATM) to see if I can track down the problem.

6W is way more than the maximum draw should be, and it seems to be something in the firmware that's causing it, since it works normally for a while, so I'm confused on what is going on. The VREG must be for 3.3V, so I suspect the issue will show up when I connect that to the board.

On Fri, Feb 3, 2023 at 9:07 PM Alain K <kinlough.alain@...> wrote:
Hi Brian,

I'm the creator of this board ans you need to use the MAXESP3 pinmap, and YES it can run OnStepX with the same pinmap.

Have a nice day.

Alain K.



--
Brian Webb
webbbn@...


Chad Gray
 

If you load up a raspberry pi with INDI server.  When you get the OnStep driver running you can choose Serial port (USB connection from ESP32 to Raspberry Pi) or You can join the MiniESP to a wifi network that the raspberry pi is on and connect the INDI driver to the MiniESP IP with port 9998.


On Mon, Feb 6, 2023 at 10:18 PM Brian Webb <webbbn@...> wrote:
Thank you!

I have been able to compile the OnStepX and flash the ESP32, but I had to use PlatformIO. The Arduino IDE was just exiting the build before even starting to compile with no error message, even after turning on verbose error messages. I prefer PIO in command line mode anyways.

My plan is to use a Raspberry Pi along with OnStep to host a camera and to try out things like Astroberry, etc. I'm trying to figure out how best to connect it to the OnStep controller. I know that wifi (and maybe bluetooth) would work, but it's going to be in the same box, so I thought a hardwired connection would be best. I also have been able to build the firmware on the pi using PIO, and it would be handy, at least initially, to be able to reflash the EXP32 from the pi.

I tried connecting to J13 (the 1x5 header), thinking that might be the same UART as is used to program it from USB, but, I'm just getting a stream of garbage characters from that, like it is at the wrong baudrate. I could connect via USB, but I'm concerned about the power connection. In that case, it seems like I would need to modify a USB cable to not provide power.

Has anyone made such a connection to a pi with an ESP32 board, or know why it would not be working? It appears I believe the pins on that connector are the right ones (TX/RX0), and I don't see them going anywhere, so I don't understand why there would be.

I'm also noticing that the voltage regulator on the ESP32 board gets unusually hot when in the board, and the board pulls close to 0.5A at 12V (running off of a bench supply), This is with nothing plugged into the board other than the ESP32 (no D1, stepper drivers, or USB). The LED is pretty much solid RED, which I think means that it's sending data constantly. If I pull the board out and connect via USB it seems okay. I'm currently trying to just connect the board via jumper wires (just +5 and GND connected ATM) to see if I can track down the problem.

6W is way more than the maximum draw should be, and it seems to be something in the firmware that's causing it, since it works normally for a while, so I'm confused on what is going on. The VREG must be for 3.3V, so I suspect the issue will show up when I connect that to the board.

On Fri, Feb 3, 2023 at 9:07 PM Alain K <kinlough.alain@...> wrote:
Hi Brian,

I'm the creator of this board ans you need to use the MAXESP3 pinmap, and YES it can run OnStepX with the same pinmap.

Have a nice day.

Alain K.



--
Brian Webb
webbbn@...


--
Authorized OnStep Dealer and Creator of the CGE Pro Conversion Kit
https://graydigitalarts.com/


Brian Webb
 

No issues with +5 and GND connected, but, as I suspected, after a minute or so running after connecting the 3.3V line, the current started climbing gradually, then shot up tp over 0.6A.

The only thing I see that could be connected to 3.3V is the RTC, and a few discrete components (LED, resistors, diode, etc), so I don't see what could be the problem.

On Mon, Feb 6, 2023 at 8:30 PM Chad Gray <rchadgray@...> wrote:
If you load up a raspberry pi with INDI server.  When you get the OnStep driver running you can choose Serial port (USB connection from ESP32 to Raspberry Pi) or You can join the MiniESP to a wifi network that the raspberry pi is on and connect the INDI driver to the MiniESP IP with port 9998.

On Mon, Feb 6, 2023 at 10:18 PM Brian Webb <webbbn@...> wrote:
Thank you!

I have been able to compile the OnStepX and flash the ESP32, but I had to use PlatformIO. The Arduino IDE was just exiting the build before even starting to compile with no error message, even after turning on verbose error messages. I prefer PIO in command line mode anyways.

My plan is to use a Raspberry Pi along with OnStep to host a camera and to try out things like Astroberry, etc. I'm trying to figure out how best to connect it to the OnStep controller. I know that wifi (and maybe bluetooth) would work, but it's going to be in the same box, so I thought a hardwired connection would be best. I also have been able to build the firmware on the pi using PIO, and it would be handy, at least initially, to be able to reflash the EXP32 from the pi.

I tried connecting to J13 (the 1x5 header), thinking that might be the same UART as is used to program it from USB, but, I'm just getting a stream of garbage characters from that, like it is at the wrong baudrate. I could connect via USB, but I'm concerned about the power connection. In that case, it seems like I would need to modify a USB cable to not provide power.

Has anyone made such a connection to a pi with an ESP32 board, or know why it would not be working? It appears I believe the pins on that connector are the right ones (TX/RX0), and I don't see them going anywhere, so I don't understand why there would be.

I'm also noticing that the voltage regulator on the ESP32 board gets unusually hot when in the board, and the board pulls close to 0.5A at 12V (running off of a bench supply), This is with nothing plugged into the board other than the ESP32 (no D1, stepper drivers, or USB). The LED is pretty much solid RED, which I think means that it's sending data constantly. If I pull the board out and connect via USB it seems okay. I'm currently trying to just connect the board via jumper wires (just +5 and GND connected ATM) to see if I can track down the problem.

6W is way more than the maximum draw should be, and it seems to be something in the firmware that's causing it, since it works normally for a while, so I'm confused on what is going on. The VREG must be for 3.3V, so I suspect the issue will show up when I connect that to the board.

On Fri, Feb 3, 2023 at 9:07 PM Alain K <kinlough.alain@...> wrote:
Hi Brian,

I'm the creator of this board ans you need to use the MAXESP3 pinmap, and YES it can run OnStepX with the same pinmap.

Have a nice day.

Alain K.



--
Brian Webb
webbbn@...


--
Authorized OnStep Dealer and Creator of the CGE Pro Conversion Kit
https://graydigitalarts.com/



--
Brian Webb
webbbn@...


George Cushing
 

Serial A (GPIO1 & 3) is used by USB, B (GPIO9 & 10) is not connected and C (GPIO16 & 17) is connected to the D1 mini.
image.png


Chad Gray
 

I have also done bluetooth connection from Raspberry Pi INDI to OnStep to control it.

There are good instructions for this here:


On Mon, Feb 6, 2023 at 10:58 PM Brian Webb <webbbn@...> wrote:
No issues with +5 and GND connected, but, as I suspected, after a minute or so running after connecting the 3.3V line, the current started climbing gradually, then shot up tp over 0.6A.

The only thing I see that could be connected to 3.3V is the RTC, and a few discrete components (LED, resistors, diode, etc), so I don't see what could be the problem.

On Mon, Feb 6, 2023 at 8:30 PM Chad Gray <rchadgray@...> wrote:
If you load up a raspberry pi with INDI server.  When you get the OnStep driver running you can choose Serial port (USB connection from ESP32 to Raspberry Pi) or You can join the MiniESP to a wifi network that the raspberry pi is on and connect the INDI driver to the MiniESP IP with port 9998.

On Mon, Feb 6, 2023 at 10:18 PM Brian Webb <webbbn@...> wrote:
Thank you!

I have been able to compile the OnStepX and flash the ESP32, but I had to use PlatformIO. The Arduino IDE was just exiting the build before even starting to compile with no error message, even after turning on verbose error messages. I prefer PIO in command line mode anyways.

My plan is to use a Raspberry Pi along with OnStep to host a camera and to try out things like Astroberry, etc. I'm trying to figure out how best to connect it to the OnStep controller. I know that wifi (and maybe bluetooth) would work, but it's going to be in the same box, so I thought a hardwired connection would be best. I also have been able to build the firmware on the pi using PIO, and it would be handy, at least initially, to be able to reflash the EXP32 from the pi.

I tried connecting to J13 (the 1x5 header), thinking that might be the same UART as is used to program it from USB, but, I'm just getting a stream of garbage characters from that, like it is at the wrong baudrate. I could connect via USB, but I'm concerned about the power connection. In that case, it seems like I would need to modify a USB cable to not provide power.

Has anyone made such a connection to a pi with an ESP32 board, or know why it would not be working? It appears I believe the pins on that connector are the right ones (TX/RX0), and I don't see them going anywhere, so I don't understand why there would be.

I'm also noticing that the voltage regulator on the ESP32 board gets unusually hot when in the board, and the board pulls close to 0.5A at 12V (running off of a bench supply), This is with nothing plugged into the board other than the ESP32 (no D1, stepper drivers, or USB). The LED is pretty much solid RED, which I think means that it's sending data constantly. If I pull the board out and connect via USB it seems okay. I'm currently trying to just connect the board via jumper wires (just +5 and GND connected ATM) to see if I can track down the problem.

6W is way more than the maximum draw should be, and it seems to be something in the firmware that's causing it, since it works normally for a while, so I'm confused on what is going on. The VREG must be for 3.3V, so I suspect the issue will show up when I connect that to the board.

On Fri, Feb 3, 2023 at 9:07 PM Alain K <kinlough.alain@...> wrote:
Hi Brian,

I'm the creator of this board ans you need to use the MAXESP3 pinmap, and YES it can run OnStepX with the same pinmap.

Have a nice day.

Alain K.



--
Brian Webb
webbbn@...


--
Authorized OnStep Dealer and Creator of the CGE Pro Conversion Kit
https://graydigitalarts.com/



--
Brian Webb
webbbn@...


--
Authorized OnStep Dealer and Creator of the CGE Pro Conversion Kit
https://graydigitalarts.com/


George Cushing
 

MiniESP3 3v3 circuit:
image.png